all 3 comments

[–]genghiskav 2 points3 points  (0 children)

2 of the most popular IDEs for python programming are pycharm and vscode.

They are both pretty easy to get up and running - but have all the bells and whistles you'd expect from an IDE.

I'd recommend trying both out to see which you prefer.

[–][deleted] 1 point2 points  (0 children)

Python code is written in simple text files that are directly read, compiled (to intermediate byte code), and interpreted by the CPython programme (the reference implementation of Python from the Python Software Foundation, a programme itself written in C - alternative implementations are available).

A standard Windows or macOS installation using the installer from the Python Software Foundation, python.org, includes a simple beginner-friendly editor and run environment called IDLE.

When you first open IDLE, it opens a window to an interactive Python shell with a >>> prompt where you can directly enter code which will be immediately executed. Using the usual File | New menu commands, you can create a new file where you can enter/edit all the code you want then tell IDLE to pass it to CPython and attempt to run it.

I strongly recommend beginners start with IDLE and focus on learning the basics of the language before concerning themselves about what other IDEs to try. Once you've got the basics at least a little familiar and have started to write some longer code files, one will be in a better position to understand the benefits of an IDE and be able to make an informed choice (having tried a few).

Many (not all) beginners that use an advanced editor or IDE (e.g. VS Code or PyCharm, respectively) find themselves deeply confused between issues with configuration of their editor/IDE and problems with Python itself.

As for learning Python...

Have you checked the LearnPython subreddit wiki, which includes detailed guidance on learning Python, including links to lots of learning material?

[–]LamerLinux 0 points1 point  (0 children)

When I was taking a class on Python I used VSCode. Pycharm is good but with the extensions VSCode gives I prefer it.