Python Tutorial 14: Saving and Reading Data Files With Pickle

  Рет қаралды 30,323

Paul McWhorter

Paul McWhorter

Күн бұрын

You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:
/ paulmcwhorter
In this video we show step-by-step instructions on how to us Pickle in Python to save and read data files. I do not assume you are an expert, so these lessons are designed for complete beginners.
#Python
#Lessons
#Programming

Пікірлер: 151
@Pikuto
@Pikuto 3 жыл бұрын
When there will be new Arduino lessons? , or video(s): like - "How to built drone on Arduino"?. Thanks for your lessons. Thanks for teaching us programming languages. My future work= Programmer.
@yehiaayoub4041
@yehiaayoub4041 3 жыл бұрын
I started learning programming eight months ago since I started studying to be an engineer, before then i knew nothing about programming whatsoever and it's one my drawbacks. I was worried it would be too hard to learn, but your videos help me A LOT, and I'm currently watching the Arduino tutorials. Learning a lot from you, thank you so much
@boydrogers7227
@boydrogers7227 3 жыл бұрын
We regret to inform you that there is no room available for folding lawn furniture as the designated space is currently filled to capacity with LEGEND!
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
Most Excellent!
@Mouse_007
@Mouse_007 3 жыл бұрын
😂👍
@robinedminson6461
@robinedminson6461 Жыл бұрын
Hey Paul. I'm really enjoying this series. I am in awe of your teaching style and have learnt a lot form your excellent skills. I previously worked through quite a bit of your Arduino classes. Now looking into Python and slowly getting there. Just completed the homework for this session. Had all the right ideas but lacking in the syntax memory department! Looking through my previous work helps. Even discovered how to embed a variable in an input function 🙂 I'll follow this series through to it's conclusion. Thanks for all you do
@darthdaenerys
@darthdaenerys 3 жыл бұрын
Thanks paul, I'm a legend. All bcoz of you
@chernoblyat1901
@chernoblyat1901 3 жыл бұрын
Serious question: Is it possible to get a job like programing or robotics if your source of education is through KZbin and the internet?
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
Go into the interview with a heck of a project you have built. Something that shows you can do hardware and software. Show them what you can do and you have a shot.
@miken2664
@miken2664 3 жыл бұрын
"We are going to dump nuts" made me have to pause the video 😂. I'm just glad I didn't disrupt the rest of the class. Top lessons as always. Thanks Paul
@taurus548
@taurus548 3 жыл бұрын
Sorry Paul but in your open(....) lines you introduce the term "wb" and "rb", which I understand stands for; write binary and read binary. Maybe I missed where you told us where they come from. Are they standard terms used in Python and do not need any definition. Could you expand on them a little? Similarly the "dt" in line 12 "for dt in bigKahuna:" where was "dt" defined?? Many Thanks, I am enjoying the course.
@bigbogeyface
@bigbogeyface 3 жыл бұрын
I believe "wb" and "rb" to be standard in python. As for "dt" in bigKahuna 🤔 It appears to be an empty variable. It must update itself with each element of the bigKahuna array, while simultaneously counting which index of the array it is on, (as it continues only for the number of elements in the array). I'm guessing this is a pre-existing feature of variables, in for loops, in python. Good stuff though hey 👍 😃
@刘振波-h8t
@刘振波-h8t Жыл бұрын
@@bigbogeyface great
@kadhir5738
@kadhir5738 3 жыл бұрын
I'm first 🤣
@pateekdarnal2256
@pateekdarnal2256 3 жыл бұрын
Thankyou sir for your lesson, I am proud of myself I solved pickle homework and this was the first ever homework i solved on my own. Thankyou sir I AM LEGEND may god bless you.
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
All the best
@blasterTC
@blasterTC 3 жыл бұрын
A question, could you teach open() and close() commands in python as well, for use with basic notepad files? I went a bit ahead with self learning and made an automated high-score table with them, but took me way too long and i'm wondering if there is a simpler way of doing it without libraries.
@opalprestonshirley1700
@opalprestonshirley1700 3 жыл бұрын
Enjoyed the lesson. I had not known of Pickle, been using the open, 'w', 'r' and close. This simplifies the work. I hate that about your arrest, especially since it was the previous owner who had those but at least that's behind you. Stay safe and enjoy whatever comes your way.
@abdullahchoudhury3080
@abdullahchoudhury3080 2 жыл бұрын
I AM LEGEND! Thank you Paul. When you finish your VPython series and OpenCV series, could you please do some lessons on C++. Thank you again for these great lessons.
@patfacunla1687
@patfacunla1687 3 жыл бұрын
Boom!!! I can't believe it I am legend! All thanks to our great teacher Paul McWhorter!
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
Legend!
@martinjones1390
@martinjones1390 Жыл бұрын
I am legend! Discovered your set of Python tutorials yesterday and I'm already up to lesson 14. I started commercial programming in COBOL in 1975, a very different world. Any current sbc could eat those 'mainframe' monsters for breakfast in terms of processing power, memory and storage. Amazes me what we could do on a computer with 256KB memory and 240MB of hard disk. Many platforms and programming languages / environments since. I'll be buying the Arduino kit soon and will be looking at your Arduino tutorials even though the pure electronics side of it will be a mystery to me. Haven't looked at electrical theory since senior high school days, (but I did win the senior physics prize for that year so there's some hope for me yet!).
@airwavested
@airwavested 3 жыл бұрын
Another Most Excellent lesson!
@vinayb5076
@vinayb5076 3 жыл бұрын
Sir we are so excited to listen your lessons I'm in class 12 a bio student but I learnt Arduino tutorials now I'm sticking to learn python. Thank you so much sir
@sandbox_beast3846
@sandbox_beast3846 3 жыл бұрын
I am also
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
Keep it up
@vinayb5076
@vinayb5076 3 жыл бұрын
@@paulmcwhorter Thank you sir
@HarshCreatives
@HarshCreatives 3 жыл бұрын
I am legend
@spoof3974
@spoof3974 3 жыл бұрын
I AM LEGEND! So proud of myself because I was having a problems because of one misplaced parentheses.
@dwaipayandutta5441
@dwaipayandutta5441 2 жыл бұрын
I am legend.
@leefairfield7537
@leefairfield7537 2 жыл бұрын
As someone who only started python recently and watched all your other vids I think you went a bit fast with this one
@bharathr110
@bharathr110 3 жыл бұрын
I am Legend! Your lessons are very easy to understand. Thank you.
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
Glad to hear that!
@DianaRoss-s3f
@DianaRoss-s3f 6 ай бұрын
Hello Sir, it to me quite a while, more than a month 😅, and the output comes out in brackets, I just dont like folding up like a cheap laundry chair. I dont know if this code is good enough it this is what I got Numgrades=int(input("How many students do you have? ")) import pickle; Records=[] Names=[] for i in range(-2,Numgrades-2,1): name=input("Please enter your student‘s name: ") graade=int(input("Please enter the student‘s grade: ")) student=("This student of name",name,"had an average grade of",graade) Records.append(student) Names.append(name) with open("scores.pkl","wb") as f1: pickle.dump(Records[0],f1) pickle.dump(Records[1],f1) pickle.dump(Records[2],f1) pickle.dump(Records[3],f1) pickle.dump(Records[4],f1) with open("scores.pkl","rb") as f2: student1=pickle.load(f2) student2=pickle.load(f2) student3=pickle.load(f2) student4=pickle.load(f2) student5=pickle.load(f2) Input1=input("Which student are you looking for: ") if Input1==(Names[0]) and Input1!=(Names[1]) and Input1!=(Names[2]) and Input1!=(Names[3]) and Input1!=(Names[4]): print(student1) if Input1==(Names[1]) and Input1!=(Names[0]) and Input1!=(Names[2]) and Input1!=(Names[3]) and Input1!=(Names[4]): print(student2) if Input1==(Names[2]) and Input1!=(Names[1]) and Input1!=(Names[0]) and Input1!=(Names[3]) and Input1!=(Names[4]): print(student3) if Input1==(Names[3]) and Input1!=(Names[1]) and Input1!=(Names[2]) and Input1!=(Names[0]) and Input1!=(Names[4]): print(student4) if Input1==(Names[4]) and Input1!=(Names[1]) and Input1!=(Names[2]) and Input1!=(Names[3]) and Input1!=(Names[0]): print(student5) Input2=input("Which student are you looking for: ") if Input2==(Names[0]) and Input2!=(Names[1]) and Input2!=(Names[2]) and Input2!=(Names[3]) and Input2!=(Names[4]): print(student1) if Input2==(Names[1]) and Input2!=(Names[0]) and Input2!=(Names[2]) and Input2!=(Names[3]) and Input2!=(Names[4]): print(student2) if Input2==(Names[2]) and Input2!=(Names[1]) and Input2!=(Names[0]) and Input2!=(Names[3]) and Input2!=(Names[4]): print(student3) if Input2==(Names[3]) and Input2!=(Names[1]) and Input2!=(Names[2]) and Input2!=(Names[0]) and Input2!=(Names[4]): print(student4) if Input2==(Names[4]) and Input2!=(Names[1]) and Input2!=(Names[2]) and Input2!=(Names[3]) and Input2!=(Names[0]): print(student5) Input3=input("Which student are you looking for: ") if Input3==(Names[0]) and Input3!=(Names[1]) and Input3!=(Names[2]) and Input3!=(Names[3]) and Input3!=(Names[4]): print(student1) if Input3==(Names[1]) and Input3!=(Names[0]) and Input3!=(Names[2]) and Input3!=(Names[3]) and Input3!=(Names[4]): print(student2) if Input3==(Names[2]) and Input3!=(Names[1]) and Input3!=(Names[0]) and Input3!=(Names[3]) and Input3!=(Names[4]): print(student3) if Input3==(Names[3]) and Input3!=(Names[1]) and Input3!=(Names[2]) and Input3!=(Names[0]) and Input3!=(Names[4]): print(student4) if Input3==(Names[4]) and Input3!=(Names[1]) and Input3!=(Names[2]) and Input3!=(Names[3]) and Input3!=(Names[0]): print(student5) Input4=input("Which student are you looking for: ") if Input4==(Names[0]) and Input4!=(Names[1]) and Input4!=(Names[2]) and Input4!=(Names[3]) and Input4!=(Names[4]): print(student1) if Input4==(Names[1]) and Input4!=(Names[0]) and Input4!=(Names[2]) and Input4!=(Names[3]) and Input4!=(Names[4]): print(student2) if Input4==(Names[2]) and Input4!=(Names[1]) and Input4!=(Names[0]) and Input4!=(Names[3]) and Input4!=(Names[4]): print(student3) if Input4==(Names[3]) and Input4!=(Names[1]) and Input4!=(Names[2]) and Input4!=(Names[0]) and Input4!=(Names[4]): print(student4) if Input4==(Names[4]) and Input4!=(Names[1]) and Input4!=(Names[2]) and Input4!=(Names[3]) and Input4!=(Names[0]): print(student5) Input5=input("Which student are you looking for: ") if Input5==(Names[0]) and Input5!=(Names[1]) and Input5!=(Names[2]) and Input5!=(Names[3]) and Input5!=(Names[4]): print(student1) if Input5==(Names[1]) and Input5!=(Names[0]) and Input5!=(Names[2]) and Input5!=(Names[3]) and Input5!=(Names[4]): print(student2) if Input5==(Names[2]) and Input5!=(Names[1]) and Input5!=(Names[0]) and Input5!=(Names[3]) and Input5!=(Names[4]): print(student3) if Input5==(Names[3]) and Input5!=(Names[1]) and Input5!=(Names[2]) and Input5!=(Names[0]) and Input5!=(Names[4]): print(student4) if Input5==(Names[4]) and Input5!=(Names[1]) and Input5!=(Names[2]) and Input5!=(Names[3]) and Input5!=(Names[0]): print(student5) @PaulMcWhorter
@jabber2824
@jabber2824 3 ай бұрын
I am legend. I had to go back to lesson 3 to figure out how to address an 2-dimensional array. Very interesting lesson.
@atesotheater6536
@atesotheater6536 3 жыл бұрын
thank you soo much for the lesson, still waiting for more Arduino tutorials more love from martin UG
@ulrichvantonder6719
@ulrichvantonder6719 2 жыл бұрын
I AM LEGEND, Thanks for the great tutorials, it is by far the best I have ever done!
@vladmelnic-
@vladmelnic- 3 жыл бұрын
Mandatory legend. To give myself a bit of freedom with student data, I created a student class. For writing and reading I used json. I had to convert the classes to dicts when writing, but luckily you can just apply var() to them before adding to the array. It was a bit of pain to find the var() solution, but that was actually the hardest part! Love the lessons. Keep up the great work!
@aman-sood
@aman-sood 2 жыл бұрын
Watched this since the AI lesson 17's homework requires writing data to the disk and I have not watched the python series :P!
@MrTrollHobbit
@MrTrollHobbit 5 ай бұрын
On my 14th cup of coffee, no sugar, no sweetener today and I am about to program God in Python
@KamaldeenAdam
@KamaldeenAdam Жыл бұрын
please sir, I didn't understood what you meant by the wright binary(wb) and the other. please help me with that or anyone can help as well.
@asakeena3258
@asakeena3258 Жыл бұрын
Can any one help me with this program, I copied the code directly but every time I try to run it it tells me I can’t reference a list in the range. If anyone has had this problem I would really appreciate some help.
@mohsenr4434
@mohsenr4434 2 жыл бұрын
Great tips.. Thank you very much!
@unablewalk4147
@unablewalk4147 3 жыл бұрын
Hey pls help me I am getting this error even though I copied whole code same PS D:\mann\py> & C:/Users/mann/AppData/Local/Programs/P ython/Python310-32/python.exe d:/mann/py/pickle.py Traceback (most recent call last): File "d: \mann\py\pickle.py", line 2, in import pickle File "d: \mann\py\pickle.py", line 9, in pickle.dump(fruits, f) AttributeError: partially initialized module 'pickle' h as no attribute 'dump' (most likely due to a circular i mport)
@davesworkplace1616
@davesworkplace1616 3 жыл бұрын
If you re-watch the video Paul cautions NOT to name your file "pickle.py" or it can cause problems. Name it "myPickle.py" instead.
@keithneal7927
@keithneal7927 7 ай бұрын
I'm legend, really enjoying the course
@Nyviv
@Nyviv 3 жыл бұрын
Is it just me or is everyone here is looking forward to doing homework!!
@lil_muna
@lil_muna 3 жыл бұрын
Sorry but I folded up like a cheap walmart lawn chair
@snowman58able
@snowman58able 3 жыл бұрын
Why didn’t you teach Jason instead of pickle
@flhTK-2012
@flhTK-2012 2 жыл бұрын
Pretty neat app Pickle. We'll see after new years how easy the homework is.
@advancedperformance9721
@advancedperformance9721 3 жыл бұрын
Thanks alot sir love it alot
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
Thanks for liking
@alexthebear
@alexthebear 3 жыл бұрын
i had problems with working dir i found this solution import os os.chdir(os.path.dirname(os.path.abspath(__file__))) i changes work dir to file's dir works good.
@makergc3d
@makergc3d 11 ай бұрын
Apparently you're a Legend of an instructor because I Am Legend ... at least for this lession!😉 Completed assignment less than 9- minutes.
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
LEGEND!
@walkingtorch
@walkingtorch 3 жыл бұрын
Ayyyyyyy it’s the man that taught me how to program an arduino uno r3
@Tivis7
@Tivis7 2 жыл бұрын
Took me around 5 hours and some back and forth with a fellow classmate, but we finally figured out a couple ways of doing it!!! The way I did it was by saving all the info in separate arrays then bunching up that info into a single array which was then pickled. That way I could say how many grades there were, the names, and the grades. After that, on the second program I just used a for loop to match the user's input to one of the names.
@U_Kamrc
@U_Kamrc 3 жыл бұрын
I propose to have a tutorial on VSC debugger
@graydhd8688
@graydhd8688 Жыл бұрын
Pee cans? Pickle dumps? This series has taken a strange turn
@sandbox_beast3846
@sandbox_beast3846 3 жыл бұрын
I am also 12 student science student
@JBR7655
@JBR7655 Жыл бұрын
I don’t understand the reason you dump to f, then read in at f2.
@handofash
@handofash 2 жыл бұрын
I'm back after a summer hiatus in the mountains. Don't worry, I kept the Patreon flowing.
@paulmcwhorter
@paulmcwhorter 2 жыл бұрын
Thanks! Really appreciate the help on Patreon.
@diessos
@diessos Жыл бұрын
I am legend.... (and I am John Galt!). I've been programming for 45 years, and this is my first exposure to Python. I've also worked through your Arduino courses. Using that class, I'm replacing a blown stepper motor controller on a older telescope with a Nano. Very cool stuff.
@davidschnider1297
@davidschnider1297 Жыл бұрын
Hi Paul... another excellent lesson.... I didn't do the homework... sorry... but.. I DID apply what I learned here to debug my headless GPS project by pickling the data and saving it to the SD Card .. .and then writing another little program to READ and display the data after a test drive . This helped me "see" what my GPS program was reading and processing... and I was then able to debug and complete the project. I have decided to head on back to the RPi 4 projects / lessons.... ( for now ) ... Thanks again, Paul... God bless you, Brother.
@soundarrajankannan7692
@soundarrajankannan7692 3 жыл бұрын
I am Legend. I just written down the Homework you said as steps like program one: 1. ask how many student you have? 2.Then ask for: student name and his average 3. Then pickle the data program two: 1.Ask which student are you interested in? 2.Get data from pickle file 3.Then show up his grade Really writing things to do helps a lot. Again, Thanks a lot. Great teaching. I am getting addicted to your videos.
@noweare1
@noweare1 2 жыл бұрын
I am lawnchair and I love pickels
@Doakley_42
@Doakley_42 3 жыл бұрын
Hello! I'm a huge fan, and I have a suggestion! Could we get a video on Arduino communicating wirelessly with nRF24L01 modules? There are countless applications for them and I can't find someone that could explain it as amazing as you do!
@vinayb5076
@vinayb5076 3 жыл бұрын
I'm 2nd
@rt5hrnbfa304
@rt5hrnbfa304 3 жыл бұрын
Hello Paul, a bit unrelated but how'd the hydroponically-grown plants fared since you first showed us your greenhouse in 2019?
@iiFoogie
@iiFoogie 3 жыл бұрын
Hi Paul! I am wondering what DC barrel socket you recommend for Arduino. I’m trying to power my arduino nano. I want something small.
@MamtaSharma-hc9qt
@MamtaSharma-hc9qt 3 жыл бұрын
I am a eighth grade student
@erikelfsberg9414
@erikelfsberg9414 2 жыл бұрын
I'm legend, this was a tough one But I did it
@damsaddles9911
@damsaddles9911 3 жыл бұрын
yes sir, I am a legend, thanks to you
@johnplowright6421
@johnplowright6421 3 жыл бұрын
To coin your phrase: BOOM I am Legend. Very enjoyable lesson and Homework, had to review this video a few times to get the syntax right but got it working using a counter in my while loop for the number of entries instead of asking how many they want to enter.
@karthi0906
@karthi0906 16 күн бұрын
Happy engeneer's day sir
@ottawakravmagaacademy7013
@ottawakravmagaacademy7013 3 жыл бұрын
I AM LEGEND!!!, this was really a fun lesson. I did my homework on my own. I'm used to working with datasets so this was pretty simple for me to map out my file. Thank you for showing this and I look forward to seeing your solution next week.
@codecage9333
@codecage9333 3 жыл бұрын
I am legend! Once I finished it became quite obvious how simple it actually was to accomplish.
@amayaphotos8016
@amayaphotos8016 Жыл бұрын
Another Interesting Lesson
@MrXshadow1
@MrXshadow1 Жыл бұрын
Paul i love u sm sir from morocco ❤️
@bigbogeyface
@bigbogeyface 3 жыл бұрын
I am legend!!! 💪
@Hyfh2
@Hyfh2 2 жыл бұрын
thank you for your lesson
@MrElFRanz
@MrElFRanz 3 жыл бұрын
Dear Paul, thanks to your lesosns, I could do this homework. Kind greetings.
@kekekeernest8920
@kekekeernest8920 3 жыл бұрын
Greetings to you Sir Paul, when are looking forward for our next lesson on "Robotics" , and we also need a new lesson on Raspberry pi
@RobVollmar
@RobVollmar 2 жыл бұрын
I, sir, am legend.
@qneal78710
@qneal78710 2 жыл бұрын
I have enjoyed your lesson and thankful that I came across it. I have been using a python book but came across a section where they don't explain it too well, so I went online and I found you. Thanks for giving clear instructions. I will start looking at your tutorials and also donating money
@bryankohn9660
@bryankohn9660 3 жыл бұрын
I got it. Guess "I am legend". I used some of the tricks like printing intermediate steps and I went a step further to "error check" the second program in case someone enters a student name not in the list. It gives you a error message and then asks for a new name.
@larryplatzek9017
@larryplatzek9017 3 жыл бұрын
We are ready for more learning!
@hughpatterson1480
@hughpatterson1480 2 жыл бұрын
pickle is something my students really need to embrace so they'll be watching your fantastic lesson. Thanks Paul!
@kevinadesso825
@kevinadesso825 2 ай бұрын
I AM LEGEND😁
@ricardobjorkeheim775
@ricardobjorkeheim775 3 жыл бұрын
I am legend :)
@mandamhlava9301
@mandamhlava9301 2 жыл бұрын
I Am Legend.
@danielduplessis7221
@danielduplessis7221 3 жыл бұрын
I Am Legend!
@scouscoustm
@scouscoustm 2 жыл бұрын
I am legend! Took a short while to figure it out but thanks to your most excellent teaching of past topics it turned out to be easier than I thought!
@colepdx187
@colepdx187 2 жыл бұрын
Python is amazing. The more I delve into the online docs to get the HW assignments done, the more I discover how powerful this programming language is. I'm really looking forward to the next series about using Python with Arduino even though I no longer have the room for my workbench and had to pack my micro-controller lab away into boxes, I'll find a way to setup a small work area somewhere. Thanks for the tutorials. I'll head over to Patreon and do what I can. Here is a streamlined version of the bubble sort from the last assignment using one of the powerful features of the language (note the swap): i=0 while (i < numGrades - 1): if(grades[i] < grades[i + 1]): grades[i], grades[i + 1] = grades[i + 1], grades[i] i += 1 * (i == 0) + -1 * (i > 0) else: i += 1
@paulmcwhorter
@paulmcwhorter 2 жыл бұрын
I do indeed love python.
@dzeykop
@dzeykop Жыл бұрын
Thank you Sir, another great lesson! Your lessons are not wasted time (#NWT) for me and that is exactly what I want! 👍
@paulmcwhorter
@paulmcwhorter Жыл бұрын
Glad to hear it!
@andylaurie326
@andylaurie326 3 жыл бұрын
I finally got it. Used all the stuff taught plus my brain to get it done. I learned a lot. Thank very much.
@chrisingram7277
@chrisingram7277 3 жыл бұрын
I am legend, this seem harder than Fortran was a long, long time ago.
@sarahz2255
@sarahz2255 2 жыл бұрын
Love your explanation,easy to understand for beginner.
@opalprestonshirley1700
@opalprestonshirley1700 3 жыл бұрын
Got her working both programs. It was a bit of a challenge but really enjoyed these two programs. Let's keep having fun.
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
Great to hear! Thanks for the comment, Opal
@wishicouldarduino8880
@wishicouldarduino8880 3 жыл бұрын
Cool video though I haven't had much time lately .I have played around with python a little .its fun . My robot has three raspberry pi on it so I should be watching more of these.😁👍🤖🛸🛸
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
Sounds great!
@georgineshkov6479
@georgineshkov6479 3 жыл бұрын
I am legend! Even made the second module to validate the entered name and if it's not existent or mistyped - reports that "No student with this name has been found!" Ah...something comes to mind with this lesson: I hope in some late lesson we get to explore what these 'wb' and 'rb' strings meaning is. Anyway - great lessons, kuddos to you Paul!
@harshjee4134
@harshjee4134 3 жыл бұрын
Hello georgi, i tried the same, but when i type the non-existing name, it reports 'error... student not found' 8 times (No. of students are 8), maybe it's because of for loop, or idk, can you tell me how to fix that, thanks.
@steveholt8991
@steveholt8991 2 ай бұрын
Did homework ok thank you.
@paulmcwhorter
@paulmcwhorter 2 ай бұрын
LEGEND!
@normanmwanza8225
@normanmwanza8225 4 ай бұрын
can i call you grandpa
@paulmcwhorter
@paulmcwhorter 4 ай бұрын
Yes you may.
@LorenBurdette
@LorenBurdette Жыл бұрын
Legend. Great lesson.
@paulmcwhorter
@paulmcwhorter Жыл бұрын
LEGEND!
@benhurley7565
@benhurley7565 3 жыл бұрын
I am legend! I finally got around to having a go at one of the homework assignments instead of just watching and learned a lot. Thanks.
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
Fantastic!
@williamhyrkas698
@williamhyrkas698 2 жыл бұрын
I folded yet again.
@paulmcwhorter
@paulmcwhorter 2 жыл бұрын
Dont get discouraged. It is called learning. Over time you will begin to find more success, and the harder it is to get there the more satisfying it will be when you succeed. Just dont giver up.
@kme8134
@kme8134 2 жыл бұрын
I got it :) thank you boss!
@paulmcwhorter
@paulmcwhorter 2 жыл бұрын
Great!
@polito-yd8fp
@polito-yd8fp Жыл бұрын
I am Legend 😊
@paulmcwhorter
@paulmcwhorter Жыл бұрын
LEGEND!
@MurungiIanMugisha
@MurungiIanMugisha 9 ай бұрын
am a legend.
@paulmcwhorter
@paulmcwhorter 9 ай бұрын
LEGEND!
@evanherpin6980
@evanherpin6980 2 жыл бұрын
I'm a legend
@paulmcwhorter
@paulmcwhorter 2 жыл бұрын
LEGEND!
@brucemilyko8549
@brucemilyko8549 Жыл бұрын
I am Legend!
@paulmcwhorter
@paulmcwhorter Жыл бұрын
LEGEND!
@architjain1908
@architjain1908 3 жыл бұрын
I am a LEGEND!
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
Yes you are!
@michaelwise4040
@michaelwise4040 2 жыл бұрын
I AM LEGEND! Thank you so much Paul for these incredible videos. I am currently doing an engineering apprenticeship and hoping that learning Python will set me up for new languages and a wider career plan in the future! You are the real legend here!!
@paulmcwhorter
@paulmcwhorter 2 жыл бұрын
Fantastic! Also if you have not already watch my series on how to be a successful engineer, will cover every thing you need to know to land that dream job.
@michaelwise4040
@michaelwise4040 2 жыл бұрын
@@paulmcwhorter I will start to watch them today, looking forward to learning more skills and gaining knowledge!
@pralaymajumdar1206
@pralaymajumdar1206 3 жыл бұрын
Learn a lot from you. Thank u sir.
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
My pleasure
This INCREDIBLE trick will speed up your data processes.
12:54
Rob Mulla
Рет қаралды 265 М.
The selfish The Joker was taught a lesson by Officer Rabbit. #funny #supersiblings
00:12
Please Help This Poor Boy 🙏
00:40
Alan Chikin Chow
Рет қаралды 23 МЛН
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 3,9 МЛН
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 16 МЛН
Python Tutorial 10: Homework Solution for Averaging Numbers
20:41
Paul McWhorter
Рет қаралды 24 М.
A simple explanation of super() in Python
15:02
Sebastiaan Mathôt
Рет қаралды 47 М.
Python Tutorial 17: Python Functions Examples and Solutions
27:45
Paul McWhorter
Рет қаралды 16 М.
Serialize Python Objects With Pickle
11:36
NeuralNine
Рет қаралды 31 М.
Storing and retrieving Python objects with "pickle"
9:26
Python and Pandas with Reuven Lerner
Рет қаралды 10 М.
Python Tutorial 18: Understanding Python Methods and Classes
42:43
Paul McWhorter
Рет қаралды 25 М.
Python Tutorial 12: Simple Python Sorting Program
27:00
Paul McWhorter
Рет қаралды 25 М.
Pickling Data With Python!
6:59
Mark Jay
Рет қаралды 48 М.
Python Tutorial 9: Understanding For Loops in Python
36:39
Paul McWhorter
Рет қаралды 43 М.
The selfish The Joker was taught a lesson by Officer Rabbit. #funny #supersiblings
00:12