- #36
- 27,927
- 19,415
I haven't.FactChecker said:Have you considered getting a single-board computer like Raspberry Pi?
I haven't.FactChecker said:Have you considered getting a single-board computer like Raspberry Pi?
Mark44 said:It's not necessary to be using an IDE with Python to get debugging capabilities. You can step through the code from the command line using the PDB debugger that comes with Python distributions. I wrote two Insights articles on how to use this tool.
https://www.physicsforums.com/insights/simple-python-debugging-pdb-part-1/
https://www.physicsforums.com/insights/simple-python-debugging-pdb-part-2/
I bought one back in April and it was a lot of fun, but ended up burning it out two months later. You can install python on windows just fine and use visual studio which is a great IDE.PeroK said:I haven't.
This is mostly, AFAIK, for Data Science/Analytics. @PeroK : Any specific goal/focus in learning Python ? Edit: There are other more " neutral ones" like Idle ( Part of the Python theme, I guess: Idle--Eric ). I was having some conflict for a while using versions 2,3 at the same time. When you make a request to the back end server , at least from Anaconda, the system got confused on which of the servers 2,3 would handle/serve the request.Borg said:Anaconda with Jupyter Notebooks.
I've no programming project in mind, but I wanted to be able to write some mathematical scripts to help when looking at various problems. I assumed Python would be quick and easy to get started with.WWGD said:This is mostly, AFAIK, for Data Science/Analytics. @PeroK : Any specific goal/focus in learning Python ? Edit: There are other more " neutral ones" like Idle ( Part of the Python theme, I guess: Idle--Eric ). I was having some conflict for a while using versions 2,3 at the same time. When you make a request to the back end server , at least from Anaconda, the system got confused on which of the servers 2,3 would handle/serve the request.
In that case, download python from the Windows store and an editor (Notepad++ is nice) and start coding. You will almost certainly want numpy and scipy, but their webpages have install instructions.PeroK said:I've no programming project in mind, but I wanted to be able to write some mathematical scripts to help when looking at various problems. I assumed Python would be quick and easy to get started with.
pbuk said:Python package management in Windows is a mess, and it is far quicker to let the Anaconda or Intellij installer set this up so it works than debug a self-installation of Python and pip or conda.
That's great, I'm glad it works for you. Have you ever tried to fix it for someone else, remotely, with an unknown environment state?Locrian said:I disagree about package management on Windows being a mess. I use git bash and python venv on Windows and it works very smoothly. I totally get a preference for other tools, but one can work very efficiently without them.
pbuk said:That's great, I'm glad it works for you. Have you ever tried to fix it for someone else, remotely, with an unknown environment state?
The problem is that in Windows there is no such thing as "yourenvfolder".Locrian said:As long as Python and git bash are installed, this would just be typing three lines into the bash terminal.
There's nothing special about Python package management on Windows. Venv even uses the same syntax as Linux (the only difference being the activation script is stored in youenvfolder/Scripts instead of yourenvfolder/bin). If memory serves me, conda environment management uses the same syntax in git bash and linux as well, though I haven't needed conda for a couple of years.
pbuk said:The problem is that in Windows there is no such thing as "yourenvfolder".
python -m venv envs/physicsforum
source envs/physicsforum/Scripts/activate
I don't doubt that your solution works for you, however it is solving a different problem to the one we are discussing here, namely:Locrian said:Sure there is!...
How is Spyder different from Jupyter notebooks?Dr Transport said:Spyder coupled with Anacondais a good IDE. I use it all the time and it has served me well. Works on both Windows and Linux.
WWGD said:How is Spyder different from Jupyter notebooks?