The title basically says it all. I want to learn python (not going to become a programmer, just a thing for myself) but I am totally lost and dont know what ot start with
"Learning Python the Hard Way" [url]http://learnpythonthehardway.org/[/url] is frequently recommended.
[QUOTE=ROBO_DONUT;32670724]"Learning Python the Hard Way" [url]http://learnpythonthehardway.org/[/url] is frequently recommended.[/QUOTE]
Seems like good. Gonan try it out.
[QUOTE=MuffinZerg;32670639]The title basically says it all. I want to learn python (not going to become a programmer, just a thing for myself) but I am totally lost and dont know what ot start with[/QUOTE]
The best way is to fiddle around with Python a bit and read the Python documentation. Think of a simple program and how you can implement it. Any resources people have listed here are pretty good. Learning the entire language will take forever, so don't try and learn every function, module.
Just try to learn the syntax and how Python functions as a language, how it handles certain things, once you get a grip on that, you can theoretically code ANYTHING (This is called the Turing Point).
Once you have reached the Turing point, you can code anything that can possibly be coded (Alan Turing was a scientist who defined what programs can do before computers were even invented. His rules still stand to this day.)
[url]http://www.tutorialspoint.com/python/python_basic_syntax.htm[/url]
Basic syntax rules. Very useful! Includes all the words you cannot use for variable names, etc. Teaches you about indenting, etc.
[url]http://docs.python.org/tutorial/index.html[/url]
The official Python tutorial. It's pretty wordy but it won't get any better than this. This is the OFFICIAL tutorial from the developers themself. It seems to be worded pretty nicely so take your time.
The best thing you can do for yourself is load up the python interpreter
(C:\Program Files (x86)\Python27) and just look for python
(Only x86 if using Vista/WX7. Don't use if running XP or using 64-bit Python)
I recommend starting with Python 2.7, the support for Python 2.7 is much bigger (Modules, etc) and 3.0 is backwards compatible. You'll have a much better time learning 2.7 and adapting to 3.0 than learning 3.0 itself.
Good luck! Python is really simple!
To get you started, try printing hello world. You'll find it's fairly easy!
I have had some experience with lua so I think it wont be hard for me to get into that one :3
[QUOTE=MuffinZerg;32673931]I have had some experience with lua so I think it wont be hard for me to get into that one :3[/QUOTE]
Alright. I have no experience with lua but the benefit to learning Python is that it's a perfect beginner language in that it's very simple. It's also a very powerful language but unfortunately, is also quite slow. So don't expect to be able to code amazing games in Python, but you could for example, write a game in C++ with a Python Wrapper so you could have a job coding Python for a game that runs largely on C++.
It's also very useful to segway into more complicated languages.
[url]http://greenteapress.com/thinkpython/thinkpython.pdf[/url]
I found a great book for you in free .PDF format. My "Intro to Computer Systems" class (Basic programming class) is currently using how to think like a computer scientist. Think Python is a substantially revised version, I believe.
That book is a great resource.
Sorry, you need to Log In to post a reply to this thread.