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
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. **Catch all the weekly news on** [**Python for Microcontrollers**](https://www.adafruitdaily.com/) with [adafruitdaily.com](https://www.adafruitdaily.com/). >This *ad-free, spam-free* weekly email is filled with **CircuitPython**, **MicroPython**, and **Python** information that you may have missed, all in one place! You get a summary of all the software, events, projects, and the latest hardware worldwide once a week, no ads! Ensure you catch the weekly Python on Hardware roundup– you can cancel anytime **–** [**try our spam-free newsletter today**](https://www.adafruitdaily.com/)**!** [**https://www.adafruitdaily.com/**](https://www.adafruitdaily.com/)
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-streamlit-components/?utm_source=reddit&utm_medium=sc&utm_campaign=streamlit)
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 that I really worked a lot on was functions, scope, closures and decorators. I always found these topics a bit hard for beginners.The other section that has a lot of material is OOP: classes, instances, properties, instance methods, class methods, inheritance and the MRO(method resolution order).Applications include web development using a backend SQL DB and of course numpy and pandas.
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/project/cmagick/](https://pypi.org/project/cmagick/) ​ https://preview.redd.it/2cgh9kqn3xs81.png?width=1364&format=png&auto=webp&s=6383f2111fee0be5d2bc0cbefea4a19bf86f7c20
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 minheaps rather than adding some additional APIs for maxheaps. Maybe it's just me, but I find it a bit hard to reason through programs that make use of maxheaps. Having to remember to push a value multiplied by -1 and then do the same for retrieval feels a bit un-intuitive, but maybe it's just me. Does anyone know of the reasoning behind not implementing them separately and adding a thin layer to the maxheaps to avoid having to do this? I'm mostly just curious if there was any discussion around it when heapq was created but haven't been able to find anything yet.
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 their help strings. * [How to Use Docker and Docker Compose with Python](https://codesolid.com/how-to-use-docker-with-python/) Includes a simple docker container for Flask and a full Django plus Postgres starter stack using Docker Compose.
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 grafana is utilized. I think this would be a good read for anyone looking for data collection, data analysis, and engineering on the infrastructure. Please give us a star if the repository has helped you learn something. Repo: [https://github.com/bethgelab/slurm-monitoring-public](https://github.com/bethgelab/slurm-monitoring-public) Thanks
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 much more complex projects. If you have any doubts, don't hesitate to contact us at [Gitter](https://gitter.im/minos-framework/community) or at [Github](https://github.com/minos-framework/minos-python)! [https://www.youtube.com/watch?v=ZYair128ITg](https://www.youtube.com/watch?v=ZYair128ITg)
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/1.2.0](https://github.com/Djdefrag/QualityScaler/releases/tag/1.2.0) ​ **Update 1.2.0** Bugfix / perf. improvement / UI changes New * A new wonderful handmade icon :D Bugfix/improvement * Fixed the problem of displaying error messages correctly * Library import improvements * Other bugfix & code cleaning UI changes * Changed "QualityScaler" title position and background - to make space for new features ;) - * Other little changes
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 Projects"](https://inventwithpython.com/bigbookpython/) which provides a list of projects and the code to make them work.
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 at once, instead it loads the data whenever the calculation is needed. The source code and details are available at [here](https://github.com/McDic/IndicatorManagement). This library is still under pre-alpha development. Your feedback and interest is appreciated! [Example usage with matplotlib](https://i.redd.it/r1vdpr865rs81.gif)
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 in other places. I tried accessing these configs using the current app proxy. But I realised that I also have to access these class outside the request/ app context as I have celery tasks which access them. One approach is to pass this config as a variable to every class it is required, which I dont prefer. Another option is to annotate the config class as singleton and create the config object at every place where I need them. I also came across this library called Dependency\_Injector. [https://python-dependency-injector.ets-labs.org/](https://python-dependency-injector.ets-labs.org/) This seems a bit heavy weight for my use case though. I am looking forward to know how other solve this problem Edit: I should add that I am already using environment variables. I create. the config object based on the value of the env vars.
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 + their corresponding class (whether it is e.g. a stony or iron obejct) - Parsed, cleaned and enriched the data - Created an interactive spectrum visualization tool in Colab - Conducted a Machine Learning experiment using scikit-learn and their SVM implementation - Created a neural network with Keras and optimized its architecture with Keras-Tuner to classify our data So are we done? Theoretically yes. But I would like to conclude the asteroid part with an unsupervised ML algorithm: Autoencoders! Using this neural network architecture + some clustering algorithms I'd like to show how one can create an unsupervised classification method. But what are Autoencoders exactly, and how do they work? Well to split up theory and coding a little bit, I created a small "concept" video on Autoencoders, so that we can start coding next time (knowing what we want to do and what to expect). I am not a CGI expert or big YouTuber. It's more "seminar-like" and I'd like to know your opinion on this, whether it's useful, or not. Link: https://youtu.be/ET441nffKjU So what will we do next with Python, Keras and the asteroid data? - Next tutorial: creating an Autoencoder using Keras (we won't use Keras-Tuner, to keep things simple). We'll also check the "reconstruction" power of the Autoencoder that compresses the 49-dimensional spectra into 2 dimensions - Afterwards: how does the latent space look like? We'll create an interactive Jupyter Viewer to visualise the latent space and color the spectrum class corresponding latent values to determine whether we have a "class separation" or not - Last video of the entire project: Rebuild an Autoencoder with a larger latent space, and applying Gaussian Mixture Models (GMMs) to determine the number of possible classes using the Bayesian Information Criterion (BIC) Well... Afterwards a new Space + Python project will start :) Hope you guys like it. I am looking forward to suggestions and ideas! See you next week! Thomas
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 solely in your head)
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). I haven't documented the code yet or added any README file to it, but I will soon. This was a lot of fun to make because I learnt a lot of new things about digital audio processing, like their format, and Fourier transformations, which I'm in love with now. This was also my first attempt at editing a video for public presentation, so I hope I've done justice to it. Thanks for reading and have an amazing day!
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 some improvements to it later on to include all flairs and perhaps other subreddits too. link: [https://github.com/arnavkartikeya/RedditFlairClassifier](https://github.com/arnavkartikeya/RedditFlairClassifier)
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 and system performance, or hiding any tracking overhead information. HiQ applies for both I/O bound and CPU bound applications. To explain the four features, declarative means you can declare the things you want to track in a text file, which could be a JSON, YAML or even CSV, and no need to change program code. Non-intrusive means HiQ doesn’t requires to modify original python code. Dynamic means HiQ supports tracing metrics featuring at run time, which can be used for adaptive tracing. Transparent means HiQ provides the tracing overhead and doesn’t hide it no matter it is huge or tiny. In addition to latency tracking, HiQ provides memory, disk I/O and Network I/O tracking out of the box. The output can be saved in form of normal line by line log file, or HiQ tree, or span graph. ## Installation pip install hiq-python ## Documentation **HTML**: 📷[ HiQ Online Documents](https://hiq.readthedocs.io/en/latest/index.html) **PDF**: Please check 📷[ HiQ User Guide](https://github.com/oracle-samples/hiq/blob/main/hiq/docs/hiq.pdf). ## Jupyter NoteBook ### Add Observability to PaddleOCR * [Latency](https://github.com/oracle-samples/hiq/blob/henry_dev/hiq/examples/paddle/demo.ipynb) * [Memory](https://github.com/oracle-samples/hiq/blob/main/hiq/examples/paddle/demo_memory.ipynb) ### Add Observability to AlexNet * [Latency](https://github.com/oracle-samples/hiq/blob/main/hiq/examples/onnxruntime/demo.ipynb) * [Intrusive](https://github.com/oracle-samples/hiq/blob/main/hiq/examples/onnxruntime/demo_intrusive.ipynb) ## Examples Please check 📷[ examples](https://github.com/oracle-samples/hiq/blob/main/hiq/examples) for usage examples.
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 love challenges, so I took upon the challenge of creating my first tool with a GUI, it's my first time using any of these python libraries and posting anything publicly.... I give you [EZPZ-PGP](https://github.com/HandImpersonator/EZPZ-PGP) (name could do some work, I know): [Tool menu](https://preview.redd.it/equy9g1wjks81.png?width=322&format=png&auto=webp&s=ef57c2ce60e7c20edb4fb4f7a65dc2ee6993b4c4) [Folders created](https://preview.redd.it/nxec6ovyjks81.png?width=887&format=png&auto=webp&s=27d55d3a47f937a9a2c18f26567293e16cb2c0ec) [Key location](https://preview.redd.it/4ywhr3n0kks81.png?width=885&format=png&auto=webp&s=6979992268aa7458c90f4ac08abbc948387d54da) [Message encryption test](https://preview.redd.it/x2pe8gb2kks81.png?width=479&format=png&auto=webp&s=74224b5cc3766fa1444e7e2d831279bda143de9d) [Message decryption test](https://preview.redd.it/364ye2n5kks81.png?width=479&format=png&auto=webp&s=71385a74a8eee2463031ace4c578f3b6b7d83a15) I really have no idea how much simpler to make this tool, I have included some [mildly straightforward instructions](https://github.com/HandImpersonator/EZPZ-PGP#what-the-tool-can-do) for ease of use. It can create PGP keypairs (PGPY), encrypt, decrypt, sign and verify signatures on messages and files (PGPY). Completely open source, I want to share my personal tool with the world with the hope of getting some feedback on it and see if people like it a bit. I'd like to work on translating the tool to other languages with latin alphabet, I'll upload soon to github a file with all the text needed to be translated to other languages. PM me if you decided to help translate the tool to your language so I can update the tool and include your name/account in the github credits! ​ Thank you, looking forward to your feedback.
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 most creative python solutions
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 any of those jobs without a bachelors??
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.024s sys 0m0.013s Then running the standalone code compiled via Nuitka, $ time ./test1.bin +>PAGZ$OHlVK/.5 real 0m0.191s user 0m0.031s sys 0m0.014s The standalone code runs slower but shouldn't it have run faster since it is a complied?
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 all feedback is appreciated! Link to the code: [https://github.com/prod-emdub/midirhythm/tree/main](https://github.com/prod-emdub/midirhythm/tree/main) ​ Here is an example of a randomly generated progression in F major: ​ https://preview.redd.it/usbt91cd5js81.png?width=3541&format=png&auto=webp&s=eb5513343eb5bccf4bdda2ad40eac07ba1355af6
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 original posting date of several years ago and not within the past 2 years (I found comments from students reviewing the course from 2016). The teaching style is a little inflexible at times (jumping around functions, assignments a bit), but I want to get through the course because of the value of learning to work with Python Is there value in this particular program based on the age of the course or do I need to restart a similar course not older than a certain amount of years? They are working with python 3.4 btw ​ Thanks for any feedback/recommendations!
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://pypi.org/project/py-crunchbase-api/](https://pypi.org/project/py-crunchbase-api/) Thanks.
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/blob/main/main.py) https://reddit.com/link/tzp0f4/video/sorpps5wsgs81/player
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 things like that. What can i do to learn how to actually apply this stuff to the point that i would be useful in an internship??
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. Comments, criticism, and code review are much appreciated! https://pypi.org/project/teacherhelper/ https://teacherhelper.jackdevries.com/ https://github.com/jdevries3133/teacher_helper
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 issues could change), we also do not have to worry about uploaded images expiring. I have been using this feature (although not automatically) for a long time to host images for my own website, and finally managed to automate this process. Honestly, as a beginner in programming, hosting images for websites for free is a pain in the ass and I hope this will help people learn more about websites. [Github link](https://github.com/0ev/github-issue-image-upload)
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('clear') #show the rules of the game and descripcion def menu(): print(""" __ __ _ _ ____ \ \ / /__ _ __ __| | | ___ / ___| __ _ _ __ ___ ___ \ \ /\ / / _ \| '__/ _` | |/ _ \ | | _ / _` | '_ ` _ \ / _ \\ \ V V / (_) | | | (_| | | __/ | |_| | (_| | | | | | | __/ \_/\_/ \___/|_| \__,_|_|\___| \____|\__,_|_| |_| |_|\___| Try to guess the word, we lend you some clues when you assert. After each guess, the color of the tiles will change to show how close your guess was to the word """) def show_words(array_words,guessword): for word in array_words: list_blocks = "" for i,letter in enumerate(word): if letter in guessword: if word[i] == guessword[i]: block = "🟩" else: block = "🟨" else: block = "🔲" list_blocks += block print(word.replace("", " ")[1: -1]) print(list_blocks) if __name__ == "__main__": dictionary = ["ninja","great","witch","grown","space","stone","earth","extra","entry","slice","shine","sharp","eager","ebony","penny"] guessword = random.choice(dictionary) lenword = len(guessword) word_guessed = False array_words = [] while word_guessed == False: clear() menu() show_words(array_words,guessword) try: word = input(f"Hit some word of {lenword} length here:") if len(word) != lenword: raise ValueError(f"it must be {lenword} length word!") elif not re.search(r"[a-zA-Z]{"+str(lenword)+"}",word): raise ValueError(f"it must be only alfabetical characters!") elif word == guessword: print(word.replace("", " ")[1: -1]) print("🟩🟩🟩🟩🟩") print("Awesome! 🎉🎉🎉") word_guessed = True else: array_words.append(word) except ValueError as e: print(e) a = input("Press 'enter' to continue")
0.54
t3_tz8uhj
1,649,439,253
Python
so im 30 switching careers from automotive to computers started college for computer science learning python 3 but i feel its going kinda slow learning so much though so i figured I would ask the more knowledgeable people on what i can do in my free time to grow my knowledge more
0.67
t3_tz7tcm
1,649,436,416
Python
Preferred way to connect to a database
Is it a particular ORM, do you use a particular ODBC library, embracing the bleeding edge of speed with Apache Arrow? What satisfies your data source access needs and why?
0.78
t3_tz7aj5
1,649,434,965
Python
Unix Command Cheat Sheet for Busy Developers
0.69
t3_tz62m7
1,649,431,679
Python
Scrape Google Play Search Apps in Python
Hey guys, just in case anyone wants to scrape Google Play Store App Search 👀 Full code: ```python from bs4 import BeautifulSoup from serpapi import GoogleSearch import requests, json, lxml, re, os def bs4_scrape_all_google_play_store_search_apps( query: str, filter_by: str = "apps", country: str = "US"): # https://docs.python-requests.org/en/master/user/quickstart/#passing-parameters-in-urls params = { "q": query, # search query "gl": country, # country of the search. Different country display different apps. "c": filter_by # filter to display list of apps. Other filters: apps, books, movies } # https://docs.python-requests.org/en/master/user/quickstart/#custom-headers headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.79 Safari/537.36", } html = requests.get("https://play.google.com/store/search", params=params, headers=headers, timeout=30) soup = BeautifulSoup(html.text, "lxml") apps_data = [] for app in soup.select(".mpg5gc"): title = app.select_one(".nnK0zc").text company = app.select_one(".b8cIId.KoLSrc").text description = app.select_one(".b8cIId.f5NCO a").text app_link = f'https://play.google.com{app.select_one(".b8cIId.Q9MA7b a")["href"]}' developer_link = f'https://play.google.com{app.select_one(".b8cIId.KoLSrc a")["href"]}' app_id = app.select_one(".b8cIId a")["href"].split("id=")[1] developer_id = app.select_one(".b8cIId.KoLSrc a")["href"].split("id=")[1] try: # https://regex101.com/r/SZLPRp/1 rating = re.search(r"\d{1}\.\d{1}", app.select_one(".pf5lIe div[role=img]")["aria-label"]).group() except: rating = None thumbnail = app.select_one(".yNWQ8e img")["data-src"] apps_data.append({ "title": title, "company": company, "description": description, "rating": float(rating) if rating else rating, # float if rating is not None else rating or None "app_link": app_link, "developer_link": developer_link, "app_id": app_id, "developer_id": developer_id, "thumbnail": thumbnail }) print(json.dumps(apps_data, indent=2, ensure_ascii=False)) bs4_scrape_all_google_play_store_search_apps(query="maps", filter_by="apps", country="US") def serpapi_scrape_all_google_play_store_apps(): params = { "api_key": os.getenv("API_KEY"), # your serpapi api key "engine": "google_play", # search engine "hl": "en", # language "store": "apps", # apps search "gl": "us", # contry to search from. Different country displays different. "q": "maps" # search qeury } search = GoogleSearch(params) # where data extracts results = search.get_dict() # JSON -> Python dictionary apps_data = [] for apps in results["organic_results"]: for app in apps["items"]: apps_data.append({ "title": app.get("title"), "link": app.get("link"), "description": app.get("description"), "product_id": app.get("product_id"), "rating": app.get("rating"), "thumbnail": app.get("thumbnail"), }) print(json.dumps(apps_data, indent=2, ensure_ascii=False)) ``` Output from DIY solution: ```json [ { "title": "Google Maps", "company": "Google LLC", "description": "Real-time GPS navigation & local suggestions for food, events, & activities", "rating": 3.9, "app_link": "https://play.google.com/store/apps/details?id=com.google.android.apps.maps", "developer_link": "https://play.google.com/store/apps/dev?id=5700313618786177705", "app_id": "com.google.android.apps.maps", "developer_id": "5700313618786177705", "thumbnail": "https://play-lh.googleusercontent.com/Kf8WTct65hFJxBUDm5E-EpYsiDoLQiGGbnuyP6HBNax43YShXti9THPon1YKB6zPYpA=s128-rw" }, { "title": "Google Maps Go", "company": "Google LLC", "description": "Get real-time traffic, directions, search and find places", "rating": 4.3, "app_link": "https://play.google.com/store/apps/details?id=com.google.android.apps.mapslite", "developer_link": "https://play.google.com/store/apps/dev?id=5700313618786177705", "app_id": "com.google.android.apps.mapslite", "developer_id": "5700313618786177705", "thumbnail": "https://play-lh.googleusercontent.com/0uRNRSe4iS6nhvfbBcoScHcBTx1PMmxkCx8rrEsI2UQcQeZ5ByKz8fkhwRqR3vttOg=s128-rw" }, { "title": "Waze - GPS, Maps, Traffic Alerts & Live Navigation", "company": "Waze", "description": "Save time on every drive. Waze tells you about traffic, police, crashes & more", "rating": 4.4, "app_link": "https://play.google.com/store/apps/details?id=com.waze", "developer_link": "https://play.google.com/store/apps/developer?id=Waze", "app_id": "com.waze", "developer_id": "Waze", "thumbnail": "https://play-lh.googleusercontent.com/muSOyE55_Ra26XXx2IiGYqXduq7RchMhosFlWGc7wCS4I1iQXb7BAnnjEYzqcUYa5oo=s128-rw" }, ... other results ] ``` Full blog post with step-by-step explanation: https://serpapi.com/blog/scrape-google-play-search-apps-in-python/
0.78
t3_tz621l
1,649,431,634
Python
Rock-Paper-Scissors-Lizard-Spock Game
from random import randint # create a list of play options options = ["Rock", "Paper", "Scissors", "Lizard", "Spock"] play = True while play == True: computer = options[randint(0, 4)] user_input = input("Please select; Rock, Paper, Scissors, Lizard or Spock\n") u = user_input.lower() player = u.capitalize() print("Player: ", player) print("Computer: ", computer) ##Tie if player == computer: print("Tie!") ##Rock elif player =="Rock": if computer == "Paper": print("You lose!", computer, "covers", player) elif computer == "Scissors": print("You win!", player, "smashes", computer) elif computer == "Lizard": print("You win!", player, "crushes", computer) elif computer == "Spock": print("You lose!", computer, "vaporizes", player) ##Paper elif player =="Paper": if computer == "Scissors": print("You lose!", computer, "cuts", player) elif computer =="Rock": print("You win!", player, "covers", computer) elif computer == "Lizard": print("You lose!", computer , "eats", player) elif computer == "Spock": print("You win!", player, "disproves", computer) ##Scissors elif player == "Scissors": if computer == "Paper": print("You win!", player, "cuts", computer) elif computer == "Rock": print("You lose!", computer, "crushes", player) elif computer =="Lizard": print("You win!", player, "decapitates", computer) elif computer == "Spock": print("You lose!", computer, "smashes", player) ##Lizard elif player == "Lizard": if computer =="Rock": print("You lose!", computer, "crushes", player) elif computer =="Paper": print("You win!", player, "eats", computer) elif computer == "Scissors": print("You lose!", computer, "decapitates", player) elif computer == "Spock": print("You win!", player, "", computer) ##Spock elif player == "Spock": if computer == "Rock": print("You win!", player, "vaporizes", computer) elif computer == "Paper": print("You lose!", computer, "disproves", player) elif computer == "Scissors": print("You win!", player, "smashes", computer) elif computer == "Lizard": print("You lose!", computer, "poisons", player) print("Would you like to play again? \n") answer =input() if answer.lower() =="y" or answer.lower() =="yes": play == True else: break ​ ​ This is a game I made a while back, link; [https://github.com/WillPhillipsCVdemo/Rock-Paper-Scissors-Lizard-Spock/blob/master/Game.py](https://github.com/WillPhillipsCVdemo/Rock-Paper-Scissors-Lizard-Spock/blob/master/Game.py)
0.74
t3_tz41db
1,649,425,971
Python
MicroPython pro-tip: Use WebREPL within your IDE
The repetitive process of editing your code in Thonny IDE, switching over to the WebREPL window, re-selecting your edited code file, re-sending it to your ESP32, and going back to Thonny to fix any bugs can get cumbersome and slow. Here's a visual tutorial on how to use WebREPL within Thonny. Hope it helps you! [https://bhave.sh/micropython-webrepl-thonny/](https://bhave.sh/micropython-webrepl-thonny/)
0.5
t3_tz3knl
1,649,424,548
Python
br4nch 2.0 - Currently in development!
After recieving alot of helpful feedback and feature requests, I have decided to start the development of version 2.0 for br4nch! *Please visit:* [*https://br4nch.com*](https://br4nch.com) *for helpful links.* ​ **Here are some of the upcoming features:** * Renewing alot of arguments and crucial functions. ⚠️ * Adding a new 'load.json' function that imports a complete json data file. * Adding a new 'export.json' function that exports a branch to a json data file. * Adding a new 'list.branches' function. * Adding a new 'list.nodes' function. * Adding an improved algorithm to search for new updates for br4nch. * Adding support for more python versions. * Updating documentation. * Rewritting alot of other functions. # 💙💛
0.6
t3_tz38cy
1,649,423,481
Python
Favorite Python Web Framework
Django FastAPI Flask Masonite Bottle …other? Also discuss why
0.93
t3_tz2v7b
1,649,422,377
Python
Does clean code equal "Workplace" code
I am a beginner at python and have been following Angela Yu's 100 days of python. I commented on a post regarding my Coffee Machine code been some 400 lines while hers was around 150 lines with the same functionilty. ​ This led me to ask this question of, if code works does it matter if it's clean and pythonic. ​ I will reference these two tic toe games below: ​ 18000 lines (no adherence to DRY but simple to understand) [https://github.com/asweigart/my\_first\_tic\_tac\_toe/blob/9f38b04e857426c5a5b80919ad0b5fce0947c022/tictactoe.py](https://github.com/asweigart/my_first_tic_tac_toe/blob/9f38b04e857426c5a5b80919ad0b5fce0947c022/tictactoe.py) ​ 1 line (I was shocked that such a thing was even possible, considering my tic tac toe code was around 500 lines with no AI. This code is in my opinion way way to complex and one would probably be working in the realm of datasciences/ML to understand such a thing) [https://www.reddit.com/r/Python/comments/9ozfeq/tictactoe\_in\_one\_line\_python35/](https://www.reddit.com/r/Python/comments/9ozfeq/tictactoe_in_one_line_python35/) ​ Both programs work, but if one was given only the option of picking from the two, which would be preffered in the workplace? In my opinion, the 18000 line code would be acceptable as it allows all team members, novice or not to atleast have some understanding. ​ EDIT: Better late than never, but I realised I have been referencing my tic tac toe code of 500 lines vs the 1 and 18000 liners but havent posted it for comparison. So here it is (I do acknowledge that a tic tac toe game has no relevance to the workplace, but is the code structure I used somewhere along the lines of "hirable".): [https://pastebin.com/GBCRiGWe](https://pastebin.com/GBCRiGWe)
0.5
t3_tyztcm
1,649,410,916
Python
Creating 3D Maps with Python (feat.Mapbox)
**Creating 3D Maps with Python (feat.Mapbox)** [https://wooiljeong.github.io/python/mapboxgl\_map/](https://wooiljeong.github.io/python/mapboxgl_map/) Using WGL provided by Mapbox with Python, I visualized apartment prices in Seoul, Korea on a 3D map. The description of the implementation method is in Korean, but the code is also recorded, so there is no difficulty in understanding it. https://preview.redd.it/qcnyr389t9s81.png?width=919&format=png&auto=webp&s=d9e1997e4f95119926a04aaa09492a11a3c2be60
0.57
t3_tyzbab
1,649,408,660
Python
Backgammon Game
A game of backgammon. Written with Python and Cython. I'm interested in artificial intelligence so this program has an ai and can play against itself. It uses the monte-carlo tree search algorithm. https://preview.redd.it/xhkqm66ej8s81.png?width=802&format=png&auto=webp&s=60007f6b59c5471f70b98234be65aa6a9201a551 [https://github.com/Tracing/python-backgammon](https://github.com/Tracing/python-backgammon)
0.67
t3_tyvodx
1,649,393,370
Python
Best 20 Python Program only for Beginners
The Python programming language is one of the most used languages in the world, especially in data analytics. There are many different types of Python projects that you can do. Some of the most common Python project ideas are listed in this blog. Source Code: [https://www.myguideinfo.com/search/label/python-projects](https://www.myguideinfo.com/search/label/python-projects) **The 20 Best Python Projects only for Beginners** 1. Finding Mean, Median, Mode in Python without libraries 2. Program to Find LCM of two numbers in Python 3. Find Duplicate Values using Python 4. Python Program to Check Prime Number 5. Find Greater Number Using If Function In Python 6. Taking Multiple User's Input Using While Loop in Python 7. Create a Digital Clock In Python With Source Code 8. Create To-Do List Using Python with Source Code 9. Python Program to Display Calendar with Source Code 10. Create a Password Generator In Python with Source Code 11. Python Program to Print all Prime Numbers in an Interval 12. Python Program to Find the Sum of Natural Numbers 13. Python Program to Find the Factorial of a Number 14. Calculate the Area of a Triangle in Python 15. Python Program to Create a Countdown Timer 16. Python Program to add two Matrices, Transpose, and Multiply 17. Contact Management Project In Python With Source Code 18. Billing System Project In Python With Source Code 19. Vehicle Inventory System In Python With Source Code 20. Library Management System In Python with Source Code Source Code: [https://www.myguideinfo.com/search/label/python-projects](https://www.myguideinfo.com/search/label/python-projects)
0.45
t3_tyvlpg
1,649,393,079
Python
I'm 13, trying to learn Python.
Where/what do you think I should start, learn first, or do you just have any tips? Also, make sure what ever you're suggesting is free. Please.
0.79
t3_tyu7kl
1,649,388,175
Python
Friday Daily Thread: Free chat Friday! Daily Thread
Use this thread to talk about anything Python related! Questions, news, projects and any relevant discussion around Python is permitted!
0.88
t3_tyqfk8
1,649,376,010
Python
With the very little Python experience I have, I coded this little “game” of uno.
[link to the python code](https://www.onlinegdb.com/Z0no-dI4B)
0.79
t3_tymxkf
1,649,365,805
Python
Automate Investopedia stock simulator with Investopedia-bot
I made this [program](https://github.com/bassel27/Investopedia-Bot) which allows you to automate Investopedia and compare the stocks you're interested in to take better decisions. What do you think?
0.6
t3_tymrnf
1,649,365,341
Python
Abandoned Docker Library?
Apologies if this isn't the right forum to raise this. I'm hoping folks here might have some insight or can point me in the right direction. I have a build tool that relies on the official Docker library for Python: [https://github.com/docker/docker-py](https://github.com/docker/docker-py) It seems like this library has been mostly abandoned by Docker. There hasn't been any new commits for almost 6 months, there are a large number of issues and pull requests that appear to be languishing, and the code owners seem to have sparse activity on GitHub. Anyone know what gives? Is Docker abandoning the Python library since docker compose is being refactored into GoLang?
0.84
t3_tylcez
1,649,361,461
Python
Getting started with Python - programming in Python 3.
0.44
t3_tyl0o2
1,649,360,548
Python
I built an all-in-one Python Web and AI/ML Resources Website
Hey there, I just built a Python Resources Website. Divided into two main Pages (Web Backend and AI/Machine Learning) for these Resources, the goal is to simplify the search for some of the best React resources such as: **1) For Python/Backend:** • Django, Flask, FastAPI Articles • Django, Flask, FastAPI Forums latest Discussions (Reddit) • Django, Flask, FastAPI YouTube Channels Videos • Django, Flask, FastAPI Websites • Django, Flask, FastAPI E-books, Snippets • *Job Opportunities (soon)* ​ **2) For Python/AI/ML:** • AI/ML Articles • AI/ML Forums latest Discussions (Reddit) • AI/ML YouTube Channels Videos • AI/ML Websites • AI/ML E-books, Snippets • *Job Opportunities (soon)* ​ **Here is the Link 👉** [**helloPython**](https://hellopython.vercel.app/) ​ Feel free to give some feedback, I'd like to keep pon working on this project because I love the Python Industry ;) Thank You!
0.58
t3_tyi792
1,649,352,775
Python
Send me suggestions
Hello, I am 18 and I have started to code last year. I want to check my code (if it is good or not, send me suggestions ;) ) with this example of the ticktacktoe game in the terminal. Available here : [https://github.com/FortisCodis/PyTicTacToe](https://github.com/FortisCodis/PyTicTacToe) Sorry for my bad english I am french... Thanks
0.17
t3_tyhe6o
1,649,350,514
Python
Build a simple bank management system in python with MySQL
0.33
t3_tyh72s
1,649,349,924
Python
Video Introduction to pandas Library in Python
0.33
t3_tygobz
1,649,348,450
Python
Documentation is highly valued, but often overlooked
Hi all, In 2017, Github (opensourcesurveyorg) conducted a survey on open source projects, and we believe that in 2022, some issues are still relevant. ​ https://preview.redd.it/p3nop6uhq4s81.png?width=914&format=png&auto=webp&s=6093f8b9dd8d814002c2b01bff334ecc55f85758 It shows the importance of documentation in an Open source project and how frustrating it can be if it’s not a priority. Some important things, in my opinion: 1. When you encounter documentation problems, help a maintainer and open a change request to improve them. 2. Licenses are by far the most important type of documentation for users and contributors. 3. Documentation helps build engaged communities. 4. When communicating about a project, use language that is clear and accessible to people who are not born English or do not read English fluently. I work for an open-source project; please feel free to comment if you have any tips for improving documentation.
0.62
t3_tygibq
1,649,347,990
Python
Maze Creator
I created a website to create and play with mazes. Website Link: https://desolate-mountain-91027.herokuapp.com/home/ GitHub Link: https://github.com/ShouvikGhosh2048/MazeCreator I would like feedback on the website and code.
0.5
t3_tyg1cd
1,649,346,669
Python
Add machine learning to your apps easily with Google's MediaPipe and Python (Beginner's Guide)
Hey everyone! **I just released** [**this beginner's guide**](https://www.assemblyai.com/blog/mediapipe-for-dummies/) **to using MediaPipe in Python**. MediaPipe provides really easy-to-use APIs for common ML tasks like hand recognition, face tracking, object detection, and more! You can use it to add ML to apps for things like sign language recognition! Here's a video of how it performs extracting 3D pose data from a video: ​ https://reddit.com/link/tyftwn/video/w02ochs5n4s81/player Let me know what you think!
0.8
t3_tyftwn
1,649,346,097
Python
Friends and I are tired of online tutorials so we’re running a cohort for learning Python with competitive team games
Hi, we’re a group of 4 friends who are working on something we think is cool but want to hear what you think! We’re super early in working on this - if you want this to exist, register interest on [https://delta-academy.xyz](https://delta-academy.xyz/) :) The best experiences we had when learning Python were working on projects and hackathons. We also benefited from being in cohorts of learners (e.g. at University) - the friends we made have often lasted. We want to combine these two elements - live competitive coding games with a cohort of fellow Python learners. The cohort will be \~20 people. It’s the format we wanted but couldn’t find online - so we’re creating it! We would have to charge for running cohorts (not least to cover the prizes!), but haven’t figured out how much yet - just want to know first if this is something anyone wants! We made a short video that hopefully explains everything in 1 min. https://reddit.com/link/tye97u/video/hbsy8qs594s81/player Really keen to hear feedback. :)
0.9
t3_tye97u
1,649,341,649
Python
Palmette JS | Python and other language template generator.
Hi everyone, I recently made this CLI app that can generate a lot of templates (many in python) of different programming language. Can I ask for a review? Is this a good idea or nah? (You can install it with "npm install -g palmette-js") [https://github.com/PalmetteJS/Palmette-js](https://github.com/PalmetteJS/Palmette-js)
0.67
t3_tycthh
1,649,337,218
Python
Making a face-controlled keyboard (Python OpenCV + MediaPipe)
0.33
t3_tycls0
1,649,336,539
Python
Rtree 1.0 released
0.77
t3_tyb398
1,649,331,385
Python
How to summarize text with Python and machine learning
Summarization is a very common task that many developers would like to automate. For example wouldn't it be nice to automatically create a summary of each blog article you're writing? Or automatically summarize documents for your employees? Tons of good applications exist. In this article I'm showing how easy it is to perform advanced text summarization in Python thanks to Transformers and Bart Large CNN: [https://nlpcloud.io/how-to-summarize-text-with-python-and-machine-learning.html](https://nlpcloud.io/how-to-summarize-text-with-python-and-machine-learning.html?utm_source=reddit&utm_campaign=la5u8885-fd8e-21eb-ca80-5242ac13d5ja) Please don't hesitate to ask questions if you have any!
0.85
t3_tyazf7
1,649,330,969
Python
extreqs: parsing package extras from a requirements.txt
I found myself writing the same logic in a couple of `setup.py` scripts so wrote a package to do it: https://pypi.org/project/extreqs/ Broadly, it parses your `extras_require` dict from your `requirements.txt` file using special comments rather than having to define the same thing twice. As noted in the documentation, there are situations where you wouldn't want to use this, most commonly for libraries. requirements.txt and package dependencies have different purposes in that case: requirements.txt provides a full, (somewhat) reproducible environment for CI and other developers to get an environment with hard versions and all of your linters etc., where package dependencies provide a minimal, permissive environment to allow as many people to use your library as possible. extreqs is primarily designed for applications (web backends, CLIs etc) which have optional extra functionality. (N.B. not a beginner but it's not a complicated enough codebase to merit anything else...)
0.67
t3_tyapmu
1,649,329,932
Python
GitHub - corpnewt/ProperTree: Cross platform GUI plist editor written in python.
0.5
t3_ty8hba
1,649,320,332
Python
How To Learn Python
0.33
t3_ty8fp5
1,649,320,121