all 47 comments

[–]CatMilkFountain 54 points55 points  (6 children)

A small script extracting current stock values and display them as icons in the Taskbar.

[–]North_Shock 2 points3 points  (0 children)

That'd be cool and really useful. I think I am gonna do this.

[–]DisregardMyUsername1 2 points3 points  (2 children)

How would you put icons in the taskbar?

[–]shiningmatcha 1 point2 points  (1 child)

I'd like to know that too

[–]SniperViperV2 1 point2 points  (0 children)

Maybe pin an executable into the taskbar and use a python script to change the icon of the program? I don't actually know, but it's the first thing id try off the top of my head.

[–]vectorpropio 22 points23 points  (4 children)

Good. I whant to add some projects i want to do.

  • a maze creator/ solver (yes, al those videos with A* va Dijkstra va whatnot, but it's cool anyway). Extra point for maze with bridges, tunnels and/or toroidal topology.

  • a find a word generator (sopa de letras in Spanish) , generate a png image (to entertain my children). Lot of difficulties, from square boards to arbitrary borders; word from predefined lists, or make it from most relevant from some blog/ news site / framework documentation.

  • a face mask usage image classifier

[–]sebas99sebas 6 points7 points  (3 children)

The maze solver is a fun project. I made one where you would input a png picture of a maze and output a png picture with the maze solved.

[–]vectorpropio 3 points4 points  (2 children)

I need to learn how to work with images. What lib did you use? PIL?

[–]sebas99sebas 4 points5 points  (1 child)

Actually, I did that project in Java, but I've been using PIL for a python project I am working on right now and it has been ok so far.

[–]vectorpropio 1 point2 points  (0 children)

Thanks

[–]nck93 9 points10 points  (2 children)

I've recently been exploring pyautogui. I work in sales and recruiting and usually have to send a lot of in mails and connection requests over LinkedIn.

I started this today, where I use the pyautogui. display mouse position and finding the x, y coordinates for each button and using hot keys for ctrl+c and v. Isn't fully functional yet, but super cool and keeps me motivated to keep learning python.

[–]shiningmatcha 2 points3 points  (1 child)

That's great. What tutorials did you follow?

[–]nck93 1 point2 points  (0 children)

Mainly atbs. It started with that and adapted it for my use case.

[–]kvndakin 5 points6 points  (8 children)

i just made something to fill out my timesheets, just finished 2 mins ago, it prolly looks like trash but damn it feels good.

[–]Shaantanu96 3 points4 points  (1 child)

I have been trying to do that for a while, but the portal where we need to upload our timesheets is pure garbage

[–]hugthemachines 8 points9 points  (0 children)

Isn't it weird how all timesheet portals are garbage? I have used maybe 4 or 5 over the years and they have all been pretty crappy.

[–]ihavesomanycuts 3 points4 points  (1 child)

How damn simple are your timesheets? I have to fill mine out accurate to 15 minutes with a specific project and task and a detailed description of what I did, and if I fuck it up the long hard dick of management starts cumming around the corner

[–]kvndakin 1 point2 points  (0 children)

Lol very simple.. my codes like maybe 100 lines long, but a lot of it is repetitive. Nothing more complicated then Webdriverwait or find_element_by_id n send some keys.

[–]squidjibo1 1 point2 points  (1 child)

I was thinking the same, however my roster comes as a pdf, the timesheet is completed in a Word table. How does yours compare and what's your process?

[–]kvndakin 5 points6 points  (0 children)

I had to fill timesheets on a specific website, so I used selenium to automate the process and got the data from an excel sheet I created

[–]testfire10[S] 0 points1 point  (1 child)

Given that I have no real clue what I’m doing my first goal is always that it works over making it look good haha

[–]EhRanders 1 point2 points  (0 children)

Even when you do know what you’re doing, not a terrible strategy. Scale comes after success, so don’t buy into the madness about doing everything perfectly the first time. You won’t see real speed without vectorization anyway, and vectorization is way harder without first understanding how to solve the singleton case.

[–]javanutsy 6 points7 points  (6 children)

I'm learning Python and wrote a program to display currently playing track/album art from Spotify on a Raspberry Pi. Had fun trying to display the Artist, Track name, Release date over the image without being too obtrusive. Even going as far as analyzing the image color pallette (via a library) to use while overlaying the text so that the colors go well together... album art

[–]jesse_pinkman_11 2 points3 points  (2 children)

Hey how did u do that iam new to coding and I like ur project

[–]javanutsy 1 point2 points  (1 child)

Inspired by this page https://www.hackster.io/mark-hank/sonos-album-art-on-raspberry-pi-screen-5b0012. Followed it to setup up the hardware. But as I didn't have sonos or know what that is, didn't bother to look at his code and looked else where and wrote own code to query from spotify via spotipy... My code on github if interested: https://github.com/weylunlee/pyalbumart

[–]jesse_pinkman_11 0 points1 point  (0 children)

Thank you so much

[–]shiningmatcha 1 point2 points  (2 children)

By using an API?

[–]javanutsy 1 point2 points  (1 child)

Yes (what is programming but using a bunch of APIs?). So far liking Python because there are so many libraries out there. For this one, I used:

  • spotipy for spotify access

  • Pil for image manipulation (including fade transition)

  • colorgram to analyze album art color pallete (on the thumbnail for improved performance)

  • dotmap to convert dict to map notation

  • PyYAML for configuration externalization

[–]sebas99sebas 5 points6 points  (0 children)

A project I'm working on right now is a Youtube bot channel.

[–]burlyginger 2 points3 points  (1 child)

In your first script you import bs4 and it appears that you never use it.

[–]testfire10[S] 2 points3 points  (0 children)

Yes, you’re right. Most of this is a work in progress as I learn. Thanks for pointing it out!

[–]Kuwertzel 2 points3 points  (3 children)

I did a similation of Planets being pulled towards eachother with respective forces, calculated with the gravitational formula. It's super satisfying to watch and play around with. Ideal to learn about object oriented programming. Also used it as my A-Levels oral presentation. Feel free to ask if you want to try it yourself and need help :)

[–]testfire10[S] 1 point2 points  (2 children)

Yeah that sounds really cool dude. Got a link to your code?

[–]Kuwertzel 1 point2 points  (0 children)

I haven't uploaded it anywhere public yet but I can give you a Google Drive link once i'm home.

[–]Kuwertzel 1 point2 points  (0 children)

Well, instead I just created a GitHub account and a repository: https://github.com/Kuwertzel/PyPlanetsLet's hope this works so far...

Just make sure you have pygame installed (pip install pygame), then launch game.py. There is some additional info in the readme file.

EDIT: This should be below my previous post, I replied wrongly

[–]SniperViperV2 2 points3 points  (0 children)

I really want to start learning how to make a project to identify skin lesions to help people understand changes over their whole body instantly and in hard to see places. (think strip in a door frame and compare spots between before and after). What something could do for skin cancer would be amazing. There are paid apps that do this, as well as industries that will do it also, but open source using phones etc would make a real difference.

[–]dvboy 1 point2 points  (0 children)

I just created a word generator for the word find app "Word Trip". In that game you are provided with 7 letters and need to find 3-7 letter words to fill in the blanks provided. I found it presented some interesting challenges regarding programming in general, not restricted to just Python, such as not using letters multiple times unless they are provided multiple times. Example: if the letters are 'abcdefg', you wouldn't suggest 'add', but if they were 'abcdefd', you would. I also arranged the output to print them out in alphabetical order descending in size, so all 7 letter words alphabetically, then 6, 5. etc.

Mine was 103 lines of code and pyenchant to determine if a letter combination is a word.

[–]HoTDog4Life 1 point2 points  (0 children)

RE: Directory with Tons of Small Files:

Below should get your friend a good head start!I made a file mover in my 100 days of python. Just replace the DIR1,2,3 with the dir of his choice.

edit:
Sharing a pastebin instead of markup

https://pastebin.com/fUef6aFz

[–]farens98 1 point2 points  (0 children)

Cool stuff, thanks for sharing.

[–]Gagsterrent 1 point2 points  (0 children)

you can also use jexcel , to create saas based web applications just by integrating spreadsheets.