What's the best way to go about learning Python?
I have no previous programming experience at all. I want to get into it though. I've decided I will start with Python and learn the basics etc. and then move on to the more complex languages such as Java and C++. Could you guys point me to some tutorials or books for someone with no previous programming experience so I can learn? Also, what programs do I need to write programs?
I second Oluseyi's recommendation, and I'll also point you to the list of Python resources in our "Noteworthy threads, articles and other resources" sticky thread.
You can start off using IDLE to write your Python programs which should come with any of the Python distributions from the Python website, or you could try ActiveState's ActivePython, which includes a Python editor called Pythonwin.
You can start off using IDLE to write your Python programs which should come with any of the Python distributions from the Python website, or you could try ActiveState's ActivePython, which includes a Python editor called Pythonwin.
You will need to download Python from here if you are on Windows.
If you are on Linux or Macosx they usually already have it installed by default. Just open up a terminal window and type python to verify.
If you are on Linux or Macosx they usually already have it installed by default. Just open up a terminal window and type python to verify.
Here is another good one aimed at people with no previous programming experience...
I think it's newer so it didn't make it into that resource thread.
I did have previous experience with other languages, but I learned a lot just by reading through the official documentation with the interactive interpreter open. It's nice to be able to enter an expression and see the results immediately. I'd make a prediction of the result, then hit enter and see if I was right. Then vary the arguments until I was sure I understood. I'm still learning the various library modules in this fashion.
I think it's newer so it didn't make it into that resource thread.
I did have previous experience with other languages, but I learned a lot just by reading through the official documentation with the interactive interpreter open. It's nice to be able to enter an expression and see the results immediately. I'd make a prediction of the result, then hit enter and see if I was right. Then vary the arguments until I was sure I understood. I'm still learning the various library modules in this fashion.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement