r/learnpython • u/[deleted] • Oct 03 '19
i decided to start learning python and i've been watching the same 5 videos over and over again to try and remember the lessons, am i mentally challenged or is that how most people start.
help
edit: thanks to every one who made a helpful response, it may not seem like it but i read every commeny and i greatly appreciate it.
67
Oct 03 '19
That's really purposeless. You learn Python by writing code, not by watching videos.
25
Oct 03 '19
what i was trying to say is i watch a video, try to apply what i learned then repeat
10
u/somewhat_pragmatic Oct 03 '19
Right, but is your purpose to simply "do whats in the video" or are you trying to accomplish a task outside of the curriculum?
If you have a problem you're trying to solve, and simply using that video as the means to learn part of what you need to solve it, you might be more successful.
Come up with a fairly easy problem to solve on your own, like sorting the titles of all your MP3 files alphabetically (then perhaps by length of title, then perhaps by number of time the letter "e" appears in the title). Break the problem down into its smallest pieces. Find the python you need to do each piece. Work it step by step.
4
u/SanguineSlump Oct 04 '19
I highly recommend https://www.practicepython.org
Will teach you basics and progresss exercises
3
Oct 03 '19
I would pause on a topic then do my own version of whatever was taught and try to do something different which would involve me googling additional things. In googling I often learn more about the topic than the original video.
I find it's slower but I have a deeper understanding compared to just watching the entire video first.
Basic example is learning about lists and then wondering how I can join two lists together and then discovering the zip function etc etc. Just little questions that lead to further areas.
3
u/753UDKM Oct 04 '19
Try doing https://automatetheboringstuff.com/ instead if you are just beginning
2
u/xskizzx Oct 03 '19
Not sure if this is a popular opinion, but I love the “Smarter Way to Learn” series. Really helped me with JavaScript and I’ll be moving into python once I’m complete with the book and Free code camp. You learn a concept and code it a few times with different variables. Really helped me understand and memorize the syntax. I don’t have CS background so I opted to learn it this way, but ultimately will start just creating stuff full time after to solidify my learning.
0
Oct 03 '19
[deleted]
3
u/ForkLiftBoi Oct 03 '19
Not OP, but I always try to make it work one way or another. Maybe it's copy and paste but should be a for loop, but at least it works. Then refactoring is where I find what I want to learn often times I post snippets and say 'this is what I'm trying to do, help.' and learn from there and actual emotional investment.
287
u/maximum_powerblast Oct 03 '19
It's normal. I've been programming for more than 10 years and most of my time is spent wondering what the hell I'm doing. It eventually makes sense, just stick to it.
6
Oct 04 '19
I wrote a bunch of stuff today and was like "how the hell did any of this even work..."
1
u/Dr_Smeegee Oct 05 '19
Don't worry, you'll refactor it in your dreams. The perfect solution will manifest over breakfast. You will forget all of this when you hit your crotch on a traffic bollard while thinking extra hard about
dataclasseswalking in to work.That's when you know you've arrived.
0
Oct 04 '19
[deleted]
49
6
2
1
u/pheeper Oct 04 '19
This exactly! I started about five years ago but spend about an hour a day at work trying to write scripts to automate any task I can find. Just keep at it and one day you'll look back and be amazed about how much you've learned.
0
Oct 04 '19
[deleted]
0
Oct 04 '19
[deleted]
7
Oct 04 '19
Can u rec9mmend me some books to start with data analysis? Im currently doing a proyect of data analysis and i like it so i wanna focus on there(im a begginner btw, not working)
7
u/The-Dood Oct 04 '19
I know some people hate it, but Dataquest.io actually served as a nice start for me, because you get into working with data pretty fast. I never really got any further than the first couple of courses there, but it seemed like a nice curriculum to start out with.
34
u/Icytentacles Oct 03 '19
You're probably boring yourself by rewatching the same videos. At least watch a different video about the same topic. But honestly I think if you move on, you'll find the old stuff suddenly "clicks".
3
u/IDontWantToArgueOK Oct 04 '19
+1
Hearing the same thing explained in a different way absolutely will help you grasp it. It just makes your understanding a bit fuller (until you're presented conflicting information).
56
u/theAnalyst6 Oct 03 '19
The only way to solidify your knowledge is to pick a project and start coding. It's only by following through with a project to completion do you really learn anything.
3
u/JayDude132 Oct 04 '19
I think this is very true. Personally my problem is i got into programming in my spare time because i love the idea of building something that will be meaningful and help simplify my life. Telling a computer to do something and process it so quickly is really cool. The problem is now i dont know what that is and cant think of a project to apply my knowledge. I keep racking my brain but cant think of a project, especially since im stuck using only pythons built in modules since my programming is done in free time at work and they have shit locked down.
7
u/theAnalyst6 Oct 04 '19
Have you looked at the book "automate the boring stuff"? There are plenty of ideas in there to have a look at. You can read it for free here -> https://automatetheboringstuff.com/
2
u/JayDude132 Oct 04 '19
Im actually working on it now, about to get to the chapters with some projects.
3
u/LUCKYHUSBAND0311 Oct 04 '19
go connect to a public satellite and have it send a gps coordinate every 30 seconds in a list.
2
u/CompSciSelfLearning Oct 04 '19
Your bar for worthy project is too high. You need to work on something (anything) to let your mind develop inspiration for a new thing. So pick a marginally interesting, small, useless project and work on it.
2
u/JayDude132 Oct 04 '19
Good call. Actually just in the last few hours today after some other comments here, i decided to try creating an interface with tkinter that will allow me to select a csv file and create a report based on the input file. I already have the main program written that break down the csv and give me the results i need, so now i just need to combine the two to have an actual working program with an interface. I gotta say, its pretty awesome actually seeing it come together now.
I will say though, tkinter has been a little bit of a struggle understanding. It seems like every tutorial i look at has people doing stuff a different way. For instance, some people make the window its own class, others do not, and im still working to try and understand classes better. Overall though great experience.
Edit: also i think i dont quite understand modules all that well. I thought just doing import tkinter would give me everything, but i would get errors that a particular module didnt exist until i put the import statements in as ‘from tkinter import xxxxx’
2
u/drrags Oct 04 '19
As far as the tkinter goes, I skipped that whole mess and use PySimpleGUI. I can make any interface I need now in 10 minutes. Here
1
1
1
u/SlightPeak Oct 04 '19
Why do you limit yourself to work? Try it at home and install some libraries.
2
u/JayDude132 Oct 04 '19
I do some work every now and again at home (mainly reading through python crash course) but just never seem to have enough time in the day to sit down and dedicate enough time to it having to keep track if a toddler haha. I guess i just need to make time at night or something and really dedicate a time to seriously practice and learn outside of work.
10
Oct 03 '19
Totally normal. Now level up by opening a terminal or note pad and start testing things out yourself.
Do the things your video is doing for some muscle memory, familiarity, and troubleshooting the issues you will inevitably encounter.
Make some test projects that do simple things, even if they arent useful to you.
Then find something that you can do in Python that is more complex, but more useful to you.
Remember you dont need to memorize every line you see. Just get familiar right now and later on when you need to generate a random number or something, you might remember a video that did what you need or atleast you will be more prepared to find it in a google search
5
u/victorandrehc Oct 04 '19
It's fairly common to even veteran programmers to use Google or stackoverflow to review concepts in a certain programming language, so it is ok to you to watch the same video multiple times. Nevertheless I think the best way to learn a programming code is using it.
4
u/permalip Oct 03 '19
If you don't remember lessons, you need to start writing them down on paper and solving some python exercises. When you write things down on paper, you remember them better (proved), and exercises helps you think about concepts in your own way, which also helps your understanding.
4
Oct 03 '19
I don't like videos that much. I'm using Hackerrank to learn Python, and I'm actually developing an understanding of it.
-4
u/gopherdyne Oct 04 '19
$250 a month?! Must be nice. :)
7
Oct 04 '19
$250 a month?? Hackerrank is free.
4
u/Sw429 Oct 04 '19
Yeah, hackerrank is free and has a good platform with lots of problems to solve.
The one downside is that they have basically stopped having contests, which is the only reason I would use the site after I did a ton of the problems there.
4
u/AndyDap Oct 04 '19
Not to do with python but I was learning a language called 'Autoit'... sort of scripting/vba thing for Windows. Key thing is that it can direct mouse interactions with web pages, making screen interaction quite easy. Very easy to learn but I really knew nothing about it. The thing is, I got it to do some very basic data scraping for me, into a spread sheet. Then I got the program to open a file and put the data into a text version, separated by commas, then close the file. I'd made a .csv file! Then I got it to look for certain colours for me so I learnt about naming conventions for different screen colours. Then I wanted to enter search items interactively so I learnt how to do forms ... it just grew and grew.
So, my advice, is to try to start writing a program that can expand as your understanding increases. Don't try to achieve everything at once, just get bits of it working at a time. Do simple things and when you see a block of code that does something more than once, turn it into a function that you can call on repeatedly. I still do procedural stuff and haven't really grasped the object oriented bit yet.
I also find that when I'm just copying someone else's stuff on youtube it doesn't stick. Use googled examples to apply to your own project.
I also find I like to broadly draw my program outline first with pen and paper; do this, then this, then that , with arrows and stuff showing where things are going. Seems to help me but I'm a pretty visual person, I like to see drafts of broad concepts before I get into the detail. I heard someone say once 'the sooner you get to the keyboard, the longer you'll stay there'.
Stick with it, you'll be amazed what you can do.
3
u/SleepwalkingStoic Oct 04 '19
Yeah, to be honest the most difficult part for me was definitely at the beginning, but it gets easier with consistency like most things. The book that really helped me and that I would recommend is, “A Python Crash Course” by Eric Matthes. It’s a great book if you like hands on learning.
3
2
u/b4xt3r Oct 04 '19
Yes, this is normal. This is how I started with scripting back in the day, only there was no YouTube, or Internet in the sense it is today as it relates to the pubic.. no, there was just me, with Ogg guarding the cave door while I read my clay tablets by firelight time and time again so I could learn how vi worked in the hopes that one day I would one day write a "Hello World" script for the Bourne shell.
In all seriousness going the video route isn't a bad option. It goes you a place you can go back to and reference (or rewatch). When I jumped from Perl to Python I did so using OpenCourseware from MIT. Now with the myriad of YouTube training options I think it's a good place to learn. Back when I learned Perl I dog-eared and generally abused the Camel Book to such a degree it fell apart at the spine. It wasn't abnormal to go through two of them per revision of that book, or wasn't abnormal for me at least.
2
u/LE2guy Oct 04 '19
Think of a project and try building it with what you learn. You would forget tutorials very quickly
2
u/cyvaquero Oct 04 '19
If you have no programming experience spend some time focusing on learning fundamental programming concepts first.
Videos are great but you need to do some reading to gain an understanding - understanding is better than just learning how to do different things piecemeal. It's like the difference between knowing how to use the internet and understanding how the internet works.
One thing I would stress is make sure you read the early bits of the Python tutorial and then go to the Python docs to deep dive.
You'll know you are getting there when you get introduced to new material and you find yourself going 'oh yeah, that makes sense.'
2
1
u/tsailfc Oct 03 '19
Best to think of a personal project that interests you. And as you learn Python, think about whether you can apply the learnings from the lesson to your personal project. If you don't have any ideas, maybe look at how you can use Python to increase productivity at work.
1
u/johnnyswgger3 Oct 03 '19
I would recommend getting transcript of the video to read watch and try and stop after each function and do some practice activities that u can find online
1
u/raffffal Oct 03 '19
If you haven't coded before, learn and understand programing logic first. You will tackle any language. Good luck!
1
u/blabbities Redux FTW Oct 04 '19
i think we all start at differrent levels. For some things come easy and you dont need to watch it 5 times on slow. For others you gotta do it more than that.
I have a similar problem with new subjects.
1
u/gootecks Oct 04 '19
it might be both!! KIDDING, you're not alone, there's a lot to learn and I'm in the same boat >_<
1
u/Meadow-fresh Oct 04 '19
I started learning about one year ago. Some days are easier than others and you just get it. I was lucky that I needed to use at work so I just learnt what I needed for the task at hand.
I found rewriting other people's code then changing bits to see what happened really helped me. Also I recently found the site 'codewars'. It gives you a simple challenge (find the middle letter in a string). Once you complete the challenge you can see how other people solved it. This has been great for practicing with out coming up with my own ideas and I get to learn other techniques from the other users.
1
1
u/DaKidReturns Oct 04 '19
It is perfectly normal. Make sure you take handwritten notes from those videos. Your 75% study time should be devoted to writing programmes and the rest of the time you should learn some new topic. I am sure within a day or two you will be done with basics and then focus on different types to data structures python has to offer. I am a learner just like you and i am sure you will come off great. Good luck
1
u/Piplup87 Oct 04 '19
Super normal, repetition and practice is all it is. Make cheat sheets, bookmark common websites, search problems on stack overflow. So long as you arent just watching, you need to be doing it too.
There has never been a point where I have sat down and types code without going back and reminding myself of 17 different things as I go.
Keep at it and keep practicing.
1
Oct 04 '19
Try making a really obnoxious program. Like one that asks for your name and then tell you that you suck in different ways lol. It was how I learned to use switches with C. Another fun thing was making one of those magic number games into a console program. I used to love verbally playing those games (and decoding how they guess my number when they ask me). I made this magic number game with Java, where it generated random numbers and made me people scratch their heads at how it was guessing their answers.
1
u/Youseikun Oct 04 '19
There was a post here recently suggesting you should watch the video, and take notes as if you are in a lecture, and then after watching the video only use your notes to try to write the code. In this way even if your notes are incomplete on second, and third watching you can find where your notes are lacking. Also don't simply try to copy the code as it is presented. Try changing some things to help better understand what does what.
1
Oct 04 '19
Ive done a few lessons on codecademy but was like "man this is way too slow" so istarted just doing random shit on my own and just looking up some syntax every now and then 1and its working okay so far
1
u/trimlimdim Oct 04 '19
Don't worry. Just repeat the same thing over and over with your own small twist. Printing something? Print random things just so you remember how to print. Learning if statements? Make tons of if statements with whatever conditions you want. Just practice. Make the things stick, use stuff you like like character names in strings or something like that.
1
u/infraninja Oct 04 '19
Remember one thing. If someone else can do it, you can do it! Since you are already here asking this question, I'll go with, "no, you aren't mentally challenged."
1
1
u/MTNOST Oct 04 '19
That's weird, I don't remember having a second reddit account but I must have posted this at some point.
1
u/Sw429 Oct 04 '19
I know everyone learns differently, but I would suggest approaching it by trying to write a small program that does something simple: perhaps takes in two numbers as input and adds them. Then try something slightly harder, etc.
Videos are great, but watching someone else program is not the same as programming something yourself, and you will never "learn" Python by watching someone else write it.
1
Oct 04 '19
You’re learning a new language but I recommend reading about how people best learn. Spoiler: it’s when you’re most frustrated and it seems slow.
1
u/bsmdphdjd Oct 04 '19
Start Writing Code!
When you get stuck, look through your learning materials till you find how to do it. Now you've had an "AHA" moment that'll be more memorable.
Start a text file, and put your AHA moments in there, so you don't have to go through the videos next time.
1
Oct 04 '19
Its good to be mentally challenged. If we arent challenged mentally, we'll never be good programmers.
Budoom Tss
1
1
Oct 04 '19
Watching a video repeatedly just to memorise it won't be enough. Personally, I learn by watching, doing it (assigning myself something to program) and then learning from what I forgot helps the most!
1
u/Stabilo_0 Oct 04 '19
Its possible that videos are not the best way to learn for you. I for example need both video courses and extensive documentation to get even basics, but if i have someone near who knows the topic and willing to explain then woosh it speeds up learning so much.
1
u/cheeep Oct 04 '19
I went through multiple different sources of video lessons, learned a good bit, but after recently starting to read textbooks I wish I had started this way I find it slower and more thorough (YMMV). I'd say it's worth a shot.
And regardless of how you learn, write the things down for yourself and make your own code examples for each step to better understand and know how to use the tools you learn.
1
u/s0methingc0ol Oct 04 '19
If you have to ask am I mentally challenged?. Then yes you are.
mahatma gandhi
1
u/Lewistrick Oct 04 '19
You mentioned "remember". That word is a red flag for me. As a programmer, you don't have to remember anything, because everything is on Google. So don't set "knowing" the language as your goal, let alone knowing it by heart. Set your goal to create a tiny tool.
1
u/alcalde Oct 04 '19
As a programmer, you don't have to remember anything, because everything is on Google.
You don't want to be looking everything up on Google either. 200 years ago when I took chemistry, my teacher explained that many of her tests would be open book and/or open notebook since in the real world chemists have access to reference materials. What she was concerned about was that we understood the concepts. However, since the periodic table was at the core of everything in chemistry, we still needed a test to verify that we'd memorized the table. Similarly, we could use calculators, but only passing a test to see that we understood the math.
In that sense, it's not true that "you don't have to remember anything" in programming or else they'll be up to Windows 20 by the time you get your program finished.
1
u/Lewistrick Oct 04 '19
Yeah true. I was assuming the fact that at some points the concepts stick and you remember some of the stuff. That's why I mentioned that remembering should not be your goal. I'd even add it's not an end to the goal. It's just a happy coincidence.
1
u/lestrenched Oct 04 '19
I guess at this point it's kinda obvious that unless you do it, you won't remember. You have to apply whatever you're learning in the lessons. Start with a small project and ask a lot of "How To"s on stack overflow. You'll get there
1
u/bluefictionhead Oct 04 '19
Don't worry, it's OK. Change the videos you watch, maybe the problem is with them. Following different sources gives better results in filling gaps.
1
u/slumpapan Oct 04 '19
After you've learned the basics you should move on to a project and just keep going till your finished. Eventually you remember how write different stuff and some bits or code that meant nothing day 1 starts to make sense.
1
Oct 04 '19
Think of it like driving. You can’t watch a video on how to drive over and over and assume that you can get in a car and drive. You get to a point where you have practice behind the wheel in order to learn how to drive. You have to get hands on keyboard. Use pycharms so it helps you with syntax.
I can express it enough, the best way to learn(IMO) is to do it. Make mistakes fix mistakes then as you get better go and re-write your old spaghetti code that you wrote to improve.
1
u/ivosaurus Oct 04 '19
find practice questions and code them up, interactive learning sticks with your brain better
1
Oct 04 '19
I also have similar experience, we try to catch up along the video tutor, seeing and typing code at same time. Avoid this dual strain, first completely watch video, understand and then implement. It works.
1
Oct 04 '19
The most important advice you have been given already: "Just be persistent and stick to it".
Now, I am a business professional and I have no programing background and there were many things I really did not understand when I started Python. About six months ago I enrolled in Data Science Specialization with R from Coursera and it is very well done for a beginner. You have assignments which is what really let you improve. Trying to figure things on your own. If you have time to first learn programming, I would suggest this route. Trust me, once you get that, Python will be so much easier for you.
Programming is thinking, then the language will help you explain it to the computer. Focus in learning how to think like a programmer and then on the language.
1
Oct 04 '19
If you're not putting into practice what you're learning it's not going to stick as well. Write anything that gives you a chance to test it. It could be a program that accepts an input for your name and then tells you what your name is. It could then list out all the letters of your name for you, then do one letter every second... Practice makes perfect.
1
u/MattR0se Oct 04 '19
I think that's normal. I spent month just coding along with youtube lessons, but once I wanted to code something myself, my brain just blacked out. But there was a point when it "clicked" somehow and everything got better.
Just do the lessons and have no shame to re-do old lessons later. Learning by repetition is effective, especially with a time gap in between.
1
u/itsmegeorge Oct 04 '19
I’m a computational linguist and sometimes the simplest things take me hours. For example, the other day I was making a dictionary and instead of typing = when creating it, I kept adding : and wondering why it wouldn’t work. It’s normal. :) good luck <3
1
u/CrimsonBolt33 Oct 04 '19
It's not about memorizing tutorials or code...it's about memorizing concepts and ways to take problems. Think big picture or you will be stuck in permanent tutorial hell.
I suggest starting a tutorial, finishing it, and then adding new features or improving something. You have to explore on your own to actually get competent.
Also you will ALWAYS look up tutorials, forums, documentation etc. for answer. The better you get, the less you will need to, but you will always need to look things up so don't feel like you have to memorize everything or feel bad when you look things up
1
u/Assmaster9001 Oct 04 '19
That's a very inefficient way of learning to program. Videos, tutorials, lectures etc are the biggest trap/waste of time when it comes to programming, which is NOT an observer sport.
Pick up a textbook/website (plenty available for free all over the place), spend 10 minutes reading up on some new concept and then start doing problems that utilizes this concept. Don't look at solutions untill you've solved the problem yourself (but looking up documentation is fine). It'll be hard, and frustrating at times. You'll probably feel stupid, but that's fine. It'll click eventually, and when it does, you'll have a better understanding than the people blindly following tutorials like the sheep they are.
That's been my strategy for learning, and it's worked very well.
1
u/fscouto33 Oct 04 '19
Dont always watch the same videos. There are so many option try some new ones and see they way of thinking, maybe its best for you.
1
u/samrataban Oct 04 '19
That's how it is when you begin. And it's alright. Take your time with the basics. You can also build on a good foundation but you can never fully master a language when your basics are not spot on.
If videos are difficult for you, you should try some structured learning. Online courses or even traditional classes. You'll also find series on YouTube and certain forums. Look out for those. They'll help you speed up.
1
u/Spindelhalla_xb Oct 04 '19
Look at learning techniques by Ali Abdaal on YouTube. Also, you're not supposed to be memorising everything, part of your job as a programmer, and an essential skill imo is googling.
1
u/DynamicStatic Oct 04 '19
You wanna learn programming? Go through cs50x, starts with C and then at some point switches over to Python, will teach you what happens behind the scenes. It's free and a great way to start.
https://online-learning.harvard.edu/course/cs50-introduction-computer-science
1
Oct 04 '19
Online tutorials/videos might just not be your thing. Get a paper book, and just experiment/play around with what you learn from the book. It just differs from person to person: I tried online stuff, but didn't pick up a thing. Paper books are my way to go. But I also have collegues who thrive with online stuff, and look at my glaze-eyed when I show them a book.
May just be an age thing...
1
u/Reasintper Oct 04 '19
You need "toy" programs. simplest are things like 5 function calculators, or encoding decoding programs, or simple games like nim or blackjack or other silly things that you can write and then spend a bunch of time tweaking or applying new techniques on. (or rewriting into a new language).
Also , try some programming challenges. I have a hashtag #toyprogrammingchallenge that I try to post a weekly coding challenge. I post this on a couple/few instances on Mastodon then twitter and facebook. With the idea being that people can give it a try and discuss different solutions. No one ever responds on Twitter or Facebook so pretty soon, I will skip them and just post on the Mastodon instances. Since I have been focusing on python myself, my responses are in Python, but I have had people respond with Elm or Lisp or Mercury and so forth programming languages.
If, you have decided to Learn Python, I would recommend starting with "Dive Into Python which you can read freely online, or go to amazon and buy the paper book or something. "https://diveintopython3.problemsolving.io/
1
u/pumpkinparty000 Oct 04 '19
I’m still learning, but I’ve been at it for about 9 months now. Day by day it doesn’t feel like I learn much, but month by month it’s amazing how much I learn.
My advice to you is to use multiple beginner resources to learn. I used like 3/4 at the same time and got little bits of info from all of them. Udemy/ yt/ Microsoft edx...
1
u/AcrobaticPanicc Oct 04 '19
My way of learning code is watching a video about a topic in the programming language I am learning, understand the concept and then stop and start to write code based on what I just learned. Also, combining different topics with it to understand how everything I learned is combining together. It can be helpful to watch other videos on the same topic you are currently learning because they will probably explain the same idea different (and maybe better for your understanding) YouTube is a great place to start. Good luck!
1
1
u/UghtC Oct 04 '19
Change your learning method.
People learn either Visually, Verbally, Kinaesthetically, or a combination of any.
If one doesn't work, swap to a different one - reading a book rather than listening to someone drone on may work better for you as an example.
1
u/kappicraig Oct 04 '19
Don't worry about it . . . people learn at different speeds and in different ways too. Some prefer books to videos and others the opposite. Me, I'm a mixture of both. Sometimes I have to read something several times and then walk for a while or even come back the next day, then re read the stuff and then it sinks in. A good method that works is when you get to the end of your day, take five mins and recap to yourself "what have I learnt today" and go over in your head just what you've grasped. Some days you'll learn just one thing and that's fine. Other days you'll grasp several concepts. One day at a time, don't compete with others, just keep pushing yourself.
Hope that helps
1
1
Oct 04 '19
These tutorials are well scripted by their authors. This makes those people appear far more competent that they really are, not that I doubt that they know their stuff. The point is they haven't memorized this stuff either, they did their research like everyone else has to.
1
Oct 04 '19
Try making something you can use. I’m still new myself but the first thing I make for n every language I try is a dice roller for D n D. It’s pretty simple but I never forget the concepts involved in it. After that i tried making a menu that adds up your total when you input the items. Very simple but it’s fun making stuff someone can actually use.
1
u/ScyllaHide python my ass :D Oct 04 '19
its normal, ive learned python some years aog with physics topics/problems. then i worked a student job were programmed python in a psychology problem based enviroment and since that time, i sometimes wondered how what i doing ...
try to write down what you want to program in pseudocode and then search the functions in python language - try to get the structure of python language.
it will take a while till you get how it works, its like learning a language for real.
keep it up and dont give up ...
1
Oct 04 '19
Go make something. Five videos on Python over and over should have prepared you at least to make a basic Tic Tac Toe game. Look up specific things you don't remember or haven't learned from another source. (Google) Build out from there.
Step - ASCII art game board. Make that work.
Step - Accept and plot a move. Make that work.
Step - Display the updated game board. Make that work.
Step - Keep track of who's turn it is and which letter to put on the board. Make that work.
Step - Track win conditions and give a victory message. Make that work.
Step - Add match scoring (2 out of 3, or configurable). Make that work.
Step - Store running scores in a file and read them back so you can continue later. Make that work.
Step - Add logins so users can have persistent records. Make that work.
Step - Add a real UI. Make that work. (Bonus: keep but disable the printout to be used as a debug log function enabled by command line parameter)
...
Through all this, use Git to keep track of project status. Then use the repo in your portfolio.
1
u/nulltensor Oct 04 '19
Don't start by watching videos, read. Reading engages the brain differently than watching video.
Start here: https://automatetheboringstuff.com/
Type out the example code in your IDE and run it. Experiment with changing the example code to do different things. If it breaks, figure out why and fix it.
Learning is an active process, watching video is a passive one. The one unifying theme you'll find in "how I learned" stories is the emphasis on practice i.e. we learn by doing.
But if you want to watch a video, watch this one: https://www.youtube.com/watch?v=vd2dtkMINIw
1
u/mishafan03 Oct 04 '19
One thing that I've found useful is to treat it like I'm learning math: with repetition. So like when I was learning about loops I would write out 20 for loops, 20 do while loops, and 20 do until loops. Just practice until it was so easy I could do it in my sleep.
1
Oct 04 '19
Most normal! Think of it like this, you fly horizontally in an airplane, then decide you want to learn python, which would be like your plan suddenly going vertical straight toward space.
I’m just learning, but trying to do a minimum of 30 minutes of programming, reading video watching. I done that for a month now and my plan is starting, somewhat leveling off.
Still a long way to go.
Just stick with it.
I use a journal to track my progress and no progress. Journal I guarantee you will see a change.
1
1
1
u/Cryptomartin1993 Oct 04 '19
Try doing some Katas on code wars, if you don't know what to do, then Google it, and solve the issue - made my learning process go much faster
1
u/TheGrooveTrain Oct 04 '19
Videos are a horrible, horrible way to learn just about everything; especially coding. Get some books.
1
u/SnxE13 Oct 04 '19
I do the same thing, and think "my brain must be slow". Then I come across post like these. Very motivational. It's nice to know that most everybody started out like this.
1
1
Oct 08 '19
Typically I find that I learn better through practical application and a lot of trial and error. I work for one of the big Seattle based tech companies and often still feel like this (even the odd public speaking panic attack for good measure).
This is an industry of constantly learning and self improvement and if you’re not struggling, you’re being complacent and not stretching yourself.
1
1
u/10cmToGlory Oct 04 '19
Honestly videos are a waste of time. Most the time they go too fast, leave out important details or just don't work.
Get a book. An actual, paper book. Go through it and do EVERY example yourself. Type it all out, by hand, word for word, and examine the results. Keep all of these snippets, and use them to build your personal code repository.
Every professional programmer out there copies probably 90% of their own work repeatedly on every project.
0
u/PatriotGrrrl Oct 04 '19
You are mentally challenged. The only way to learn to code is to code. If it were possible to learn to do things by watching videos I'd be an NFL star by now.
0
0
Oct 03 '19
[deleted]
4
Oct 03 '19
1
u/CompSciSelfLearning Oct 04 '19 edited Oct 04 '19
What part(s) are you rewatching?
What things are you forgetting?
Are you taking notes?
Did you download his Jupyter notebook?
2
Oct 04 '19
everything after the first 3 videos
^
yea
i use pycharm
2
u/CompSciSelfLearning Oct 04 '19 edited Oct 04 '19
Let me get this straight, the first video you linked to is not the one that you don't understand or remember? It's other videos in the same series?
Specifically, what in the 4th video are you struggling with?
You are taking notes but need to rewatch the videos? What are your notes missing?
You haven't been downloading his notebook files because you use pycharm? I don't understand what you think it is about using pycharm that prevents you from saving, viewing, and editing his files.
Some general advice: You could be getting more help if you took less than 24 hours to share information that would allow others to help you. You're answers here aren't every forthcoming. It feels like pulling teeth to get relevant information from you. And the information you give is incomplete. You've torpedoed your best chance to get significantly more help.
8
u/Mihle_Dexter Oct 03 '19
Shitty video. Look for videos from Corey Schafer, TheNewBoston or SentDex.
4
u/Prophet0fLoss Oct 04 '19
That series is how I got started. It worked really well for me, but you have to work through and code with him, not just watch. It’s not about memorizing the code.
1
u/Sw429 Oct 04 '19
imo this video may be too long and cover too much for you. I'm not saying it's bad, but try watching a shorter video about variables from a different creator? There are plenty others to choose from :)
24
u/dexter_024 Oct 03 '19
https://imgur.com/gallery/6C4YSN7