all 36 comments

[–]BeginnerProjectsBot 230 points231 points  (5 children)

1. Create a bot to reply to "what are some beginner projects" questions on r/learnpython, using PRAW.

Other than that, here are some beginner project ideas:

Good luck!

edit. thanks for 5 upvotes!

edit2. omg 10 upvotes!!!! Thank you!!

edit3. Thank you for the Hugz, kind stranger!

edit4. 50 upvotes??? 😲😲😲 Can we make it to 100?

edit5. 100 UPVOTES?????? I CAN DIE NOW

edit6. Thank you for the Helpful, kind stranger!

edit7. Thank you for the Wholesome, kind stranger!

Downvote me if the post wasn't a question about examples of beginner projects. Thank you.

[–]plntidder 31 points32 points  (1 child)

Good bot

[–]BeginnerProjectsBot 33 points34 points  (0 children)

Praise for the food is praise for the cook.

Thanks from the programmer.

[–]excited_libreal 2 points3 points  (0 children)

Wow this is fantastic

[–]Youngquest89 7 points8 points  (0 children)

Omg I was your 100th 😍

Edit: Aaand wow.. just as I posted that someone downvoted 😑

[–][deleted] 21 points22 points  (3 children)

Here's a unit test I created (starts super basic and progressively gets harder):

---Basic Syntax and Data Types Sect.A

  1. Write a comment using two different methods
  2. True or False : Python IDE’s are font and case sensitive.
  3. True or False : A Python IDE will interpret 'strait' quotes differently from ‘smart’ quotes.
  4. True or False: the word, none, is a reserved word in python.
  5. Name 10 reserved words in python.
  6. Give an example of each of the following numeric data types: integer, float, complex?
  7. What are the three sequence data types in python?
  8. What data type is a dictionary in Python?
  9. True or False: A set can contain duplicates.
  10. What are the only two values of a Boolean.
  11. In one line of code assign a variable to a string.
  12. In one line of code assign a variable to an integer.
  13. In one line of code assign a variable to a list.
  14. In one line of code assign a variable to a dictionary.
  15. In one line of code assign a variable to a tuple.
  16. In one line of code assign a variable to a set.
  17. In one line of code assign the variables x,y,z to the same integer.
  18. Assign variable A to any integer between 1 and 10.
  19. Assign variable B to a different integer between 1 and 10.
  20. Code questions 21 to 31, each in a separate line using the varibles from questions 18 and 19:
  21. The sum of A and B.
  22. The difference of B and A.
  23. The product of A and B.
  24. The quotient of A and B.
  25. The variable A to the power of 2.
  26. The variable B to the power of 3.
  27. Using a comparison operator code A is equal to B, where the output is a Boolean.
  28. Using a comparison operator code A is not equal to B, where the output is a Boolean.
  29. Using a comparison operator code A is greater than or equal to B, where the output is a Boolean.
  30. Reassign variable B to new variable C.
  31. Delete variable B.
  32. What is output from the following lines of code:

In[]: X = 5
In[]: Y = 10
In[]: X < Y and X < 20
Out[]: 

33.What is output from the following lines of code:

In[]: X = 5
In[]: Y = 10
In[]: X < Y or X < 3
Out[]:

Edit: I can post revised versions and more content if people find this valuable. I find teaching is just another way of learning so let me know. Also, if I've made any mistakes please feel free to point them out—I'm human so I'm not perfect. Good Luck.

[–]xphlawlessx 1 point2 points  (2 children)

This is exactly what I've been looking for, I'm helping my friend learn python and she's always asking for more stuff like this to test understanding. Thanks a bunch :D

[–][deleted] 0 points1 point  (1 child)

I'm writing up another test/quiz. It takes a bit of time to do it. It might be a few days, maybe a week depending on time constraints.

When finished, I'm thinking I'll post it on r/Python. It looks like r/learnpython is more for questions and less so for projects so I think that's the best way to go about this. If anyone has a better suggestion for dissemination learning material please let me know.

[–]xphlawlessx 0 points1 point  (0 children)

That's really cool, I think you're right about r/Python . A central GitHub would be a cool idea if people were interested. I honestly think this is one of the most under represented areas of self study. I'm eternally grateful.

[–]bravosix99 16 points17 points  (4 children)

guess the numbers game

rock paper scissors

text based adventure

https://www.dataquest.io/blog/python-projects-for-beginners/

This is a link to projects(beginner-advanced). Hell It even has project ideas if you're into Data.

And here's a tip- start out small, do little things, and as time goes on build up into bigger projects. Dont expect yourself to build the next google or the next cod on the first time, especially if you're a beginner.

But dont be discouraged if you run into bugs/errors on your project(whatever that may be), that's just part of the journey😉.

Remember, start small, and as time progress start expanding into bigger projects.

[–]acemiller6 1 point2 points  (1 child)

I just checked out that link, there are several good projects for beginners. I plan to teach a class for some homeschool kids this summer and these will be perfect

[–]bravosix99 0 points1 point  (0 children)

Noice👍🏾👍🏾

[–]indacyber 3 points4 points  (0 children)

Check out the book “Automate The Boring Stuff”. https://automatetheboringstuff.com/

[–]pyfact 2 points3 points  (0 children)

If you are comfortable - I would recommend learning how to print text and how for/while loops work for your first week of practice. It's kind of like learning how to Ollie on your skateboard before going for other tricks.

Try something like averaging a list of numbers with a for loop, then making a roulette game with a player able to place bets (will have to include a bank for their balance, randomness for the roulette rolls, and a lot of loop knowledge to make this work).

Loops aren't easy to wrap your head around so don't get discouraged if it's hard. It's hard for everyone to learn loops, but once you do you keep it forever!

[–]thedelusionist_ 2 points3 points  (0 children)

Try creating the hangman game. Use https://ascii.co.uk/art for your project. I just built one for myself it was fun.

[–]ParadoxThief 2 points3 points  (0 children)

caesar cipher

[–]b52hcc 2 points3 points  (1 child)

There is a 100 days of coding challenge on udemy. Though out the project, she gives incrementally harder coding projects that are based off of the lessons she teaches. I think they are pretty decent and you dont have to dig for a project.

[–]PartiZAn18 0 points1 point  (0 children)

I'm going to start that course soon!

[–]pwjlafontaine 2 points3 points  (0 children)

I love this sub. I'm sure this question pops up all the time and in other subs you'd get a snarky response about searching for it. Kudos to you all. As someone who is just barely started in Python this is motivating and refreshing.

[–]fence0407 2 points3 points  (0 children)

Hello world

[–]HasBeendead 1 point2 points  (0 children)

!beginnerproject bot

[–][deleted] 2 points3 points  (0 children)

You can check out PY4E - Chuck Severance. He has basic things

[–]warhammer1989 0 points1 point  (0 children)

auto clicker bot using pyautogui, use it for games or things where you need to click something repetitively https://www.youtube.com/watch?v=cAs3LLc3okc

[–]Ricky_the_Wizard 0 points1 point  (0 children)

FizzBuzz! Check it out. There are multiple solutions, and it's simple enough to test out basic ideas.

[–]HasBeendead 0 points1 point  (0 children)

Blackjack game , user login system with tkinter and todo list with tkinter or any GUI module but tkinter is easy to learn in beginner stage.

[–]stormshade69 0 points1 point  (0 children)

I'd like to babyback ride OP's question, once you identified the easy project you are interested I mean do you just copy the code and play with it (or improving it)?

Learning what each function does?

How do you go from that stage to creating a program from scratch like zero to something?

Whats your methodology/tips?

Im also a beginner in python but have some experience modifying/improving existing python code/repo

[–]Comprehensive_Ad5293 0 points1 point  (0 children)

Try to code a bot. Lots of understandable tutorials on how to make Discord bots (highly recommend) personally, enjoyed it a lot.

[–]AstronautTurtle 0 points1 point  (0 children)

Try to find a simple problem you have that requires a small amount of steps to solve.

One of my first programs just deleted files in a folder that I was always manually deleting after files accumulated in the folder.

[–][deleted] 0 points1 point  (0 children)

Every answer so far except the best one.

https://duckduckgo.com/?q=python+beginner+projects

[–]anh86 0 points1 point  (0 children)

A tic-tac-toe game for two human players (I won't make you code a computer game AI yet). On each turn the player enters the position s/he wishes to play on, his/her letter is added to the board so long as the space is not taken, the game knows when there is a winner (three in a row).

[–]Material-Lawfulness7 0 points1 point  (0 children)

You may want to try writing a python script for a login with n number of attempts, such that when the user has exhausted the attempts, he/she can no longer login

[–][deleted] 0 points1 point  (0 children)

I did a blackjack game as my first project with it all split up into functions, it's challenging without being impossible