r/learnpython • • Nov 16 '22

What are some beginner python projects you’d recommend for a beginner?

326 Upvotes

I’m a beginner and I want some ideas for a project.


r/learnpython • • Sep 09 '20

Help me to help my wife

326 Upvotes

My wife is wanting to switch careers and has decided to take on python and learn data science. She is struggling to grasp the basics and I would like to point her to a few websites, apps, resources that will help her with a step by step on the how to and how not to. I'm learning javascript so I can't help her to much as I would like to. Hopefully I can just show her this post and she can use it to navigate to different resources. Thanks in advance.

Update. Thank you everyone. I am showing her all the comments and she is looking them up and exploring. Keep the comments coming. I have mentioned she can comment here, she may, she may not. I don't know.


r/learnpython • • Jul 03 '20

In the most basic terms, please explain when you would use tuples,lists,dictionaries, or sets.

326 Upvotes

Hello, I have been rereading and seeking different definitions and watching different videos explaining python, but I cannot understand what the difference is between tuples,lists, dictionaries, and sets other than some you use {} [] or (). When would you use these? What are the practical differences? please explain in the absolute simplest caveman terms

Edit: Thank you all for your generosity of knowledge. I have learned alot from reading all the comments and answers.


r/learnpython • • Sep 10 '22

I've been studying Python for ~1 year and I cannot make anything in Python.

325 Upvotes

The last year, I've been learning Python from a course. Everything I've been taught I understood but now, when I boot up a compiler I simply cannot make even a 'simple' program such as a sprite that'll recognize when it'll get clicked. I simply don't know what functions to use, what modules to use and I simply can't recognize what is causing my errors. I feel like I know enough of the language to make a program but when I sit down, I know nothing and I can't.


r/learnpython • • Jan 21 '19

Python’s most underrated game engine for beginners

325 Upvotes

Hello,

for those of you interested in making retro games with Python and are just starting out (but know the basics) I have written up this tutorial using the Pyxel game engine. Mostly because I liked the engine and didn't find a single tutorial for it. Criticism welcome.

Link: http://blog.vomkonstant.in/2019/01/21/pythons-most-underrated-game-engine-for-beginners/

Cheers!


r/learnpython • • Jan 23 '22

I still don't understand the benefit of lambda functions

324 Upvotes

Hi all,

I've read about lambda functions (for python and other languages), I can WRITE lambda functions just fine, but it seems to me that most places I use them they're just...functions with different syntax. I mean they take args, they return values sometimes. What am I missing here? If anyone has examples of problems they've solved with lambda functions that would also be very helpful.

Thanks!


r/learnpython • • Oct 07 '20

Classes in Python

324 Upvotes

Hey,

what is the best way to learn using classes in Python? Until now, I was using functions for almost every problem I had to solve, but I suppose it's more convenient to use classes when problems are more complex.

Thanks in advance!


r/learnpython • • Jan 23 '20

How difficult would it be to self-teach myself python? More as a hobby than a job.

323 Upvotes

r/learnpython • • Feb 23 '26 Bravo

What is the use of tuple over lists?

322 Upvotes

Almost every program I try to do uses lists and tuples almost seem not useful. Almost anything a tuple can do can be done via a list and a list is a more flexible option with more functions and mutability hence what is the use of tuples over lists as tuples are completely replaceable by lists (atleast for what I do that is learning python basics) so are there any advantage of tuples?

Thanks in advance


r/learnpython • • Mar 07 '22

I finished my first python project. It feels amazing!

322 Upvotes

I work as an inventory analyst and I'm sure most of you in similar fields have experienced messy/ hard to use data. I consider myself pretty proficient at excel, but I've come to realize its limitations in the past four months (drive starting in analytics). There are a few reports that I needed to combine/perform some calculations on. I tried in excel, but it kept freezing. Over about 60,000 lines a simple A2/7 caused an unrecoverable freeze.

I said, "fluff it!". I then spent all day today working on this report.

I am now finished.

It feels really good to say that.

Thank you all for being so helpful to this community.


r/learnpython • • May 01 '21

Sorry if this is asked too much but, what are some good beginner projects?

322 Upvotes

I was just wondering because I love enjoy programming and enjoy when I figure out stuff. I'm only a student and usually have a set goal but I need more practice and want to code more things besides the book. What are some good beginner projects I could possibly do/learn?

Edit: thank you everyone so much, truly. All the comments have been helpful and have given me ideas I didn't have.

I feel I have more of a direction now.


r/learnpython • • Apr 15 '21

Thank you to this community!

322 Upvotes

Last year, I started learning python. Took a course, looked at some tutorials. When I tried to start a project, my mind just went blank. I didn’t know what to do, and I tried to do a project on my own. I was frustrated thinking “how come I can’t do anything? Is this just not meant for me?” I stopped coding again until January. Went through a book and realized that topics came much easier to me.

Then I found this subreddit, and constantly found the same advice on learning a language. Find what interests you and START A PROJECT. I found my interest and just went headfirst into the project. Looked up a couple of videos on some of the libraries I needed, looked up documentation, looked at GitHub and stack overflow.

After a couple of weeks, I finished up the first version of my project last night. Data engineering is very interesting to me, so I coded a simple etl pipeline. I extracted information from a sports api, validated the information, and loaded the info into a SQLite database. I installed DBeaver and loaded the table into a simple database. It’s not much, but it is a very encouraging start. I’ll post the code later on, but I just wanted to say thank you so much to this community!!


r/learnpython • • Dec 16 '20

Started a week ago and sent my first script

322 Upvotes

I started learning Python 10 days ago and I just sent my first script to a client. (well friend) She asked if I could scrape a website for her. Pretty damn proud is all........

EDIT:

Never knew this would blow up like it did. Cheers for the awards thats wild. Well a lot of you have been requesting the code, here it is: Scraper


r/learnpython • • Nov 29 '20

Python script to be automatically executed once per day

322 Upvotes

Hi all,

I have a very simple script that it scrapes data from a website. Ideally, I need to be executed once per day. Do you have any idea how could I achieve that? As it isn't something official, I need something for free.

Thanks!
PS I mean something online. I know about cron tabs etc.


r/learnpython • • Jun 15 '21

Is it ok to learn python and use it exclusively?

320 Upvotes

Hello,

im looking to learn a programming language for fun, and have been learning python via "python crash course 2nd edition". its been a smooth ride so far, currently im learning about dictionaries. I wanted to get an opinon from other coders if using just python by itself to make programs (not looking at doing any web stuff or machine learning) is a good idea. should i learn another language if i want to have more to play with, or does python offer that? excuse my ignorance.

EDIT: Wow, thank you very much for all the responses. I really appreciate it. I think it's safe to say, that sticking with python is the way to go. Like some of you have said, maybe i will get into something else down the road, maybe not.


r/learnpython • • Jun 14 '20

When to choose Django and when to choose Flask?

320 Upvotes

Hi guys,

I have been wondering and googling without being able to find an ELI5 answer to: When to choose Django and when to choose Flask? What can only be handled in Django and not in Flask?

Thank you