r/Python • • Jan 02 '21

Tutorial Learn Python in 2021 with these FREE Udemy Courses!

1.8k Upvotes

r/Python • • Jan 03 '19

Python in one?

Thumbnail
imgur.com
1.8k Upvotes

r/Python • • Jan 28 '26 This Bravo

Meta (Rant) AI is killing programming and the Python community

1.8k Upvotes

I'm sorry but it has to come out.

We are experiencing an endless sleep paralysis and it is getting worse and worse.

Before, when we wanted to code in Python, it was simple: either we read the documentation and available resources, or we asked the community for help, roughly that was it.

The advantage was that stupidly copying/pasting code often led to errors, so you had to take the time to understand, review, modify and test your program.

Since the arrival of ChatGPT-type AI, programming has taken a completely different turn.

We see new coders appear with a few months of experience in programming with Python who give us projects of 2000 lines of code with an absent version manager (no rigor in the development and maintenance of the code), comments always boats that smell the AI from miles around, a .md boat also where we always find this logic specific to the AI and especially a program that is not understood by its own developer.

I have been coding in Python for 8 years, I am 100% self-taught and yet I am stunned by the deplorable quality of some AI-doped projects.

In fact, we are witnessing a massive arrival of new projects that are basically super cool and that are in the end absolutely null because we realize that the developer does not even master the subject he deals with in his program, he understands that 30% of his code, the code is not optimized at all and there are more "import" lines than algorithms thought and thought out for this project.

I see it and I see it personally in the science given in Python where the devs will design a project that by default is interesting, but by analyzing the repository we discover that the project is strongly inspired by another project which, by the way, was itself inspired by another project. I mean, being inspired is ok, but here we are more in cloning than in the creation of a project with real added value.

So in 2026 we find ourselves with posts from people with a super innovative and technical project that even a senior dev would have trouble developing alone and looking more closely it sounds hollow, the performance is chaotic, security on some projects has become optional. the program has a null optimization that uses multithreads without knowing what it is or why. At this point, reverse engineering will no longer even need specialized software as the errors will be aberrant. I'm not even talking about the optimization of SQL queries that makes you dizzy.

Finally, you will have understood, I am disgusted by this minority (I hope) of dev who are boosted with AI.

AI is good, but you have to know how to use it intelligently and with hindsight and a critical mind, but some take it for a senior Python dev.

Subreddits like this are essential, and I hope that devs will continue to take the time to inquire by exploring community posts instead of systematically choosing ease and giving blind trust to an AI chat.


r/Python • • May 17 '21

Resource MIT offers free online course in Computer Programming using Python

Thumbnail
edx.org
1.8k Upvotes

r/Python • • Jan 15 '20

I made an Instagram Bot that downloads any video post you send to him and sends it back to you as mp4. Source Code will follow later https://instagram.com/instaadownload

1.8k Upvotes

r/Python • • Jan 03 '21

Intermediate Showcase 8 months ago, I started writing code to scrape and visualize data on stock trading by US politicians. Since then I’ve received hundreds of thousands of visitors to the dashboard and just finished up the first version of a Python package that will make it easier for others to work with the data.

1.8k Upvotes

If anyone wonders what the most suspect trading has been since I started actively tracking it, it was this interesting behavior by Sen. Richard Burr near the start of this year.

I recently built an API allowing access to some of the datasets I've collected (which includes stuff like wallstreetbets discussion, wikipedia page views, and other alternative data) and today I finished building a Python package that makes it super easy to get the data into a clean format in a Pandas dataframe.

Here’s a quick tutorial I put together this morning showing how get data on recent stock trading by US politicians and perform some basic analysis.

Here’s a link to the dashboard I built tracking senate trading and here’s a link to the dashboard I built tracking trading by the house of congress.

This community was very helpful when I was first getting started with the language, and I'd love to answer any questions you have about this project.


r/Python • • Nov 12 '20

News Guido van Rossum joins Microsoft

Thumbnail
twitter.com
1.8k Upvotes

r/Python • • Jan 14 '20

I made a gravity simulation https://github.com/phgilde/gravity_simulation

1.8k Upvotes

r/Python • • Jun 30 '20

I Made This I finished my Map Stylizer program! Repo in the comments

Post image
1.8k Upvotes

r/Python • • Oct 16 '18

I made this with Python. So Proud.

1.8k Upvotes

r/Python • • Apr 05 '20

I Made This Matplotlib 3D bar plots

Post image
1.8k Upvotes

r/Python • • Oct 18 '19

I made a Python Node editing IDE and it has saved me hours in development time and made my code ridiculously reusable

1.8k Upvotes

r/Python • • May 28 '19

My simulation of gravity with 1000 particles. PC took a couple of hours to process!

1.8k Upvotes

r/Python • • Jul 11 '20

Discussion Concept Art: what might python look like in Japanese, without any English characters?

Post image
1.8k Upvotes

r/Python • • Mar 12 '17

He's a Parsertongue.

Post image
1.8k Upvotes

r/Python • • Aug 02 '19

So i turned old processor into keychain. What do you guys think about it?

Post image
1.8k Upvotes

r/Python • • Aug 26 '20

Discussion In case you didn't know: Python 3.8 f-strings support = for self-documenting expressions and debugging

1.8k Upvotes

Python 3.8 added an = specifier to f-strings. An f-string such as f'{expr=}' will expand to the text of the expression, an equal sign, then the representation of the evaluated expression.

Examples:


input:

from datetime import date
user = 'eric_idle'
member_since = date(1975, 7, 31)
f'{user=} {member_since=}'

output:

"user='eric_idle' member_since=datetime.date(1975, 7, 31)"

input:

delta = date.today() - member_since
f'{user=!s}  {delta.days=:,d}'

output (no quotes; commas):

'user=eric_idle  delta.days=16,075'

input:

from math import cos,radians
theta=30
print(f'{theta=}  {cos(radians(theta))=:.3f}')

output:

theta=30  cos(radians(theta))=0.866

r/Python • • Apr 23 '20

I Made This I made this clock using python and as GUI html, css, JS

1.8k Upvotes

r/Python • • May 31 '19

I made a webcam to ascii converter with opencv

1.8k Upvotes

r/Python • • Jun 29 '20

I Made This This beziez curve i've made

1.7k Upvotes

r/Python • • Apr 19 '20

I Made This Today I’m releasing PyBoy v1.0.0! A Game Boy emulator written in Python, focused on scripting, AI and learning

1.7k Upvotes

Back in 2015, it started as a university project. But I’ve kept working on it, and others have started contributing as well over the years. Today we thought it was time to officially release PyBoy v1.0.0 on PyPi and GitHub!

https://github.com/Baekalfen/PyBoy

https://i.imgur.com/jEpnRRz.gifv

What is PyBoy

In short, it’s a Game Boy emulator written from scratch in pure Python, with additional support for scripting through an API. We’ve added type definitions, which allows us to compile the software using Cython to get performance comparable to emulators written in C and C++.

Installation

The installation instructions are simple: Install SDL2 on your system, and install PyBoy through pip install pyboy. If you need to compile from source, we also have detailed instructions on the GitHub Wiki for Mac, Linux and Windows.

https://github.com/Baekalfen/PyBoy/wiki/Installation

Features

PyBoy is designed to be accessible from Python, so we support and encourage people who want to make experiments, bots or AI’s to try it out. We are building game-specific wrappers, which at the moment allows programmers to interface with Tetris and Super Mario Land, without any intricate knowledge of the Game Boy. Documentation can be found at: https://docs.pyboy.dk .

We also want to learn and experiment with more exotic features. Based on work from a university project, we’ve added rewinding to the emulator. Which means, you’ll be able to turn back time in any game.

https://i.imgur.com/nr9VWwe.gifv

Feedback, Contribute, Learn

We’d love to hear your feedback, and see the projects you wish to use PyBoy for! We will do our best to make it happen.

Please give any feedback in the comments below, on our Discord server or create issues/pull-requests on GitHub if you wish.


r/Python • • Apr 22 '20

Web Development Update! As promised, I made a website for the writing synthesis algorithm I wrote, It's fairly easy to use (Massively better than using the scripts itself). I hope it helps some of you to get your assignments done. Do try it out! Currently hosted on https://3c160834.ngrok.io (Link expires in 8 hrs)

1.7k Upvotes

r/Python • • Jul 05 '20

I Made This Understand your data with a few lines of code in seconds using DataPrep.eda

1.7k Upvotes

r/Python • • Nov 11 '19

I made c++-style printing in Python :P

Post image
1.7k Upvotes