4 Answers
+ 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
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