@jeswinsunsi1Uh so in 2016, I had this bright idea, to make an operating system. Problem was, I only knew Qbasic. I don't give up easily, so what did I do? Did I learn Assembly and C? Yeaaaaaaah, no. Big brain me decided to do it in Powerpoint :picard-facepalm: With 74 slides, all hooked up with animations and transitions and a few dozen lines of Visual Basic (If you thought normal VB was bad, wait until u saw how I wrote it and how I named stuff) I managed to create a very dumb prototype. It has three mini games, a broken browser, a calculator, ability to change wallpaper, and a couple other things. It wasn't total waste tho, a lot of my classmates were in awe and I got into my school's faux computer club two years before others could, aaand it encouraged me to learn Python and that's how I got into coding and stuff. Why am I talking about it now? Well I popped in the USB I saved my project in after two years, and Jesus Christ I can't believe how cringy I used to be.
@alialiwa20050Here's a :python: program I've coded today, hosted on :replit: (repl.it/@alialiwa2005/Minutes-to-Seconds).
It converts minutes to seconds ⏰, with up to two decimal places in the outputted calculation :abacus: for extra precision, and minimized confusion.
This program is opensource under an MIT license.
Feel free to hack and build on my code! :hacker-cat:
@sampoder7+Hosted an interactive sound festival this morning at school. Powering it was a massive system of NodeMCUs, a web app, python scripts, an API and groovy Sonic Pi code.
more: github.com/sampoder/sound-festival, videos in thread & thanks to zach and hq for helping with voiceovers
@alialiwa20050Odd or Even?
A :python: program, hosted on :replit:, which checks if a user's inputted integer is even or odd.
My program has error checks, such as checking whether an inputted value is truly an integer; if not, it asks for new input, without breaking the entire code.
Additionally, my program also asks users if they'd like to enter a new value and check if it is even or odd, after an integer is determined as odd or even; using loops.
This program is :crazyblackstone-opensource:, under an MIT license; so you can hack :hacker-cat: and build on it however you'd like!
Challenge Solved: bit.ly/3doBhCJ
@Timothy0im making an unofficial fanmade bot for a popular website in poland
this website doesn't have an api or anything so im using lxml
this is my first ever big boy python project
@abbers0My school friend and I used :tensorflow: and :python: to make a GAN (a type of neural network) that generates decent color schemes? which is pretty cool 😄. I bet half the time it's overfitting lololololol, but I have no clue how to use Keras to get the loss so I can actually take a look at it & confirm
@alialiwa20050Today, I've started exploring :python:'s math operators.
I've made this code, (repl.it/@alialiwa2005/Math-Operations-on-User-Inputs-02082021?v=1), which uses Python's math operators in various cases, as well as math.sqrt() from Python's awesome math library (my :python: program solves algebra and geometry problems).
The code makes calculations based on two integers and a distance-measuring unit are received as inputs from a user and those three user-inputs are each assigned to some basic variables.
Then those variables, which represent the user's inputs, are used in calculations; squaring, cubing, modular division, and even calculating the length of the hypotenuse of a right triangle which has two legs (each of those two triangle legs have a measurement of one of the user's two inputted numbers, using the unit of length which was inputted by the user).
Run my code on !
The mentioned is opensource and free for all to remix and build on, under a CC-BY creative commons license; so feel free to fork & hack my program.
@matthew0Earlier today I stumbled across a series of Twitter bots that make cool generative art. The creator, who previously did not know how to code in Python before making those bots, said that this article was instrumental to him figuring out how to make those bots. So for the last few hours, I've been going through this and following along and making my own random image generator. The code was less than 100 lines long, so I figured it would be pretty simple, but there's soooo much going on that it took me hours to figure out how it works. Here's the repl where I built it. And here are some of the images I made with it.
Now that I understand how this works, I'm hoping to hack it a bunch until I make something unique and that's entirely my own creation 👀
@cwi0Hello! Today I am happy to announce that I am releasing Sailboat (github.com/cole-wilson/sailboat) for the first time! ⛵ Sailboat is a Python developer’s best friend. It’s a Python build tool that can do anything you need it to! It supports a countless number of plugins — you can even make your own. Sailboat is made for anyone, whether you are a beginner on your very first project, or a senior software engineer with years of experience.
Let’s say that that you have created a basic game, Guess My Number, and you want to send it to all of your friends. There are a lot of different ways you can do this, but using Sailboat is the easiest. All you have to do is type three commands: sail quickstart, sail build, and sail release, and you can have a Homebrew file, a pip installable package, and a PyInstaller desktop app in less than 5 minutes. So easy! :python:
You can check it out at github.com/cole-wilson/sailboat and sailboat.colewilson.xyz
Please let me know what what you think, and if you find any bugs let me know, or submit an issue!
@ella2I did Harsh's twitter automation workshop! :python:
@ceo7710Python Discord’s AOC Leaderboard, at 23rd rn lol
@isacisboss7180I got my summer of making stickers in the mail with the fancy wax and stuff, but no picture because my camera doesn't want to work. Here's pycharm because I got it today
@joshThe2nd0Wrote a DNS Server in python for a rebinding ctf challenge
@cwi0Today/yesterday I release my first installable python app: nought. It organizes all of your files in custom ways that you define. For example, sort all your screenshots into folders by month. It includes powerful options and is super customizable.
If you have any questions/find any bugs. Please submit an issue or PR!
@Rafi0Deployed my python Bot 'Minnal Murali'. Spend lot of time on heroku. Bug at last found a blog post, Corrected my error simply by changing file name and Procfile 😂 Checkout my project on GitHub: github.com/rafitc/Minnal-Murali
@hkatzdev0TIL that python has while else statements - interesting, though feel like it is very situational and can easily be replicated with another if statement / a boolean.
@Rafi0Completed my python Bot "Minnal-Murali". It will send e-mail based on typeform responses. Planing to use in our club for sending event confirmation e-mail to attendees.
Returns True if all the values in a list are unique, False otherwise.
• Use set() on the given list to remove duplicates, use len() to compare its length with the length of the list.
@aryasoni980Checks if all elements in a list are equal.
• Use [1:] and [:-1] to compare all the values in the given list.
@deltaonealpha0Made a webhook-based one-shot kill switch for my program. Pinging the program's bot with a keyword (from the admin account) acts as a kill switch for situations where the admin may observe unusual activities...