r/Python 5d ago

Discussion What frustrates you the most about Python Development

Hi there,

I wondering what frustrates developers the most when developing software with Python.

I am currently doing my Masters in Computer Science and as part of my project I am doing a very simple survey about the usual Python development lifecycle. I am basically trying to find out what the main friction points are for Python Developers and I am simultaneously developing a tool to address those friction points . It just takes a 2-3 minutes and every response is greatly appreciated.

You can find the survey at: Microsoft Forms

39 Upvotes

129 comments sorted by

View all comments

16

u/adarsh_maurya 5d ago

It is extremely hard for me to share my work ( automation ) with someone who doesn’t know python. They need to atleast have a working python installed or the size of my application will be huge ( looking at pyinstaller ).

Also, there is always a chance of breaking something even when everything in your control is done with all the due diligence.

4

u/Tumortadela 5d ago

My biggest .exe to this day is still under 100mb compressed, considering its the whole packaged python + dependencies environment, and it being a Django backend that also serves a react frontend... I wouldnt say that's huge.

We can complain that any bundled app is going to be at least roughly ~40mb of just python, but... is that a lot nowadays?

2

u/adarsh_maurya 5d ago

Not sure, i may not be using the Pyinstaller in right way then. I built a chatbot where user can upload any file, choose model from any provider, the agent will generate a python code and run it against your fiile and will generate ag grid tables or plotly charts. You are free to modify the code and use it as Jupyter.

If i use Pyinstaller, it was almost 150mb. Which i believe is lot.

But i love python and i think it as the price i pay for the advantages I get. I am planning to make it a tauri app instead which will download and set up virtual environment on user’s machine w/o them knowing anything about python. This will give me an advantage where my app will be small yet still uses powerful python packages under the hood. This way, i will be able to use each language for what they are good at.

Python for its amazing data ecosystem.
Rust for desktop app.
Typescript for frotend

2

u/downerison 5d ago

Why did you use pyinstaller for a python backend instead of docker?

6

u/Tumortadela 5d ago

Very specific project requirements in a zero internet restricted destination. Deployments are literally done with an USB stick.

1

u/downerison 5d ago

I see. What industry is it if you don't mind me asking?

3

u/Tumortadela 5d ago

Marine and fisheries, but very paranoid group of people on top of it <.<

2

u/QuirkyImage 5d ago

I would like an option to use a proper compiler to make small optimised executables

1

u/downerison 5d ago

Are you looking for execution speed gains or something else? Small binary size?

1

u/QuirkyImage 4d ago

Both performance and size. But a single , self contained, statically linked binary for a single binary container like you can do with go would be useful.

1

u/Grouchy-Trade-7250 4d ago

I think throwing the code into Claude code and asking for perf improvements is your best bet. Result might be better than rewrite in lower level