0

Best source to study Python?

I have 2 questions about python. 1- What's the best source to study python for beginners? which is based on a lot of examples and exercises . 2- I want anyone who finished python to suggest a plan for learning Python.

23rd Nov 2016, 2:48 AM
Sherif Radwan
Sherif Radwan - avatar
4 Respuestas
+ 1
Codecademy, if it is like the last time I used it for Python, is only Python 2, so they are a tad outdated. So really don't use it : Python 3 *is* the preferred language now (especially by *all* the developers). As Guido van Rossum said (Python's creator) : there are only gonna be occasional bug fixes (if he messes up on that branch). I don't really know for a source like that, but doing scripts to solve problems is actually very useful. So, for a plan : - learn basic types and how to use them. - learn to search the documentation : there is nothing wrong with not knowing what is in the standard library (https://docs.python.org/3/library/index.html#library-index to see its sheer size). Everyone does it when they need something in particular. - learn how to use functions, rewrite some of your previous scripts to use functions. - learn to use classes. Same advice : rewrite what you can (especially massive functions that can't be split easily) with them (see the change between my version of Game of Life in the Code Playground (https://code.sololearn.com/c8Sdv02L2gQA/) and the original one (https://code.sololearn.com/c3ZG1lFhdN3z/) ; I have to admit it was kind of overkill). - watch a LOT of Python videos, especially PyCon ones. I quite like Raymond Hettinger, and David Beazly : I learned many things just by watching their conferences. Hope that helped
24th Nov 2016, 6:15 PM
Amaras A
Amaras A - avatar
0
thx .. ur comments helped me .. I will follow ur advice. I want to ask if I can use a book as a source or just depend on code academy .. I am reading (introduction to programming using Python) by : Y.Daniel Liang
24th Nov 2016, 6:51 PM
Sherif Radwan
Sherif Radwan - avatar