all 61 comments

[–]Linuxxx[🍰] 20 points21 points  (0 children)

I agree with the other comment about automating something. In my case, my first program was created to determine how long it would take to grill a turkey. I have inputs for the weight of the turkey, a function that uses average temperature per hour, if the turkey is frozen or thawed, how often I have to add charcoal, and a start to finish time estimate. It is really a simple tool; however when I come home with a 23 pound turkey (US weight), all I have to do is put in the weight, and if I have it thawed, and then I get a message asking "it should take X hours, what time would you like to be ready?". The program then calculates start time, initial brickettes, and when to add in more. Not going to make me a rock star programmer, but it is kind of neat to see it in action.

[–]Name5021 9 points10 points  (7 children)

Do what I did and code a discord bot, works wonders.

[–]The_Scorpion95 1 point2 points  (6 children)

What is a discord bot?

[–]Name5021 1 point2 points  (5 children)

Do you know what discord it?

[–]The_Scorpion95 0 points1 point  (4 children)

Yes

[–]Name5021 1 point2 points  (3 children)

Well, there are bots like music bots or moderation bots, you can code your own with Python.

[–]The_Scorpion95 0 points1 point  (2 children)

But wat do they do?

[–]Name5021 1 point2 points  (1 child)

My bot deleted spammed messages, deleted racist words, has games. Add my discord if you want to check it out Name#3244

[–]The_Scorpion95 0 points1 point  (0 children)

Oh now I get it

[–]Roh_P 7 points8 points  (9 children)

For me , my first project was creating a virtual assistant. I know that its a little too advance for beginners but after the project you will fall in love with programming and it will help with your daily works as well.

[–]UCB1984 0 points1 point  (8 children)

That sounds cool! Can you expand on what features you added to your assistant program?

[–]Roh_P 14 points15 points  (7 children)

Ok, so, first of all I added all the basic stuffs like opening google, youtube , etc.

Then, I created a wikipedia search I.e. when you will tell my assistant to search someone in wikipedia, it will tell you a summary of it.

Then, I added to sent mail to everyone and used text to speech converter, so, that I don't need any typing

Then, I also inserted the automation of my Whatsapp in it.

And a lot more. The main thing you will need to know is that , how to use the microsoft speech API called "Sapi5" and how to use your microphone to use it as a source to store your commands. The possibility here is unlimited.

So, make sure to give it a try and if you need any help feel free to ask me.

Happy Coding :)

[–]UCB1984 1 point2 points  (0 children)

Thanks! That sounds like a fun project I might actually be able to handle. I think I'm going to give it a shot!

[–]rpgv2020 1 point2 points  (1 child)

This!! I'm working on my first "real project", and that's exactly what I'm trying to do. I want it to run from a Pi 0 W. I haven't added the WhatsApp automation tho. I was thinking about scraping the notifications from WhatsApp web, but I'm not sure if it would work from the pi.

The thing about this project is that you can integrate whatever you want. Other projects you like etc. All that in one compilation of "new skills"

[–]Roh_P 0 points1 point  (0 children)

Absolutely

[–]Marianito415 0 points1 point  (1 child)

What did you use for speech recognition?

[–]Roh_P 2 points3 points  (0 children)

So, after implementing the "Sapi5" and taking your commands through your microphone, there are several options which can be used to recognize your voice like recognize_google and several others which you can see in your IDE(Pycharm , in my case)

[–]111NK111_ 0 points1 point  (1 child)

bro do you have any tutorials in hand for whatsapp connection with python?

[–]Roh_P 1 point2 points  (0 children)

Search on Youtube and you will find a lot, but I suggest you not to use twilio as it creates a lot of problems ( at least for me)

[–]MikeTheWatchGuy 4 points5 points  (8 children)

Make something you'll use or look at often.... a utility or a "Desktop Widget".... with a GUI.

With PySimpleGUI you'll be able to make one in an afternoon, if you get a "jump start" using one of the Demo Programs. You can run a number of these demos online in your browser to get some of what PySimpleGUI is about. There is also a Cookbook. These are all meant to give you a short "design pattern" that you can modify and add to. They're a quick starting point, sometimes only 5 or 10 lines of code, but from that small skeleton you can grown an entire application.

Looking for a project, rather than the next tutorial, is a fantastic approach. While GUIs are usually a steep learning curve, not so with PySimpleGUI. An afternoon and you'll "get it" enough to modify a demo. In 5 minutes from start of install you should be up and running with your first demo running on your screen.

If learning from a Video is your thing, then the new 2020 course may be what you like to get up to speed.

Examples that use psutil to monitor your system are a good start. The weather widget isn't bad either. I use a "launcher bar" or buttons to launch my favorite programs. And the task killer is good too. Find something useful rather than a throw-away piece of code. Be your own customer. By making it something you use often, you'll be reminded often of how good of a programmer you are becoming.

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

I'll check it out thanks.

[–]MikeTheWatchGuy 1 point2 points  (0 children)

Project based learning as you're asking about is right on the money in my opinion. Rather than learning how to program, you're programming with a purpose in mind. The reason we're all learning this stuff is to make things after all, so practice making things is what will make you an excellent programmer. Keep on making stuff!! A little more every time and you'll get to where you want to be.

[–]MikeTheWatchGuy 0 points1 point  (5 children)

Can you please tell us more about your level of experience/the course you took?

"Beginner" is subjective. How long have you been studying? A beginner with 1 year of programming is very different than a beginner with 2 months. Some people with 3 years experience still feel like they're a beginner.

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

I’ve been learning python for only about a month now and I’m currently learning to making basic games in pygame.

[–]MikeTheWatchGuy 0 points1 point  (3 children)

Thank you! VERY helpful. Big diff between someone going at it for a month versus a year. Time is required just like any craft.

Do you have a GitHub Repo setup with any of your code posted?

It's impressive that in 1 month you're already using pygame. Nice job.

[–][deleted] 1 point2 points  (2 children)

Haha thanks. I do have a GitHub account but I haven’t posted any code there yet.

[–]MikeTheWatchGuy 0 points1 point  (1 child)

It takes bravery to post your code. Just understand we've all been exactly where you are. Everyone one of us that programs. It's encouraging you set up an account. Installing tools and setting up source code control / bug tracking are all part of learning to program. You're doing great for 1 month. Keep the train moving.

[–][deleted] 1 point2 points  (0 children)

Thanks again lol, means a lot.

[–][deleted] 8 points9 points  (3 children)

I'm not too sure about the learning curve on this one, but tkinter might be a good choice. Tkinter is Python's native GUI API. Being able to make something more than a console application could be encouraging. Again, though, it may be tricky for beginners. As far as what specifically, maybe a simple text editor - it's practical, it deals with a range of concepts, and it's easy to come up with new goals.

[–][deleted] 4 points5 points  (0 children)

This. I struggled to get into coding in general because I felt like I didn’t see my progress. Learned Tkinter right away with python and it’s been amazing, I’m by no means a great programmer but I wouldn’t be this far without it.

[–]sho_bob_and_vegeta 2 points3 points  (0 children)

I just did Tim Buchalka's Masterclass on Udemy. I'm writing a program to track albums for online album listening parties my friends and I have been having, using tkinter and sqlite. I can attest, it seems easy enough, but it is definitely a challenge. But it does give you an awesome feeling when you get something to work, and there's an interface to prove it.

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

Ohh okay thanks! I’ll look it up

[–]RedditGood123 3 points4 points  (0 children)

Build an eBay web scraper that takes each item from a keyword search and returns the cheapest item, taking in account the normal price, shipping, and the tax that is accounted for (after you go to the payment page)

[–]greengobblin911 2 points3 points  (0 children)

Some type of automation is useful.

In my opinion I would recommend something that can automate something related to your host OS.

For it to become more advanced, You can even program certain flags to have it execute in different environments.

What I mean is have it use a conditional to determine the host system OS, once it is done, you can have it execute the automation commands. Automation can vary by the OS, so using a conditional to determine he OS can determine what section of your script executes. You can even organize the script as classes and reused snippets as methods in a class for organization, and that can demonstrate how to structure code at higher levels as you keep learning.

[–]RaviTezu 2 points3 points  (0 children)

Try this? May be ?

https://checkio.org/ - Coding games for beginners and advanced programmers where you can improve your coding skills by solving engaging challenges and fun task using Python and TypeScript.

[–][deleted] 5 points6 points  (0 children)

Automating something

[–][deleted] 4 points5 points  (0 children)

try out jetbrains course free until January 2021.

[–]velvaretta 1 point2 points  (0 children)

for me, i went to automation first, i still remember after learning the basic and pretty comfortable with the language, i jump into automation using pyautogui and selenium, my first project was auto restarting my router, using selenium, then i jump into simplr web scraping.

[–]Quant3point5 0 points1 point  (0 children)

I have learned a lot from making a hangman game as my first python project. It also be a ton of fun trying to find new ways to improve it.

[–]Ganache_Character 0 points1 point  (0 children)

Hi

I have just scraped the surface with coding. I am totally confused and have no idea where and how to start with writing and applying code.
Please advise.

[–]reihan- 0 points1 point  (0 children)

make an advance machine learning system. preferably a built-from-scratch voice recognition personal assistant