Posts tagged with :python:

@jeswinsunsi1
Uh 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.
image.png
@alialiwa20050
Here'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:
replit-minutes-to-seconds_1.gif
replit-minutes-to-seconds_2.gif
@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
image_from_ios.jpg
image_from_ios.jpg
image_from_ios.jpg
image_from_ios.png
image_from_ios.png
image_from_ios.jpg
@alialiwa20050
Odd 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
@WilliamLane0
writing python libraries in nim for speed
screen_shot_2021-02-16_at_20.12.30.png
@Timothy0
im 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
image.png
@abbers0
My 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
image.png
@alialiwa20050
image.png
image.png
@alialiwa20050
Today, 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.
image.png
image.png
@alialiwa20050
Here's my fully-functional re-make of a user-inputted story (inspired by Mad Libs) written inย :python:ย , and hosted onย :replit:ย (repl.it/@alialiwa2005/User-Inputted-Story-Python-2020-2021?view=1). As you may have noticed, the code is more organized and a bit less complicated than my initial attempt. It's true... sometimes, a fresh start is what you need!
image.png
image.png
image.png
@abbers0
I've created my first web scraping script in Python! Not very exciting, though, just getting color schemes to make an ML dataset.
image.png
@alialiwa20050
I've written a program for my Python CS class' (repl.it/@alialiwa2005/User-Inputted-Story-Python-2020-2021-Needs-Fixing), can't seem to resolve the errors... I hope and plan to revisit and fix this soon, when I learn more :python: . In the meantime, I'm starting freshly from scratch, and writing a more simple program (my initial attempt may have been over-complicated).
image.png
image.png
@MichaelBoyko0
How real men code
screen_shot_2021-02-04_at_8.41.16_pm.png
@BrendanShen0
Wow!!! The ultimate code
image.png
@alialiwa20050
image.png
image.png
@JayanthMani0
image.png
@abbers0
I learned how to make a text generator using TensorFlow, Python, and my writing as a dataset, and I got this weird mumbly jumbly stuff:
image.png
@asboyer0
my favorite lego set!
576763-y-wing-box-lead.jpg
@matthew0
Earlier 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 ๐Ÿ‘€
img0.png
img2.png
img0-3.png
img0-2.png
img4.png
img3.png
@asboyer0
We made a sick club logo
logo.png
@cwi0
Hello! 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!
sailboat.png
@ella2
I did Harsh's twitter automation workshop! :python:
screen_shot_2021-01-23_at_9.30.34_am.png
@christina6950
Started this awesome thing....
screen_shot_2021-01-21_at_10.05.10_am.png
@vish28.gaur0
Here is a big data cleanup, organization and graphing program I'm working at in Python.
image.png
@JuanGonzalez0
learning python
image.png
@alpha_byte0
My first ever Python Programm with visuals!!!
image_from_ios.jpg
@bellesee12120
Followed this tutorial to create by own discord bot today ;))
screenshot_2020-12-21_at_12.13.58_am.png
@hemesh0
img_20201211_233319.jpg
@ceo7710
Python Discordโ€™s AOC Leaderboard, at 23rd rn lol
image.png
@isacisboss7180
I 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
capture.png
@joshThe2nd0
Wrote a DNS Server in python for a rebinding ctf challenge
image.png
@cwi0
Today/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! github.com/cole-wilson/nought
screenshot_2020-11-16_at_7.12.41_pm.png
@philipstudentemail0
Using Pycharm
screen_shot_2020-11-11_at_11.57.56_pm.png
@hemesh0
image.png
@Rafi0
Deployed 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
img_20201022_203414.jpg
@hkatzdev0
TIL 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.
image.png
@Rafi0
Completed 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.
screenshot_2020-10-17_at_10.07.03_pm.png
@Rafi0
e-mail automation using python.
img_20201016_215529.jpg
@aryasoni980
all_unique Python, List 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.
screenshot_2020-10-09_at_11.03.24_am.png
@aryasoni980
Checks if all elements in a list are equal. โ€ข Use [1:] and [:-1] to compare all the values in the given list.
image_from_ios.jpg
@deltaonealpha0
Made 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...
image.png
@hemesh0
Lol
img_20200926_193636.jpg
@akshaygautam0100
Made an app in python which lets to start multiple applications in one click. And it also remembers your last choice. Sadly I forgot to take a pic, os here is part of the code.
screenshot_2020-09-25-16-09-09-12.jpg
@hemesh0
So powerful ๐Ÿ‘
img_20200922_193628.jpg
@akshaygautam0100
I did it. I made an android game completely in python. Maybe it can be my first #ship.
screenshot_2020-09-22-17-05-12-42_6c336dffb0f30eb6cbe8bcc790272271.jpg
@akshaygautam0100
Finally I can use the laptop again, getting back to NLP๐Ÿ˜. I missed python....
img_20200914_134516.jpg
@muirrum0
Getting my sister set up on a raspberry pi for python
img_20200908_143726.jpg
@sameeryadav0
Experimenting with Python and Youtube APIs:youtube:
image.png