1.

Solve : fresher at python programming language?

Answer»

am NEW in the programming world
I have passion for the stuff
I want to learn python programming LANGUAGE
please how do I start and what are the basic informations I needPython is a great language to learn. Compared to other programming languages, it's easy to read and understand what the program is doing. And it's being used in almost every industry, so you're developing a marketable job skill.

The first thing to understand is the difference between Python 3 and Python 2. Python 3 is the newest version of the language, and is not compatible with Python 2. However, Python 2 is still being used extensively because of the programs that were already written in it. For this reason, Python 2 is still supported, but Python 3 is the direction the language is going, so make sure any books and tutorials you read are for Python 3.

You can't go wrong starting with the official Python 3 tutorial. The official Python documentation is exceptionally good. Definitely start here.

https://docs.python.org/3/tutorial/index.html

After that, I strongly recommend "Learn Python the hard way." The title is a joke by the author, which he explains in the BOOK -- it's not actually "the hard way" to learn, but he has his own ideas about how the language should be learned. Really great book, and it is up to date with Python 3.

https://learnpythonthehardway.org/

After that, there are LOTS of free e-books you can read, and courses you can take. Here are some indexes for you to check out:

https://github.com/EbookFoundation/free-programming-books/blob/master/free-programming-books.md#python

https://github.com/EbookFoundation/free-programming-books/blob/master/free-courses-en.md#python

https://pythonbooks.revolunet.com/

http://www.oreilly.com/programming/free/files/a-whirlwind-tour-of-python.epub

I hope this information helps.



Here is item of interest, you can write code that works in either.

Cheat Sheet: WRITING Python 2-3 compatible code
Quote

print

# Python 2 only:
print 'Hello'

# Python 2 and 3:
print('Hello')

Integer division (rounding down):

# Python 2 only:
assert 2 / 3 == 0

# Python 2 and 3:
assert 2 // 3 == 0

Agree, and it doesn't need to be a whole project.

If you want to learn Python, identify something you do on your computer which can be automated. Start with something simple.

You don't even need to open a text editor, you can just open the REPL and start coding.

In general, if you find yourself writing batch files or shell scripts, you can do it in Python instead. Python has many tools to make your life easier.


Discussion

No Comment Found