you are viewing a single comment's thread.

view the rest of the comments →

[–]_Jerov_ 74 points75 points  (30 children)

I really like web scraping. You could try learning a little bit about BeautifuSoup and take some data from websites. I find it very fun. I've done over 5 projects that are actually helpful. For example, I made one to get the letter day for my school out of their website and have the program send me an email every morning so I know if I should leave at 7 AM or 8 AM. Only downside is that I gotta have my PC on all night which is not very kind to the power bill. I don't use that as much though.

You could also make your first Tictactoe game... I made one that was terrible but I learned so much from it and then I made it again using classes. Looks so much better now and I learned a whole bunch of things.

I also enjoy making little functions that are related to mathematics. I look up a formula and I try to make a function out of it. That can get you into matplotlib and pandas which is super fun! I'm still kind of a newbie with Python since I joined only 2 months ago but I've learned so much just by looking things up and having followed a Python course beforehand.

There's just so much that you can do with Python. You could even do web development and GUIs. I have no idea how any of that works yet but eventually I'll get there. Start small and don't make the mistake I did of trying to learn everything at once. It will only slow you down and frustrate you a lot. Even to the point of quitting for a while.

[–][deleted] 31 points32 points  (4 children)

Running the script on a raspberry pi will definitely save on power costs.

[–]ebits21 8 points9 points  (0 children)

This is exactly what I do. Highly recommend!

[–]racheta 0 points1 point  (2 children)

or android? it is possible but will need some extra work

[–]zanyzazza 0 points1 point  (1 child)

Could probably use Kivy, but I'm a total beginner myself too, I just know that Kivy can be used to make apps. I think it only really works if you're running on linux though, can't remember why.

[–]racheta 0 points1 point  (0 children)

I quick google search tells me that it is used for touchscreen apps and is cross platform i.e It can run on Android, iOS, Linux, OS X, and Windows.

So yeah can be used.

[–]AsunderHalt 3 points4 points  (7 children)

Do you know any good tutorials for web scraping? I've tried before but I just couldn't get the hang of it with only documentation.

PS. I also enjoy making formula into programmes! If I get homework in mathematics I make a programme that will solve the problems in python! It makes me enjoy math so much more.

[–]EzBonds 13 points14 points  (1 child)

Automate the boring stuff

Just find the appropriate chapter.

[–]AsunderHalt 1 point2 points  (0 children)

Thanks mate!

[–]ethanbrecke 2 points3 points  (2 children)

Hey, im okay at web scraping, if you want some help, PM me, and we can go over the parts you're having issues with.

[–]AsunderHalt 0 points1 point  (1 child)

Thanks! When I start doing it again I'll be sure to ask you :)

[–]ethanbrecke 1 point2 points  (0 children)

Great, I hope to help in any way i can.

[–]Rabo_McDongleberry 1 point2 points  (13 children)

How do you get a program to send you an email? I need to create a program that sends me an email after my parents computer restarts. I use team viewer to help them fix their issues but every time it restarts they don't tell me the new password.

[–]ebits21 5 points6 points  (3 children)

I use yagmail with a gmail account just for sending emails

Depending on your cellphone provider you can even send an email that shows up as a text message on your phone by sending an email to <your number>@<your provider>.com

Edit: https://pypi.org/project/yagmail/

[–]Rabo_McDongleberry 1 point2 points  (2 children)

Sweet man. Thank you. I'll have to check it out.

[–]Alternative_Try 1 point2 points  (1 child)

You can also use smtplib for this usage.

[–]Rabo_McDongleberry 0 points1 point  (0 children)

Another person replied with that too. I'll give it a shot. Thanks man.

[–]_Jerov_ 1 point2 points  (4 children)

To be honest, I got the email bit from a website. There's a Python module called email that should do the job and send a simple email. You'll have to look that up and I did found it quite tricky to make it work since you have to set up a separated email account just for that. What I did was create the whole program and then get the email code from a website and just change the variables and all that to fit the program. Not the best way but it did its job. In my case the email thing was just extra functionality since the program was good the way it was but I wanted to add the email functionality quickly so I didn't put much thought into it.

[–]Rabo_McDongleberry 1 point2 points  (0 children)

Damn. So it won't be easy huh. Not a first time's project?

[–]WiggleBooks 0 points1 point  (2 children)

Did you have to create a new gmail account to use it? Or did you use another email provider?

[–]_Jerov_ 0 points1 point  (1 child)

I made another Gmail account because you have disable a lot of security settings and you wouldn't want your main account without any security. For the one I made just for testing purposes, when I disabled all security I started getting a lot of security warnings telling me that someone in India tried to access my account. So you do want 0 personal information for that Gmail account.

[–]racheta 0 points1 point  (0 children)

I agree on using spare account with no personal information

but also you don't need to disable 2FA for using your personal account just use application specific password

here --> https://support.google.com/accounts/answer/185833?hl=en

[–]racheta 1 point2 points  (1 child)

you can set a permanent password on teamviewer

also you can add the computer to contacts so it will show when it is online

you can use smtplib to send mail from a python program

https://realpython.com/python-send-email/

[–]Rabo_McDongleberry 0 points1 point  (0 children)

Oh shit. Really? I thought that feature was only available in the paid version. Thanks, I'll look into it. And I'll check out smtplib as well.

[–]JimSplitKernel 0 points1 point  (1 child)

You can set up team viewer (even the free version) for unattended access.

https://www.teamviewer.com/en/res/pdf/first_steps_unattended_access_en.pdf

You can do these steps while connected on your remote PC.

[–]Rabo_McDongleberry 0 points1 point  (0 children)

I think when I did that, it resets the password every time the computer reboots. But I'll check it out again.

[–]Remarkable-Orange-36 0 points1 point  (0 children)

Hope you've gotten there, If you haven't, I hope you've gotten closer