sub
stringclasses
1 value
title
stringlengths
7
303
selftext
stringlengths
0
8.65k
upvote_ratio
float64
0.08
1
id
stringlengths
9
9
created_utc
float64
1.65B
1.65B
Python
I made a video about Cross Validation using python's sklearn package. An extremely important yet often overlooked topic in machine learning.
0.38
t3_u2pmet
1,649,854,324
Python
Python 3.11 is Coming! Here’s How It Fares Against Python 3.10
0.78
t3_u2orpk
1,649,851,479
Python
Do you have hundreds of old and embarrassing tweets? Here's a script to delete them all.
I made a Python script to delete old tweets. Given a date, it'll delete all the tweets before that date. Personally, I had hundreds of tweets between my friends talking about hot boys in high school that I had forgotten all about but were all so public 🤦🏻‍♀️. Give it a try: [https://github.com/yaylinda/delete-tweets...
0.91
t3_u2o1al
1,649,848,859
Python
Here is a script that turns your pc off when a download is finished
Here is a script that turns off your computer when a game on steam has finished downloading. import os import time while os.listdir('*insert your own steam downloading folder here*') != []: print('Download in progress..') time.sleep(5) print('Folder empty. Downloads complete.'...
0.86
t3_u2ln8f
1,649,838,771
Python
Gotchas of early-bound function argument defaults in Python
0.72
t3_u2iknk
1,649,825,890
Python
Why do some functions have the arguments outside and some inside? e.g: len(example) vs example.upper() ?
This is the case too in other languages right?
0.8
t3_u2gg0a
1,649,818,670
Python
A python framework for unstructured data processing
Unstructured data is information that is not arranged according to a predefined schema or data model. Image, text, video, and nested JSON are the most common types of unstructured data we collected in real-world applications. We have just released [Towhee 0.6](https://github.com/towhee-io/towhee), a framework for doin...
0.67
t3_u2g5ha
1,649,817,729
Python
Do people generally write Sphinx API documentation using autoapi or manually?
(this might not be the best subreddit, but I didn't see a Sphinx subreddit, if there's a better place, let me know) I'm working on writing my first distributable python package and I'm trying to be very meticulous about the documentation, making a readthedocs page for it. I'm very new to using Sphinx, and I'm confused...
0.81
t3_u2dfzz
1,649,809,416
Python
Wednesday Daily Thread: Beginner questions
New to Python and have questions? Use this thread to ask anything about Python, there are no bad questions! This thread may be fairly low volume in replies, if you don't receive a response we recommend looking at r/LearnPython or joining the Python Discord server at [https://discord.gg/python](https://discord.gg/pytho...
1
t3_u2cz7f
1,649,808,018
Python
My first working code piece!
print ('What is the temperature today?') import random Temperature = random.randint(10,40) print(Temperature) print ('Degrees') ​ if Temperature > 24: print ('Its a hot day,') print ('Make sure to drink some water!') ​ if Temperature <24: print ('Its not to hot today!') &#x2...
0.55
t3_u2ccc8
1,649,806,110
Python
Name a better learning resource than Schafer Corey, I'll wait
I am really amazed by Schafer Corey on [YouTube](https://www.youtube.com/c/Coreyms/videos) especially since I am not the the type of guy that enjoys watching videos to learn, I am honestly in awe with his teaching skills and it inspires me to write blogs. I will be very curious to see if you guys have other high qualit...
0.87
t3_u2b3r9
1,649,802,620
Python
5 months of python, Beginning an AlgoBot, TEAR MY CODE to Shred to make me better.
0.87
t3_u27epy
1,649,792,143
Python
python programming quick look
0.17
t3_u25pul
1,649,787,655
Python
TIL Dropbox started, client and server, with Python and even hired the creator of Python
0.42
t3_u255tq
1,649,786,229
Python
2 Level Security system (Arduino Keypad + Face recognition ) using Python
0.91
t3_u24o2f
1,649,784,906
Python
fstring.help: Python f-string guide
0.5
t3_u21wcl
1,649,777,711
Python
20 Python Interview Questions To Challenge Your Knowledge
0.44
t3_u218g8
1,649,775,942
Python
Announcing Quart-DB
[Quart-DB](https://github.com/pgjones/quart-db) is a Quart extension that provides managed connection(s) to postgresql database(s). Once initialised it will, by default, add a connection on `g` for every request usable via `g.connection`. Alternatively connections (and transactions) can be managed directly and explici...
0.85
t3_u20nde
1,649,774,365
Python
I wrote a tutorial on how to use pytest to write good Python code. I hope somebody finds it useful!
[https://github.com/rhayes777/workshop](https://github.com/rhayes777/workshop)
0.97
t3_u206vp
1,649,773,093
Python
Shades: a module to make art with python
Over the last year or so, I've been developing a python library to make it easier for me to make maths-ey generative art in python. I shared stuff a while back while I was still developing, and finally got stuff in a state where I'm pretty happy with things, so thought I'd share here just in case any other python fan...
0.98
t3_u1zzlq
1,649,772,545
Python
Minesweeper but without any play-ability
This is the basic layout of a minesweeper field fished ​ import curses from curses import wrapper from random import randint field = [ ["#", "#", "#", "#", "#", "#", "#", "#", "#"], ["#", "#", "#", "#", "#", "#", "#", "#", "#"], ["#", "#", "#", "...
0.5
t3_u1zxp1
1,649,772,396
Python
Python News: What's New From March 2022? – Real Python
0.75
t3_u1yevy
1,649,768,051
Python
Python code guidelines for unified, streamlined development
In Python programming, there are many things that developers have to consider and keep in mind when writing code. Those issues and practices differ from company to company and from team to team. At Evrone, we created our own collection of guidelines for Python, in order to build a common denominator for writing code wi...
0.6
t3_u1xzt3
1,649,766,739
Python
In addition to a properly formatted and stylish data presentation, we will also apply other helpful functionality, such as adding data to the database.
[https://medium.com/codex/how-to-add-new-rows-into-relational-tables-effortlessly-f6685a60eef2](https://medium.com/codex/how-to-add-new-rows-into-relational-tables-effortlessly-f6685a60eef2) ​ https://preview.redd.it/7c47g2x903t81.png?width=875&format=png&auto=webp&s=26f50b234e17feb3a3a269582a5...
0.5
t3_u1wky9
1,649,762,014
Python
Scraping Google Finance Ticker in Python
While programming is kinda easier than a stock market, you can do things programmatically, for example scraping Google Finance Ticker data in Python. Here's a working example to do exactly that, plus basic usage of Nasdaq API which Google is using, among [other data providers which Google Finance uses that you can fi...
0.85
t3_u1vwze
1,649,759,567
Python
Gufo Ping - The Python asyncio Ping library
[Gufo Ping](https://pypi.org/project/gufo-ping/) is the Python asyncio Ping library. Besides the clean and simple interface is the highly-efficient raw sockets manipulation library implemented in the [Rust](https://rust-lang.org/) language with [PyO3](https://pyo3.rs/) wrapper. Pinging is simple: Send one echo reques...
0.84
t3_u1vbxb
1,649,757,278
Python
Create a Bluetooth LE repeater using Python to overcome the range limitation when transferring data
0.84
t3_u1u01z
1,649,751,499
Python
Natural syntax for units in Python
0.88
t3_u1tgt0
1,649,749,144
Python
What the Decorators in Plain Words | Python
What is a decorator in Python? Why and how should I use it? How can I simplify the debugging of decorators? How can I decorate functions with parameters? How can I pass arguments to a decorator? [This article](https://medium.com/@vlad.bashtannyk/what-the-decorators-in-plain-words-python-b600623ea497) will p...
0.7
t3_u1tglr
1,649,749,121
Python
Instagram likes predi tor using decision tree
0.45
t3_u1qkkd
1,649,738,057
Python
'Python is like a toy programming language compared to C++'
0.14
t3_u1qbdq
1,649,736,750
Python
Porting from Windows to Linux: Python vs. Powershell?
From a search, it looks like this question comes up every couple of months and, like everything else in IT, the answer is "It depends." So, here are my depends... TL;DR - My shop is running database servers on Windows with maintenance and health check scripts written in DOS .BAT files. The company plans to migrate to ...
0.89
t3_u1ogz1
1,649,730,644
Python
Tuesday Daily Thread: Advanced questions
Have some burning questions on advanced Python topics? Use this thread to ask more advanced questions related to Python. **If your question is a beginner question we hold a beginner Daily Thread tomorrow (Wednesday) where you can ask any question! We may remove questions here and ask you to resubmit tomorrow.** This ...
0.6
t3_u1lfq8
1,649,721,611
Python
SQLite Database with Python
0.55
t3_u1k58n
1,649,717,865
Python
AI Aimbot Python Tutorial
Been working on this for a while. Hope this helps inspire, motivate, & educate my fellow programmers. https://youtu.be/ilsn-TvryyA
0.65
t3_u1ibo5
1,649,712,969
Python
The Python on Microcontrollers Newsletter - free, open source, no spam ever
# Interested in Python? Especially on small devices? With the **Python on Microcontrollers newsletter**, you get all the latest information in one place! The Python on Microcontrollers newsletter is the place for the latest news involving Python on hardware. It arrives Tuesday morning with all the week’s happenings. ...
0.57
t3_u1hqnr
1,649,711,457
Python
Introduction to Streamlit and Streamlit Components
Streamlit is an open-source app framework for Machine Learning and Data Science teams. In this article we will show you how to build Streamlit apps and custom **Streamlit** Components, with the end goal of implementing Auth0 **authentication**. [Read more…](https://auth0.com/blog/introduction-to-streamlit-and-streaml...
0.25
t3_u1f4tt
1,649,704,784
Python
Free Python 3 Course
Updated Link...(not sure what went wrong with old link) [https://www.udemy.com/course/python-three-from-beginner-to-pro/?couponCode=E74A9ED7BF27445AE778](https://www.udemy.com/course/python-three-from-beginner-to-pro/?couponCode=E74A9ED7BF27445AE778) ​ I created a Python course for beginners. The part tha...
0.67
t3_u1f1se
1,649,704,559
Python
Python Tutorial Snippet - How to create a Stock Trading News Alert Application?
Python Tutorial Snippet - How to create a Stock Trading News Alert Application? [https://www.youtube.com/watch?v=60Z7Fl0Ddag](https://www.youtube.com/watch?v=60Z7Fl0Ddag) https://preview.redd.it/6xw1gq36yxs81.png?width=2880&format=png&auto=webp&s=6b312526559942d33fc91ac5737151e949a8b442
0.67
t3_u1e1vm
1,649,700,883
Python
Crypto toolkit I wrote
Crypto toolkit I'm working on. Features are: * Convert crypto currencies into fiat or other currencies * Check current prices * List some top decentralized exchanges * Get ***today's*** info on coins * And more https://github.com/Waxxx333/cryptkit
0.33
t3_u1ddpi
1,649,699,112
Python
Basic how to load/read and show images in Python (OpenCV)
0.25
t3_u1daza
1,649,698,916
Python
Open-source library that takes an AI model as input and produces an optimized version that runs much faster in inference
0.79
t3_u1bbjw
1,649,693,636
Python
python code for snake game | How to make snake game in Python
0.33
t3_u1ap07
1,649,691,916
Python
My first PIP package based on subprocesses
I never thought that one day I will release a pip package, last summer I was just learning the basics, and now I write public packages and serverless applications for AWS Lambda. Python is so great, friendly to learn, and the opportunities to develop with Python are countless. Here is the project: [https://pypi.org/p...
0.94
t3_u1a9ob
1,649,690,654
Python
Is there any platform to share scripts, import and run them easily?
0.37
t3_u19ok4
1,649,689,110
Python
Question on heapq design - why no maxheap implementation?
I am working through grokking the coding interview and decided to use python due to it's readability and overall simplicity in its syntax. This morning I started working on the 'two heaps' algorithms. It struck me as a bit odd that python or the writers of the heapq library decided to make all implementations of heap...
0.81
t3_u1858d
1,649,684,785
Python
This Week Two Intermediate Articles - On Dunder Methods and Python with Docker / Docker-Compose
* [Dunder Methods in Python: The Ugliest Awesome Sauce](https://codesolid.com/dunder-methods-in-python-the-ugliest-awesome-sauce/) Implementing several dunder methods, along with design considerations for when they make sense or not. Includes a tool for enumerating the existing dunder methods on an object with thei...
0.79
t3_u16r3b
1,649,680,593
Python
Monitor your Cluster Stack with Telegraf, InfluxDB and Grafana
We recently worked on monitoring our HPC stack which runs SLURM workload where we utilized telegraf, influxdb, and grafana. The idea is to ssh into the node which provides some status of the entire cluster, take collect data, parse that collected raw data and write to influxdb. For visualization of the collected data g...
0.78
t3_u15q0w
1,649,677,179
Python
Microservices in 10 minutes - Minos tutorial
Hello everyone! We wanted to share the last tutorial that we have created to show how to create a project with a microservice architecture (with an API, event broker, discovery...) and its first microservice, in \~10 minutes. This is a very quick overview, but we hope that it will help you understand how to create muc...
0.89
t3_u15nc9
1,649,676,917
Python
Low Code Python has Arrived
0.45
t3_u15h0k
1,649,676,263
Python
QualityScaler 1.2.0 - Image/video upscaling & enhancement app
​ [GUI](https://preview.redd.it/1vms35d5ivs81.jpg?width=1372&format=pjpg&auto=webp&s=13bb87852a28d95fea0a111cdd8f1f7da3e8c670) Itch -> [https://jangystudio.itch.io/qualityscaler](https://jangystudio.itch.io/qualityscaler) Github -> [https://github.com/Djdefrag/QualityScaler/releases/tag/...
0.88
t3_u146jl
1,649,671,292
Python
Rmse-Mse-Linear regression mpdel-What is RMSE and MSE in linear regression models?-InsideAIML
0.57
t3_u12cxr
1,649,663,520
Python
Ideal Coding Bootcamp
Hi everyone 👋 What would your ideal coding bootcamp experience look like? Let’s say you were a beginner and had zero experience in programming. You find an affordable 6 week python course. What would you expect to walk away with and what do you think your next steps would be?
0.6
t3_u10b4g
1,649,654,868
Python
Selenium with Python for Beginners + Sample website you can probe without violating our Terms of Service
- [Selenium With Python](https://www.practiceprobs.com/problemsets/selenium-with-python/) - [Selenium Playground](https://seleniumplayground.practiceprobs.com/)
0.96
t3_u0uwsq
1,649,636,354
Python
Monday Daily Thread: Project ideas!
Comment any project ideas beginner or advanced in this thread for others to give a try! If you complete one make sure to reply to the comment with how you found it and attach some source code! If you're looking for project ideas, you might be interested in checking out Al Sweigart's, ["The Big Book of Small Python Proj...
0.78
t3_u0ujvk
1,649,635,212
Python
Learning GUI for Git
0.5
t3_u0sygl
1,649,630,335
Python
Discord log bot
0.5
t3_u04kxn
1,649,545,363
Python
How To Make A Good Github Repository For Your Python Projects
0.77
t3_u05eqn
1,649,548,116
Python
Can someone recommend me ball python names pls
I'm getting a ball python and I want its name to be a pun related to the programming language, but I'm coming up mostly empty. ​ I was thinking of naming it pip, but I feel like there are better names I can't think of.
0.82
t3_u04y52
1,649,546,544
Python
IndicatorManagement v0.4.0 - Management of mathematical/financial indicators
Hello. I am a Python developer and I am making my first Python PyPI module project. The library's name is "indicator-management"; It's about management of mathematical/financial indicators. The benefit of this library is that you can handle very large amount of data because this library does not store the whole data ...
0.82
t3_u0opx3
1,649,618,139
Python
What is the best practice for injecting configuration into a python application
I am working on a Flask App. I have a configuration class defined which has configs for Dev, Qa, Prod and Test. I followed the common practice of reading the config file only once and initialising the app with the config data app.config.from\_object(config object) Now I need to access urls defined in the config class...
0.74
t3_u0j5rn
1,649,602,241
Python
Exploring data in CockroachDB with Python and Pandas in DataStation
0.5
t3_u0i6he
1,649,599,224
Python
Space Science with Python - Autoencoders (concept)
Coders! I keep up my weekly tutorial sessions (some asked, whether I could increase it to 2 videos or more per week... But I have too many things to do... let's see how it continues in the long run!). Anyway, what did we do in the last couple of weeks? Using Python on Google Colab we: - Downloaded asteroid spectra +...
0.92
t3_u0hr50
1,649,597,837
Python
How do you pronounce libraries with `py` in the name?
[this comment](https://reddit.com/r/Python/comments/u04y52/_/i454o57/?context=1) got me thinking about how each developer likes to pronounce package names I have always pronounced `numpy` as “num-pie”, but some people I’ve worked with have been adamant it is “num-pee” how do you pronounce “py” in names? (even if it’s...
0.92
t3_u0g45w
1,649,591,920
Python
A Brief Introduction to PyQt
0.69
t3_u0f053
1,649,587,047
Python
YouTube version in case you missed it live: troubleshooting Python applications on Kubernetes (hunting down memory leaks, running cpu profilers, and using non-breaking debuggers)
0.8
t3_u0etrg
1,649,586,186
Python
Python Selenium Tutorial #8 - Read, Block & Mock Requests using Selenium Wire
0.81
t3_u0c8yx
1,649,574,107
Python
Desktop stereo system made with Python
​ https://reddit.com/link/u0c60e/video/fawvxu65gns81/player I absolutely love music, especially when coding. For a while now, I've been wanting to have a stound graphical analyzer to make y coding sessions more fun, so I decided to make my own. Here's the [code](https://github.com/BrickSigma/Desktop-stereo...
0.91
t3_u0c60e
1,649,573,774
Python
Short Rock, Paper, Scissors game.
What do you thin about it, can it get any shorter? [https://github.com/sat1ss/The-shortest-Rock-Paper-Scissors-game](https://github.com/sat1ss/The-shortest-Rock-Paper-Scissors-game)
0.71
t3_u0byeh
1,649,572,827
Python
r/AskScience flair classifier using Praw and Fasttext
I wanted to learn how to use get data from reddit and came across the praw library, so I decided to create a fasttext nlp model which classifies what flair a post should be on r/AskScience (because they have purely text posts and each question is flaired). Currently it works with the top 10 flairs, but I plan to add s...
0.62
t3_u085ro
1,649,557,796
Python
Analytics Dashboard with Plotly Dash Library
I created this dashboard with the Plotly Dash library. Thought it might be of use to anyone on here looking to get started with Dash. [https://www.youtube.com/playlist?list=PLUnjnS8VMCPpxCAjVp2Y-OjcuAxSQPBk6](https://www.youtube.com/playlist?list=PLUnjnS8VMCPpxCAjVp2Y-OjcuAxSQPBk6)
0.87
t3_u07h4i
1,649,555,368
Python
HiQ - A Modern Observability System
HiQ([https://github.com/oracle-samples/hiq](https://github.com/oracle-samples/hiq)) is a declarative, non-intrusive, dynamic and transparent tracking system for both monolithic application and distributed system. It brings the runtime information tracking and optimization to a new level without compromising with speed ...
0.57
t3_u07er0
1,649,555,126
Python
Have/do any of you make a side hustle web scraping/procuring data with Python? Everyone that talks about it online in tandem with “make $ with Python” never says how much they made made doing this.
0.79
t3_u06k0b
1,649,552,099
Python
Sunday Daily Thread: What's everyone working on this week?
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your current project or your pet project; whatever you want to share.
0.85
t3_u05lzc
1,649,548,811
Python
What nontechnical piece of advice have you received that has changed how you work as a developer?
For example, Ive heard before automating something, you shouldn’t ask yourself if it can be done but should it be done. It’s an intuitive, slap your forehead concept but one that was eye opening
0.92
t3_u0431h
1,649,543,792
Python
Tips for Python debugging in Vim
What is your workflow and which plugins do you use, if any ?
0.63
t3_u03d4y
1,649,541,591
Python
An easy to use PGP tool
Good morning to everyone, after my unsuccessful attempts at using PGP software, I decided to create my own one in python, as simple as I possibly could, to make it easier on myself should I ever need to use again this PGP process or should someone decide to use it. I'm a student, an amateur python programmer and I lov...
0.83
t3_u02g7d
1,649,538,795
Python
I released a game made with Pygame!
Over the past week I challenged myself to make a game in Pygame and this was the result. Everything was made by me except the music! https://i.redd.it/kp5kik7kdks81.gif Download the game here - [https://scriptline-studios.itch.io/planyt](https://scriptline-studios.itch.io/planyt)
0.96
t3_u01qvx
1,649,536,656
Python
[Challenge] print "Hello World" without using W and numbers in your code
To be more accurate: without using w/W, **'** (apostrophe) and numbers. Edit: try to avoid "ord", there are other cool tricks [https://platform.interway.ai/#/get/play\_/ch/hello\_\[w09\]orld](https://platform.interway.ai/#/get/play_/ch/hello_[w09]orld) Disclaimer: I built it, and I plan to write a post with the mo...
0.9
t3_u01kmr
1,649,536,115
Python
Threading in Python: The Complete Guide
0.82
t3_u01bcj
1,649,535,326
Python
Has anyone applied to a job that requires a bachelors degree but doesn’t have one themselves and got the job??
I’m 22 years old and have an associates right now, I’m working on by bachelors but I HATE SCHOOL. I have been learning python for a couple of months now an have a general understanding of it. I was just looking at entry level job and most of these require a bachelors degree, I really want to know if anyone has gotten...
0.79
t3_u00pmy
1,649,533,491
Python
How to correctly install Python applications & libraries from PyPI
0.5
t3_tzyv6j
1,649,527,919
Python
Using Nuitka to Speed Python Code
I am playing with Nuitka and following this [link](https://ao.ms/how-to-package-a-python-app-using-nuitka/). I was under the impression that compiled program should run faster but that is not the case here? Running the Python code, $ time python test1.py h<z`3C337E|$Oe2@ real 0m0.095s user 0m0...
0.6
t3_tzy00o
1,649,525,369
Python
Open Source Rhythmic Midi Generator for all Major Keys in Python
This program uses some relatively simple python logic to generate random chord progressions in every major key! The progressions are then broken up into rhythmic subunits, which are also semi-random. The midi files need a specified directory to be outputted to. Where to do this can be found within the code. Any and a...
0.83
t3_tzwra2
1,649,521,697
Python
Build a Site Connectivity Checker in Python – Real Python
1
t3_tzwhkh
1,649,520,902
Python
I made an R6 Strat Roulette discord bot in python!
Hey I'm fairly new to python this is one of my first actual projects! If you want to talk to me about it or give me some suggestions add me on discord: Axkkzy#7992 :) [https://github.com/Axkkzy/R6-Strat-Roulette-Bot](https://github.com/Axkkzy/R6-Strat-Roulette-Bot)
0.67
t3_tzulmw
1,649,515,365
Python
Free Python Course Inquiry
I had a quick question regarding a coursera class I am currently taking for simple python programming (it's offered for free and it looks like the course is laid out fairly well). However, after week 1 (so a few hours I've invested), it appears to be a course that may have been recycled/offered to newbies from origin...
0.33
t3_tzra4g
1,649,503,690
Python
Python client for Crunchbase's REST API
Hi, I recently needed to use [Crunchbase](https://www.crunchbase.com/)'s REST API in a project but couldn't find a well-maintained python client for it. I started writing one and decided to open-source it. This is my first open-sourced project. Your feedback, improvements, and suggestions will be appreciated. [https:/...
1
t3_tzq3q7
1,649,498,486
Python
What do you guys think of this book?
0.87
t3_tzpk9y
1,649,496,037
Python
custom-literals A module implementing custom literal suffixes using pure Python
1
t3_tzp8qe
1,649,494,611
Python
Python — Network Tracking using Wireshark and Google Maps
0.83
t3_tzp4n9
1,649,494,069
Python
A Hitomezashi pattern generator I made in python!
I made a Hitomezashi stitch pattern generator fully in python after watching the Numberphile video a long time ago. I used the pygame module to do it. Source Code- [https://github.com/Topkinsme/Hitomezashi-Stitch-Pattern-Generator/blob/main/main.py](https://github.com/Topkinsme/Hitomezashi-Stitch-Pattern-Generator/blo...
0.97
t3_tzp0f4
1,649,493,503
Python
When default __new__ function should be overwritten?
I recently learnt about diffrence beetween __new__ and __init__ functions, but I cannot find usecase of writing my own __new__ method.
0.82
t3_tzmyvu
1,649,484,444
Python
Pygame Tutorial - Menus and Buttons!
0.4
t3_tzjdxt
1,649,471,029
Python
Internship skills:
I’m pretty new to python. All i’ve done is take a dual enrollment class at gt for it and the farthest we covered in the course is project oriented learning. I understand how to do the basic problems in the class like given an array of movies and their gross profit, sort them from greatest profit to least profit. Simple...
0.75
t3_tzh04s
1,649,462,928
Python
Saturday Daily Thread: Resource Request and Sharing! Daily Thread
Found a neat resource related to Python over the past week? Looking for a resource to explain a certain topic? Use this thread to chat about and share Python resources!
0.75
t3_tzgu3e
1,649,462,409
Python
Shortening common parts of code
Title. In JavaScript there are things like the ternary operator to reduce code size and "improve" code quality, I'm wondering if there is much in python aside from the obvious which is lambda
0.5
t3_tze4s6
1,649,454,239
Python
I created a library for teacher task automation
I created a library of utilities I've used as a teacher to automate various tasks (mail merges, interacting with google classroom, generating rubrics). I hope that it might lower the barrier of entry for teachers with some python knowledge to get started with using programming to ease the repetitive aspects of our work...
0.94
t3_tzb9yc
1,649,446,042
Python
Using Github to host local images permenently on the web.
When you create an issue or add an image on github, you can actually upload images to the github server without any external apis. We can use this feature to mimic Github's behavior when uploading an image and upload any local image to the web. Because github has to store all images permenently (or images on READMEs or...
0.38
t3_tzb541
1,649,445,662
Python
Wordle in command line
you can wide the dictionary if you want 😉 from os import system, name import re import random # define our clear function def clear(): if name == 'nt': # for windows system('cls') else: # for mac and linux(here, os.name is 'posix') system('cle...
0.54
t3_tz8uhj
1,649,439,253