Python Daily
2.57K subscribers
1.48K photos
53 videos
2 files
38.9K links
Daily Python News
Question, Tips and Tricks, Best Practices on Python Programming Language
Find more reddit channels over at @r_channels
Download Telegram
Jupyter notebook is not working through anaconda prompt.

shows this when executing the command on a virtual env:

​

​

(ox) C:\\Users\\dell>jupyter-notebook

Unable to create process using 'C:\\Users\\dell\\Anaconda3\\envs\\ox\\python.exe C:\\Users\\dell\\Anaconda3\\envs\\ox\\Scripts\\[jupyter-notebook-script.py](https://jupyter-notebook-script.py) '

/r/IPython
https://redd.it/iqp55l
Is it possible to make PyCharm cloud-based? Like google docs where it saves on all PC's you have and you can open it on any PC and it'll be updated.

I probably phrased that really poorly so I'm sorry about that.

Anyway I have a school laptop and an at home computer and so I was wondering if it would be possible to make it where whenever I make/edit a file in PyCharm it could save the file in the other computer's PyCharm or have it ready for me to download or something. Also for all the changes I make to be automatically updated.

I hope this made sense I'm a newbie to PyCharm.

/r/Python
https://redd.it/ir3zha
Problem while using matplot lib in jupyter notebook. It does not generate any plot. Any solutions?

/r/JupyterNotebooks
https://redd.it/iqv3s2
Can I make a Desktop app using ky existing Django webapp?

Is it possible to make an electronjs app using existing Django webapp?

Btw electron js is not compulsory. I just need a performant Desktop App made out of my existing Django webapp. It must be as good as desktop apps made with electron Js.

Any suggestions?

/r/django
https://redd.it/ir5onz
[D] Tip of my tongue - Joke paper about computing SVD from an image of a matrix

I'm trying to find this paper, and my google-fu is failing.

​

What I remember about the paper was that they train a neural network to learn to compute the SVD of a matrix based on a colored image of that matrix. They joke about why would you use an exact algorithm when you can approximately do it with learning, or something like that. Also one of the authors is a dog.

/r/MachineLearning
https://redd.it/iqxgcv
Sunday megathread: What's everyone working on this week?

Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your current project or your pet project; whatever you want to share.

/r/Python
https://redd.it/irnq16
I'm excited to share my first published book, Introduction to Python Programming for Business and Social Science Applications -- specifically geared towards students not specifically in computer science

/r/Python
https://redd.it/irh8l0
I made a malware analysis platform

/r/flask
https://redd.it/irpjmx
Rpy2 cannot find R.dll

I am trying to import the rpy2 library into a Jupyter Notebook but I cannot get past this error.

The PATH 'C:\\Program Files\\R\\R-4.0.2\\bin\\x64' has been added

This is the only version of R installed on my computer. I have completely uninstalled and reinstalled r/Rstudio/Anaconda with no luck.

Here is the full error along with the code that precedes it:

from rpy2.robjects import r, pandas2ri

`OSError: cannot load library 'C:\Program Files\R\R-4.0.2\bin\x64\R.dll': error 0x7e`

/r/JupyterNotebooks
https://redd.it/irkdpz
Can someone explain this on session based authentication

I understand how it work generally. The first time a user signs up, the server creates a session for that user and stores some user data in it, then it sends back (in a cookie or else) the session id. Then on subsequent request it reads the cookie and finds the claimed user. Say I set the cookie to expire in 15 minutes for security measures, how can we refresh the session before it ends so that we don't log the user out every 15 minutes (it would be annoying) . Ideally I would like us to keep the user logged in until he choose to logout.

P.S the question is also applicable to jwt auth, although the refresh token lasts much longer but eventually when it dies how do they "refresh" the refresh token without logging the use out?

/r/django
https://redd.it/iruh7r
What do you guys call your main app (blank path) in your django sites?

Just kinda curious what everyone calls their main django app that the site root goes to.

/r/django
https://redd.it/irjtf1
Help for upcoming Django challenge for a hiring process

I finally got an interview for a company I really like working on Django. I worked with it for about 2 or 3 years in a small company and then moved to other technology about 2 years ago.

The company is going to send a code challenge I need to solve in a specific amount of time, so is there something I should practice that's a common thing to do in Django? Some advice for the challenge?

/r/django
https://redd.it/is6b5z
[D] Simple Questions Thread September 13, 2020

Please post your questions here instead of creating a new thread. Encourage others who create new posts for questions to post here instead!

Thread will stay alive until next one so keep posting after the date in the title.

Thanks to everyone for answering questions in the previous thread!

/r/MachineLearning
https://redd.it/is6qzn