- #1
shivajikobardan
- 674
- 54
- TL;DR Summary
- I want to write basic python code.
What is the best IDE out there? It should be easy to use. Not as easy as online editors though.
This is completely true...jim mcnamara said:There is no such thing as one "best" editor. It is like asking what is the best car. The answer is mostly subjective.
However I don't agree with this as don't think IDLE is easy to use.jim mcnamara said:Try what comes with Python to start with.
I am learning from course, the problem is that that course uses online compiler OR sth that it doesn't talk about. that's the whole issue tbhpbuk said:This is completely true...However I don't agree with this as don't think IDLE is easy to use.
How do you intend to learn Python? If you are following a course then this will focus on a particular IDE.
If you haven't found a course yet then my personal suggestion for the easiest way to get started on any Windows/Mac/Linux system is PyCharm: the company that supplies it also does a free course.
Python is an interpreter; that's what the Python executable does. You can run Python interactively and enter Python code and have it executed. In fact that is often a useful thing to do to help you understand how Python works.shivajikobardan said:have no idea which interpreter to use.
I have three problems with your suggestion:PeterDonis said:As for editors, any basic text editor that has syntax highlighting will do to start with.
pbuk said:It is easier to learn when you have an IDE prompting you ... I will post an example later
Sure it is:pbuk said:I have three problems with your suggestion:
- A basic text editor will not help you install Python and if you are using Windows this is not trivial:
I have been programming using basic text editors for more than three decades now, so I don't think your general claim here is true. Some programmers prefer using an IDE, some don't.pbuk said:
- A basic text editor may do to start with, but you will need to leave it for something more advanced at some stage.
A basic text editor is pretty much the simplest program out there; certainly it's simpler than any IDE.pbuk said:
- You also need to learn how to use the text editor
Yes, of course; you're going to have to do that no matter what tools you use to write your code.pbuk said:
- as well as learning Python and the fundamentals of programming.
It will take you from beginner to advanced beginner, perhaps. No tool by itself can take you to advanced. That only comes with experience.pbuk said:
- Again with each of @jedishrfu's suggestions you have a tool that will take you from beginner to advanced
It is for some people, perhaps. It isn't for everybody. I have tried various IDEs over the years and all they did was get in my way.pbuk said:
- It is easier to learn when you have an IDE prompting you
pbuk said:A basic text editor will not help you install Python and if you are using Windows this is not trivial:
I should note, btw, that the Python development team over the years has always shipped Windows installers for each new version of Python that comes out. AFAIK more Python core developers work on Windows than on either of the other two major desktop OSs (Mac and Linux). I do most of my development work on Linux but I routinely use a Python install like the ones I linked to on a Windows machine to test things on Windows.PeterDonis said:Sure it is
In my experience, most of the program usage consists of two steps: (1) write code, (2) press F5 to run code.pbuk said:However I don't agree with this as don't think IDLE is easy to use.
Hmmm, here are the trivial steps I have just taken to get to "Hello World" on a clean Windows 11 install:PeterDonis said:Sure it is:
I agree it would be nice if that were checked by default, since on Windows every new program you install gets its own directory and you need to add that to the PATH to have things work from the command line.pbuk said:Click the checkbox highlighted in the screen grab below - this is not checked by default and there is nothing to tell you that if you don't do this nothing will work.
These are things you have to do on Windows anyway to get around the braindead defaults of File Explorer.pbuk said:
- Realise that the file I have created is actually called 'hello.py.txt'.
- Select View->Show->File name extensions so File Explorer stops getting in the way. Select Show Hidden Items as well otherwise that will probably throw me later.
This also is something you have to do any time you install anything on Windows that needs to be added to the PATH (or indeed any time you install pretty much anything on Windows).pbuk said:Realise that you need to reboot for the path settings to take effect, so restart (log off might be enough but to be sure...)
At last something we can agree on!PeterDonis said:To me these are all reasons not to learn how to program on Windows.
The best interpreter for python basic programming is a matter of personal preference and can vary depending on the specific needs and goals of the user. Some popular options include IDLE, PyCharm, and Jupyter Notebook.
No, an IDE (Integrated Development Environment) is not necessary for python basic programming. An IDE can provide additional features and tools to enhance the coding experience, but many programmers prefer to use a simple text editor and the command line.
For beginners, IDLE is a great choice as it comes bundled with the standard python installation and has a user-friendly interface. PyCharm also has a beginner-friendly interface and offers helpful features such as code completion and debugging.
An interpreter is a program that executes code line by line, while an IDE is a software application that provides a comprehensive set of tools for coding, debugging, and managing projects. The main difference is that an IDE is a complete development environment, while an interpreter is just a component of the development process.
Yes, there are many free options for python basic programming interpreters and IDEs. Some popular ones include IDLE, PyCharm Community Edition, and Visual Studio Code. These free options can provide a great coding experience without the cost of a paid IDE.