r/learnpython • u/JackBullenskie • Apr 07 '15
Here's What I Recommend To ABSOLUTE Beginners
Rule No. 1: You are going to be extremely confused in the beginning. You are going to go through phases of excitement, and you will get ahead of yourself. At some point after learning the syntax you will be lost, and not know what the heck to do. LUCKILY I've been there, and I know the way out of that mess and Here it is. DO NOT GIVE UP, I promise you that it sinks in.
Rule No. 2: Focus. Do not begin learning Python, and then get excited and begin learning other languages. This is a mistake, I promise you. Take the time to focus on one language, and get good enough at it to build your own programs before moving on. If you do not do this, you are going to get confused and there is a chance you will just give up.
Rule No. 3: There is an efficient order to learning Python that I have found to be best. FIRST! Learn the Syntax. I recommend Codeacademy, for Python. There is a great community there as well if you get stuck. SECOND! Start attempting the small projects listed here. THIRD! Once you feel as if those projects are pointless, and you have lost interest in them, start exploring Python's libraries and modules, and begin to find an area you are interested in! FINALLY! Learn a new language that is closely related to your interests.
Rule No. 4: Always try to abide by this ratio. 70% of your time should be dedicated to coding. 30% dedicated to learning via tutorials, or what-have-you.
Good Luck!
[Edit 02/17/2016] The original playlist I provided as the first link in this post was removed, but I managed to find the exact same playlist by another user on YouTube and updated the link.
[Edit 06/2/2016] The playlist was taken down once more, however I have located another one and have updated the link above. I'll continue to update the post whenever someone messages me about it being broken if I can locate a new playlist.
[Edit 04/28/2017] The new playlist has been taken down again. To clarify, the playlist was a video tutorial series provided by Lynda.com. The author was Simon Allardice, and it was titled Objected Oriented Design. Here is the introduction video to it. I implore you to seek it out, it helped me and many others a lot.
[Edit 02/03/2018] I still get a lot of messages about the playlist being taken down. Please read the edits above. Thank you.
15
u/F3AR3DLEGEND panchr Apr 07 '15
To be honest, I've never liked the near-obsession with Codeacademy or Treehouse or any of those sites/tutorials. Sure, you might learn the syntax and basic concepts more easily. However, I know quite a lot of people who become dependent on tutorials - when thrust outside of the tutorial world, they often don't know how to proceed.
I personally learned Python by randomly doing things that interested me, even without knowing what I was doing most of the time. When something went wrong, I would research the problem and try to figure out what I did wrong. This worked a lot better for me compared to most people who follow a tutorial and try to learn.
Just my two cents.
11
u/JackBullenskie Apr 07 '15
I agree with your idea about Treehouse, but Codeacademy is free and teaches good practices. It gets you in the habit of writing clean code, before going out on your own. It's also great for those with short attention spans, because there is less reading and more doing.
2
2
u/tyrroi Apr 07 '15
I've been trying to learn for years, unfortunately I have Dyscalculia so I find it all to hard.
Are there any courses for people who can't do maths and deal with numbers?
4
u/JackBullenskie Apr 07 '15
That's a hard one. I'm not going to lie, you have to be able to think mathematically in order to succeed(in my opinion). You have to translate small tasks into mathematical functions that the computer can understand. It's really not so bad once it clicks in your mind. Going back and practising high school algebra from the ground up could also be a huge help. You won't be using algebra directly in your code, but it will help you get your mind in the right groove.
Have you tried HTML/CSS? If numbers aren't your thing but you like to code, I would look into front end web development.
67
u/lykwydchykyn Author Apr 07 '15
Somewhere I read that learning is a three-legged table:
leg 1 is head knowledge -- reading books, watching tutorials and lectures, taking classes, etc.
leg 2 is practice -- spending time coding, designing, doing.
leg 3 is immersion -- getting into the culture of coding, spending time with people who code talking about coding. Join subreddits, forums, chat rooms, mailing lists. Go to meetups, coding sprints, conventions, etc. So many subtle and oft-overlooked bits of information are picked up this way, and it keeps you in the mindset of coding.
I find a good balance of these things keeps me moving forward as a software developer (or any other discipline I want to learn). Neglect one of these legs and I get stagnant.
5
u/2n4x Apr 07 '15
This is excellent and definitely crosses over into so many different hobbies. Success requires, or at least is greatly boosted by a strong support of all 3.
3
5
u/elbiot Apr 07 '15
I'd like to see a bot we here can summon to give common advice. Like, posting formatting! would trigger an thoughtful reply on how to format code for Reddit. There could be another to the effect of "use print statements and the REPL to figure it out yourself", "requests and beautiful soup", "Don't use numpy like that" and "looks like a javascript beast, use Selenium". This post would make a good "I'm totally lost in general" response.
Maybe the posts could be defined in a git hub project, and the community could elaborate responses and add new ones as a need arises.
I'm working on other things but maybe someone else will do it.
7
u/kalgynirae Apr 07 '15
I like this idea. I don't think I'll have time to write the bot, but I will start putting together a collection of good responses.
Here's a Github repo (with nothing in it yet): https://github.com/kalgynirae/learnpython-common-responses
Everyone can help by giving me links to any particularly good existing replies that you can find! (And by opening issues and pull requests once the repo gets going.)
4
Apr 07 '15
A collection of good responses and especially good answer is here http://sopython.com/canon/
It is made by the most frequent question on http://stackoverflow.com
1
u/elbiot Apr 07 '15
Cool. Once there's a bot that can be invoked to explain reddit formatting, the content will just pour in.
2
u/F3AR3DLEGEND panchr Apr 07 '15
This is pretty interesting. I too don't have the time for the most part, but I could write a simple bot that uses the
howdoiprogram. Essentially, if someone posts a question, it would use thehowdoitool to search StackOverflow and respond with the answer.
4
u/UpBoatDownBoy Apr 07 '15
Someone posted this Large List of Programming Books as a comment in /r/learnprogramming. It may be useful if you decide to branch off into another language.
7
u/onionradish Apr 07 '15
I would add a suggestion:
While learning, an IDE like PyCharm (which is available for free), can be invaluable for detecting and highlighting typos and other simple mistakes before code is run, as well as helping learn libraries and syntax through auto-complete and tooltips. More importantly, PyCharm's constant PEP8 linter will help encourage best practices and conventions before bad habits are learned.
3
2
2
u/Gambizzle Apr 08 '15
The other thing is, what's an ABSOLUTE beginner? I mean... are we talking somebody who has never tried to code anything before, or are we talking somebody who has never used Python before?
When I started using Python I had already used C, Objective-C, PHP, VBA...etc. While these are all different, I think it is fair to say that if you have some knowledge of how high-level programming logic works then you can probably jump straight into examples/projects.
I'm personally more of a practical learner so found it best to basically plan out what I wanted to do (in a practical sense) then try to map it out using high-level coding logic. Very quickly, this taught me what works/doesn't work with Python. Then... when it started looking messy I asked for some advice on cleaning it up and re-coded the whole thing using the 'proper' techniques.
IMO it's very difficult to learn proper syntax/techniques without doing anything. The basics are always going to be:
Which libraries will help and how do I load them?
How do I call a function?
How do I define my own function and pass variables into it?
How do I create conditional if statements?
IMO once you can do all 4 of those, you can 'code.' A bit like playing the piano... some people have more aptitude than others. However, once you understand that functions do stuff and your goal is to make them as generic/reusable as possible (rather than hard coding stuff or making ad-hoc solutions) then Python's pretty strict on indentations/spacing... so you really can't stuff up too badly after that.
So:
Plan what you want to do (including what you want the functions to do.)
Build those functions making sure that they'll work in other apps (heck... do a web search and borrow them from another open source app if they exist - no use reinventing the wheel. This will make sure they are 100% generic because you'll have lifted them out of say... a SNES emulator and used them in I dunno... a bot that automates cheating some browser-based game with premium content that you're opposed to purchasing.)
If it gets messy then you'll learn the hard way. Elitists seem to feel that they've never been at this stage, that they plan everything 100% perfectly and that their code is never messy. I'm yet to meet anybody who doesn't make mistakes. Also, if you're not getting paid and you just want to work out how to code up a small app for your own purposes... do you really need to set it up so that it's good enough for a project of much larger proportions. If it's just for you and it works for the small ad-hoc purpose that you have then go for it IMO. When you're put in a position where it's a much bigger project and you're getting paid then different standards can be applied. Regardless... you'll get better over time with practice (not by listening to some stupid elitist know-all.)
2
2
u/Abioz_Aiz Oct 19 '21
Hello, u/JackBullenskie, the playlist was taken down again :') could you possibly update it again? asking for a friend
2
1
u/TotesMessenger Apr 10 '15
1
u/pythonnooby Github username Sep 03 '15
Glad my frustration is just a phase. Unfortunately its impossible to find people with my interests as far as python goes here in Mexico. Lucky gringos and people where English is the dominant language!
1
1
u/jjuliius Nov 14 '21
Hey! Are there any special considerations I should note if my goal with coding is to automate tasks and program softwares to analyse data for me (swing trading stocks)?
1
u/Used-Routine-4461 Jan 31 '22
Just released a beginners tutorial here that doesn't require you to even download python or any IDEs (software to write software); I'll continue to release more. Hope it's helpful:
https://www.youtube.com/watch?v=hr1qNY2iaOk&list=PLAQuzp_YhMoF7t0s22LrcyPC8aO0J1i3n&ab_channel=DataBytes
1
u/Master_Lucario Feb 13 '22
The link has been taken down... Perhaps good idea to upload on Dailymotion instead.
1
1
u/Calm-Membership-6632 Jul 04 '22
Just started a beginners YouTube python programming series:
https://www.youtube.com/watch?v=qxePaYcagfo&list=PLcSWBJCgvzRLHxRT16N-I_61vVCTc90MS
1
u/BranchAmazing4325 Oct 10 '23
looking to hire someone to do a project on python if anything is interested. time sensitive
1
u/BranchAmazing4325 Oct 10 '23
looking to hire someone to do a project on python if anything is interested. time sensitive
-6
Apr 07 '15
The best learning resource for absolutely beginner is http://learnpythonthehardway.org/book/ in my opinion.
I have not an hard opinion on your project list but they looks a little bit random.
17
u/CodeEmporer Apr 07 '15 edited Apr 07 '15
I'm learning Python from scratch as I am fed up with my current employment conditions as a 23 year old with an unrelated college degree. I'm half way through Learn Python the Hard Way and am confident in my abilities so far. I'm on track for 2 examples a day as I work full time.
Would you change any of this for my scenario? I appreciate it anyways, I saved your post, subscribed to the YouTube channel and will be following closely over the next few months. Any help is appreciated :)