Learning

Does anyone have any good recommendations for starting out with python? Learning with games, books, ect.?

Other urls found in this thread:

github.com/CodementorIO/Python-Learning-Resources
youtube.com/watch?v=tKTZoB2Vjuk
twitter.com/SFWRedditGifs

Learn C instead

What are the benefits of C?

post some learning materials to learn c with. I prefer more practical exercises.

You learn a bit more about how things work behind the abstractions you find in higher level languages, and you can write faster, more efficient code than in other languages. It is more time consuming to learn and write in, but if you're just doing it as a hobby without deadlines and so on it's great fun to work with, I use C# at work and C at home.

You actually learn how your computer works.

python.swaroopch.com

What are some beginners projects I can work on?
I work best when I am working towards something somewhat useful.

C still abstracts a lot of that stuff away, if you just learn C you aren't going to know how things like registers, the stack, program structure, etc work. if you want to learn how your computer works you should learn the assembly language for your architecture.

>if you're just doing it as a hobby without deadlines and so on it's great fun to work with
it might be fun to tinker with, but if you're new to programming your feedback loop should involve finishing something interesting in a reasonable amount of time. a higher level language makes that doable.

focus on learning as few things at a time as possible, OP. you're going to be learning about control flow and boolean algebra and all this shit (if you don't know it already). don't add to that all of the memory management and stuff that C demands. and no, the order in which you learn languages doesn't seem to matter. or at least there's no evidence that suggests it matters.

as for resources, there are a handful of github repositories that are just a list of resources. go look them up (like this one github.com/CodementorIO/Python-Learning-Resources ) and just start chugging through the list. if you get to a section in a tutorial, book, or whatever that doesn't make sense to you, try cracking open one of the other books. there's no shortage of resources for you to read and practice with, so there's no need to be picky. the goal is to find something that grants you a foothold so you can start making upward progress on your own, and so that you can start learning by doing.

the overwhelming majority of day-to-day knowledge that programmers have is acquired by experience. any book, tutorial, etc... is just a way to get through the cold start problem. once you have enough to make a bit of progress on your own, you'll be building increasingly complex things and looking up specific references and documentation to accomplish what you need.

for instance, you're probably not going to read a book about dealing with JSON data in python, because by the time you're doing anything with JSON or web-facing APIs you'll almost certainly be far enough along that you'll be able to google specific questions about parsing strings of JSON and handling them appropriately.

Check out the blog pythonprogramming.net
The book/blog combo The Hitchhiker's Guide To Python is pretty good too.

I used this : youtube.com/watch?v=tKTZoB2Vjuk

>inb4 google botnet etc

implement battleship.py

When people say C. Do they mean C++ or C#? is it a catch all term for the C family? What gives?

They mean C.
Every other language is garbage for them.

C++ is a different but closely related language, C# is only related to C in name.

Oh thanks guys. Obviously I know nothing about programming, I was just poking my head into threads to try to learn.

Appreciate the help.

>not C++

i have found the neet

Python Crash Course is a good book to start

You learn how to make vulnerable software to buffer overflows and heap corruption.
Honestly it's important to know but for different scenarios.

If you're really just starting, go for the official tutorials+documentation (links on homepage).
If you already know some basics, use your favourite search engine to find a tutorial or some ideas/exercises related to your area of interest (data science, games,...). There are a lot, pick one and try it, if it keeps being interesting to you stay with it, the best recommendation is garbage if it is boring to you.
My only advice is to familiarize yourself with data structures and algorithms, go on wiki, pick out a sorting algorithm and implement it, repeat. It's a nice way to practice and you'll benefit from it.

Also all of what said.

Learn go