What is the best way to learn python? Especially for someone who hasn't written a single line of code. Can anyone pass along some helpful websites or recommend any books? I was looking into pic related
Read a book that has beginner or fundamentals in the title. then another one. then another one. if youre sick of it go watch youtube video series for beginner. then look for simple projects. code every day and youll get better eventually.
I would reccomend that you install sublime-text
From within sublime-text theres a add-on you can install called buildview
From here you can just start coding
Inside sublime-text make a file called test.py and inside it write
print "hello world"
Hit ctrl-b and a new tab should open named Build output that contains the text 'hello world'
Start practicing what you think is simple and fun and youll learn quickly
Learn boolean expressiona like 'if()' and while-loops
Think python by Allen Downey. It easily the best book in learning python. Go to the MIT opencoursework page an look for computer science or electrical engineering. They have a phyton tutorial using think python.
Sorry you first need the package manager
Follow these instructions, it shoulnt take more than a minute
Once you're done hit ctrl-shift-p and type 'install' and there should be an option to install a package
Once you've clicked that type 'buildview' and install it
Ive never used atom so I dont know, the reason this works in sublime-text is becouse sublime runs console commands if you hit ctrl-b so you can create any custom shell command and run it through sublime
I used google university's python course only a month ago. I knew 0 python and 0 other languages unless you count shell scripting. Now I just finished my first production tool.
Learn Python The Hard Way I tried but I don't feel it was a good resource. Its also Python 2 only.
if you want to LEARN python you're going to have to program a shit ton in python for a minimum of 6 months but reccommended 9 months. You're going to have to look up guides on stack overflow and on youtube. You'll then need to pick a compiled language after you outgrow this ( assumming you made a major project with it and not just followed tuts). See you on the other side cowboy...
I was planning to learn it for a while until I understand a lot of concepts, especially lower level ones, then move onto C++ and Java.
I've heard that learning C is generally a good way to learn the foundation of all modern languages.