#learningpython — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #learningpython, aggregated by home.social.
-
ISS Coordinates Tracker.
This script tracks the ISS coordinates every 15 seconds. If they match our coordinates within +- 5 degrees, it checks if current time is between sunset and sunrise and prints the message "ISS is passing above".
-
I made a python script that fetches the ISS coordinates (every 60 seconds for now) and if the coordinates match +- 5 degrees with my coordinates, then it prints "ISS is above."
The print part didn't function due to a bug I'm trying to solve. Everything else ran as expected. I went to the window and there it was. The ISS passing above in the sky.
-
I'm new to this. Still learning my steps in Python, Git and so on. But here you go.
PyCorhex - A small program that extracts hex color values from an image.
This is the CLI version. I'm currently trying to develop the GUI version.
-
I wrote a program in python that sends a quote of the day to my email if the day of the week is Monday.
I think I'm making progress in my python studies because I didn't struggle to write the program. And I wrote it relatively fast.
-
Good evening, @cybervegan ,as talked yesterday, here's the github, the latest exercise is up. Little pokerlike game in which who gets the best combo wins. Got it to random.sample 3 deals for the players, you can see card name and numeric value. I'm tinkering around to get the .values added but I cannot figure out how to.
https://github.com/JoseMachete/learning_python
Next step would be to compare the dealings to get a winner. The idea's roadmap for that is easy but to write the code for it...
#learningpython #python -
Mastering Advanced Python from Scratch to Advanced
-
Well, I came across this course and I got to tell you: for the price I've payed and the quality it is, I almost feel like I'm robbing someone 😟
Got make something out of my career, it's never too late to start learning something, right?
-
So in #Python constructor is made by : def __init__() method 👀 #learningpython #learningtocode
-
After half a day of installing #conda and learning about environments, I got a script up to download #Google images of golden doodles and fried chicken for a silly project 🤩 #smallwins #learningpython
-
🎉 🐍 I refactored all my dict into "dataclasses" with @dataclass decorators.
python_badges += 1
-
Hi, I’m trying to teach myself Python, and I’m currently having problems with using three single quote marks to form a multi line comment in a program, like everybody else seems to be able to do without much problem.
But every time I type something on multiple lines, finishing with another triple single quote it always echoes what I’ve typed, on one line complete with all the necessary \n
characters.See photo of printout page below.
What am I doing wrong? Obviously, I am suffering from some very basic lack of understanding of what I am actually doing.😂😩😳😢
-
I studied while loops today... I think I should be able to write a simple warm cold number guessing game in python #learningpython