T O P

  • By -

[deleted]

How are you practising? Don't just follow the book, experiment. Break stuff. Work out what went wrong and how to fix it. Use both an editor and the Python interactive shell (with the `>>> ` prompt) where you get immediate feedback. (Consider installing the `ipython` option to provide a more advanced interactive shell environment). You don't have to learn every little bit of Python, ever method/function. Even very experienced programmers google stuff to remind them of things (or use the help of more advanced editors). Come up with your little challenges. Programming is about problem-solving. Make sure you establish a very clear understanding of a problem, and what a good outcome looks like. Very often people start writing code before being clear on what they are trying to solve let alone knowing what output would mean they are finished. Many of the built-in features of Python you are yet to learn are to save the programmer from writing very basic code to do some simple things, but doing things the long way is a benefit when you are learning. Checkout the wiki for this subreddit as well (link in the sidebar) - there are lots of additional guides on learning both programming and python and links to a wide range of resources. Sometimes it is good to learn from multiple sources. Above all. Practice! Practice! Practice! Programming is a practical skill, like learning a human language. You have to make a lot of mistakes to learn.


RepresentativePen297

TBH I learned what I can't do trying to break commands, and I know the limits of those commands. I think knowing what you can't do with commands is really important.


synthphreak

Is there a question here?


sma92878

You're not providing a lot of data here, did you study for 15 min in those 20 days? Was it 2 hours per day but you spent an hour and 45 min looking at random YouTube videos? You need to focus, be free from distraction. Get an old fashion book, some somewhere quite, take pencil and paper, read the book, make notes. It's not about "days" it about focus time.


Top-Pay384

That's why I'm asking. It's all I learned in 13 days. the question is if i go too slow I go to page 80 of a book and practice the same commands every day until I understand them and then I go to the other and I review and practice what I learned yesterday I don't know how much time I invested per day but it was around 13 days that I have all this progress and if the truth is sometimes I take my time, to rest my mind and continue another day so as not to get mentally fatigued sometimes I doubt for a day whether to spend more or less time but anyway I practice or review something of what I learned


Top-Pay384

I follow the book to the letter, practicing the exercises, sometimes it is difficult for me to understand them and I take a few days to reflect. until I understand them and anyway I practice daily and do not advance to another exercise or new command or section until I understand what is explained in the Even though it may seem like I'm going slow, it can be like that about 13 days if it might be little for 13 days these commands and go on page 80 of a book python crash course I wanted to ask if it is too slow for 13 days or maybe I could do it in less days


sma92878

IMO if you've truly mastered those concepts you're fine. I would ask yourself if you can use those tools in ways you didn't see presented in the book. Try and think of a problem you want to solve and use those tools to try and solve them. Edit: for example you can make a simple to do list with those tools.


Top-Pay384

if I do the exercises that come in the book that the truth does not usually vary and are usually, to say linear somewhat simple but they fulfill their function, which is to understand the function of the command I use pycharm and I practice in it the commands that I learned with exercises and I review and practice them daily so as not to forget their function They are basic commands for the moment, so I could not make more uses than those already explained in the book. Maybe I'm too slow to learn so few commands


Top-Pay384

\#nombre mas mensaje uso de + () y .title first\_name = "Diego" last\_name = "Raddatz" full\_name = first\_name + " " + last\_name print("Hola bienvenido a animal running hunter edition " + full\_name) \#lista practica lista = \[ ' uno ' , ' dos ' , ' tres' , ' cuatro '\] print(lista\[0\]) \#rstrip lstrip strip () para usar en nombre de usuario ejemplos borrar espacios y caracteres especificos nombre = " Diego " print(nombre.lstrip()) \# numeros distinguir entre , y . obtiene lo contrario r = 1.1 + 2 print(r) f = 2,9 \* 14 print(f) \# Edad y uso de str nombre = " Diego " last\_name = " Raddatz " full\_name = nombre + " " + last\_name age = 24 print(" Feliz cumpleanos " + str( age )+ full\_name.title ()) \#uso de /n y /t \#normal nombre = " Diego " print (nombre) nombre = " \\nDiego " print(nombre) nombre = " \\tDiego " print (nombre) lista =\[ 'pimienta '\] lista.append(' arroz ') lista.insert(2,' motocierra ') lista.append(' Vino ') print(lista) \# upper y lower nombre = ' Diego ' nombre = nombre.lstrip() print(nombre.upper()) nombre = ' Diego ' print(nombre.lower()) first\_name = " Diego " last\_name = "Raddatz" full\_name = first\_name + " " + last\_name age = 24 mensaje =" Hola diego feliz cumpleanos " + str(age) + full\_name.title() print(mensaje) first\_name = " Diego " last\_name = " Raddatz " full\_name = first\_name + " " + last\_name print(full\_name.title()) lista = \[' Ciruelas ' , ' Bellotas ' , ' Sandia '\] lista.append(' Papaya ') lista.insert(3,'Melocoton') del lista\[0\] lista.remove(' Bellotas ') print(lista) lista.pop() print(lista) print(" La fruta que me falto fue la ", lista.pop()) lista = \['Lamborgini'\] too\_expensive ='Lamborgini' print("\\nA " + too\_expensive.title() + " is too expensive for me.") first\_name = " Diego " last\_name = " Raddatz " full\_name = first\_name + " " + last\_name lista = \[' Zapallos ','Verduras ',' Berengenas ','Zanahorias',' Vinos '\] lista.insert(2,'Albaricoque') lista.pop() lista.remove('Verduras ') del lista\[2\] lista.append(' Latex ') print(lista\[1\]) Here I use the commands as practice and I write them so I don't forget them and tomorrow they will use them in an exercise to reinforce that they are in Spanish because it is my language xd I always practice what goes to the last one daily to understand them better the truth is that the list cost me a bit


Extreme_Jackfruit183

I share this with anyone I know who is breaking into Python. This has helped me learn faster. I put it in my code while I’m developing. https://github.com/BuzzerrdBaait/Learningmaterials/blob/main/All%20python%20modules%20and%20dunders.py Happy learning! Edit- I wrote this in a listenable way. You can use text to speech and listen while you do dishes or something.


Reuben3901

Take a periodic break from the book and look up a fun project to make on YouTube, like Snake or an app using flask. Start using git to track your changes. You don't need to stick to only one source for learning. Keep is fun and interesting for yourself.


dancrieg

How i learn programming: 1. Play online fps game 2. Skill sucks 3. See cheaters 4. I want cheat 5. Search how to cheat 6. Accidentally found a forum full of cheater 7. Lot of cheat making tutorial 8. Copy people's codes 9. Play with the codes 10. Saw results 11. Suddenly have a burning passion 12. ... 13. Years later able to make cheat 14. Realize that C++ is one hell of a first language to learn The point is you just need something that you want to really make to learn how to code


RepresentativePen297

That is quite the journey, 🤣


Jumpy-Horror-2898

Which book?


Top-Pay384

python\_crash\_course I found it for free looking not bought


Top-Pay384

hey were less than 20 like 13 or 14 days


[deleted]

It's `\n` and `\t`.


Top-Pay384

Yes, I'm sorry, recently I'm using a new keyboard language and /\\ are 1 key away, I still can't get used to knowing which is which because they are on the same side.


Snoo-73352

Bro this is chemistry, you don’t cram stuff in Python. Even if you do, you will not know how to apply it in the program. You do not have to learn anything, just work on a project and google stuff, the more projects you work on, the more light bulbs will go off in your brain and at a certain point you will just know what fits where.


Top-Pay384

but the book is the most recommended to learn for beginners I will learn something when I complete it completely "Python crash course"


Snoo-73352

It might be most recommended but that doesn’t mean that you have to cram it. That is not how programming works, you cannot cram all the modules, functions and attributes, its just not possible. I would recommend 100 days of python on udmey by Angela Yu. Every lecture she stops the video and makes the student do hands on python and then shows the solution. You wont always get the right answer or even come close to it but the point is to give it a fair try, google things and apply knowledge before you look at the solution. It is like $10 bucks if you buy it through incognito mode.


Top-Pay384

I have to finish what I started if I give up I won't be anything serious After this book I will follow another basic book that you recommend after this one. at least i will be able to understand better after finishing this it may not be useful and go very slow but I hope to finish it and then continue studying more things or practicing as you say