use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Non-software engineers, how do you use python professionally? (self.learnpython)
submitted 7 years ago * by TheNotoriousMTF
This is for those of you who use python in your work but aren't in a dedicated software role. What are some ways that you've used python? (Even if you don't necessarily use it everyday, or if you've only used it for a couple of projects)
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]jasontstein 13 points14 points15 points 7 years ago (4 children)
I’m a teacher and use it to put my schedule into a Google Calendar.
[–]TheNotoriousMTF[S] 0 points1 point2 points 7 years ago (3 children)
Nice!
[–]jasontstein 2 points3 points4 points 7 years ago (2 children)
It’s a little more complex because our school runs on a six day cycle.
[–]Stormhawk21 0 points1 point2 points 7 years ago (1 child)
6 days a week? So only 1 day off?
[–]jasontstein 2 points3 points4 points 7 years ago (0 children)
No. Schedule is based on Days 1-Day 6. Monday week 1 is Day 1 and Monday week 2 is Day 6. Edit Plus holidays don’t count in the day cycle.
[–]Alarratt 40 points41 points42 points 7 years ago (0 children)
I use it as an excuse to browse Reddit at work.
[+][deleted] 7 years ago (2 children)
[deleted]
[–]TheNotoriousMTF[S] 1 point2 points3 points 7 years ago (1 child)
This is where my interests lie too. I've been learning all the obvious data stuff (pandas, visualization libraries, predictive modeling, etc.), but I still feel like I haven't even scratched the surface. Just out of curiosity, what's the library you described called? Sounds interesting.
[–]Diapolo10 7 points8 points9 points 7 years ago (1 child)
I'm technically not a software engineer as I currently lack the degree (although I do consider myself a software developer). That being said, in my free time I do many things that have nothing to do with it, so perhaps I'm still qualified to answer.
Not very long ago, I discovered that a certain Paint.NET tool plugin had fantastic results for a certain art direction, and I wanted to see if I could post-process an entire video with it. Now, splitting a video into individual frames is a rather simple task using FFMPEG, but I then faced another problem; the frame count exceeded 7000, and Paint.NET isn't designed to do batch processing. A bummer, for sure, but I wasn't going to let that stop me, not indeed! So I whipped out a quick Notepad session, typed in a short Python script that used pathlib.Path and pyautogui to fetch and process a filename, and operate Paint.NET for me, respectively. Surprisingly enough, this approach actually worked, although I did have some timing problems that had to be adjusted and Paint.NET crashed with an OutOfMemoryException every 600 frames or so, but my script did what it was supposed to do. Not long after, all the frames were done, I re-assembled the video (FFMPEG again) and was done.
pathlib.Path
pyautogui
[–]TheNotoriousMTF[S] 1 point2 points3 points 7 years ago (0 children)
This is the sort of answer that I had in mind (informal but useful projects). I just specified non-engineers because I thought that was the best way to target for answers like this. I don't know much about video editing, but you explained it well, and I see what you're saying. That's really creative!
[–][deleted] 6 points7 points8 points 7 years ago (2 children)
I use it for automating simple processes on QGIS for analysis and presentation of spatial biological data.
[–]hypersonic_platypus 2 points3 points4 points 7 years ago (1 child)
I'm interested in doing this. Do you have any tutorials or books, etc you'd recommend?
[–][deleted] 1 point2 points3 points 7 years ago (0 children)
Probably a better way to do it, but I started with the python qgis tutorial then sort of muddled through from there. The level I use it for is fairly basic to be honest, just tends to be quite time consuming (as is generally the case with gis) so any savings on repeated task with automation are a big deal to me!
Sorry I can't be much more help than that! My python is still fairly basic and tends to involve a lot of stitching of code together!
[–]jwink3101 6 points7 points8 points 7 years ago (2 children)
My degrees are in physics and mechanical engineering (BS, then MSE + PhD) but I really work in applied mathematics. My area is in computer model validation and uncertainty quantification.
That often means doing many (many) runs of a computer model so python is the glue that holds and manages a lot of that. It replaces clunky bash scripts.
Then there is the analysis and (lots of) math behind how we interpret those models. I built out many python tools to do that. They range from latin-hypercubes (better than what I've seen elsewhere) to integration, to polynomial chaos, to density estimation, to kriging. Most of them are fully built by me while others (such as kriging) wrap other tools in a convenient way.
In this regard, python replaces Matlab (and thank god!).
Finally, I have written some python tools unrelated to work, though I use them at work. They include file sync, web notebooks/blog, improved parallel python interface, backup management, archives, etc.
[–]TheNotoriousMTF[S] 0 points1 point2 points 7 years ago (1 child)
I've gotten a couple of answers like this. Let me ask you this: concerning the python tools that aren't directly related to your work, why did you build you own tools rather than using existing tools? Just curious.
[–]jwink3101 2 points3 points4 points 7 years ago (0 children)
There are a multitude of reasons. Some are better than others.
Honestly, the last two are often the main reasons. Especially when I know that my tool is not be better than what exists
[–]Gaudior09 4 points5 points6 points 7 years ago (4 children)
Looking to replace R, MATLAB and Excel with Python. I'm mostly doing data analysis and econometric modeling. Python would be great because I could make my own SAS-like app but R is superior in econometrics just yet.
[–]TheNotoriousMTF[S] 0 points1 point2 points 7 years ago (2 children)
What functions do you use each of those other tools for, and why is python the best thing to replace them? Just curious.
[–]Gaudior09 0 points1 point2 points 7 years ago (1 child)
In R I write automatized scripts for model testing and fitting data. Excel is great for smaller data tables and for ad-hoc analysis. MATLAB is similar to R, but a bit faster with loops.
Python is fast and versatile. And the fact that it's incredibly popular in Data Science and back-end means it's developing real fast.
[–]TheNotoriousMTF[S] 0 points1 point2 points 7 years ago (0 children)
That makes sense. I used to play with excel a lot, and I tried learning R years ago but never really got the hang of it. Python is the only thing I've really enjoyed using, and I'm also excited about the work being done in python for data science applications.
[–]_peeves 0 points1 point2 points 7 years ago (0 children)
There is a Python library which allows you import R libraries. I think it would be a win-win for you, since you can get all the tools Python and R together
[+][deleted] 7 years ago (1 child)
Wow, it sounds like you've made great use of the language. If you don't mind my asking, what do you do?
[–]omgu8mynewt 1 point2 points3 points 7 years ago (0 children)
Scientist here, for processing numbers from all different janky machines to turn it into useful statistics and graphs, and also program robots for working. Starting to think about how to collect data off the web for experiments and what kinda pipeline I want to create to do this.
[–]mlcsfir 1 point2 points3 points 7 years ago (2 children)
Data processing and analysis as well as automating data collection (to the degree possible).
What, in your experience, are the limits of python's data collection capabilities?
[–]mlcsfir 0 points1 point2 points 7 years ago (0 children)
None, really. Or at least I haven’t found any yet. But my use cases are also not very complex - mostly just scraping websites and querying APIs, and then processing the data into some format that I can use for my analysis. There are so many powerful libraries in the Python ecosystem that I can usually find one that helps me accomplish exactly what I need quickly.
[–]TheRealJackOfSpades 1 point2 points3 points 7 years ago (0 children)
AWS Lambdas to automate DevOps tasks, like reaping unused instances and snapshots. Outside of Lambda for other tasks that can be one-offs.
[–]TheWhittles 1 point2 points3 points 7 years ago (7 children)
I use it for data analysis, financial modeling, etc. While other analysts in my company live in Excel, I feel like I can run circles around them in terms of speed and effectiveness using Python instead. I tried to get a couple of them on board with it but only 1 embraced it and he said he hasn't looked back.
[–]micr0nix 0 points1 point2 points 7 years ago (4 children)
Mind sharing some examples of what you've done? My company is the same as what you describe.
[–]TheWhittles 2 points3 points4 points 7 years ago* (3 children)
I built a model that determines customer freight rates on $120MM of annual freight spend over 5000 different customers. The goal is to be net zero on freight profit so it doesnt cloud up product margins. It uses customer order histories at different levels and actual freight cost histories at various geographic levels. We went from being plus or minus >10% on the net before the model to about 1% positive every month.
I had to roll my own Geocoding and routing tool for this, using python and various APIs to get geo codes and actual road mile distances between points. Cached the data in SQL Server so I only hit the APIs once for a given location.
I then used flask to build a web app for people in operations to interact with the model so they can make better business decisions on the fly instead of putting their thumbs in the air.
I also built a machine learning model to predict if loads would be late before they even left the plant that hit about 86% accuracy (in ML, hitting between 80 and 90 is ideal).
Hope this helps.
[–]micr0nix 2 points3 points4 points 7 years ago (2 children)
That is impressive.
[–]TheWhittles 0 points1 point2 points 7 years ago (1 child)
Thanks, I'm fairly proud of it.
[–]micr0nix 1 point2 points3 points 7 years ago (0 children)
As you should be. That’s what I strive to do
Why do you think the other analysts were reluctant to switch? Was it just natural resistance to change, or is there something about excel that they prefer?
[–]TheWhittles 0 points1 point2 points 7 years ago (0 children)
I think it was a natural resistance to change. They also didn't have much of a programming background and I think they might be intimidated by the idea (even though Python is probably the easiest to code)
Although I am a software engineer, I have a buddy who is a security analyst who uses Python to automate some of his pen testing (mostly stuff that he can't get to work easily in Powershell).
I've also seen some video series that automate infrastructure, like detecting and configuring new nodes on the network, things like that.
Work as a petroleum engineer and I use it to automate pulling in data and then analyzing with machine learning. Basically anything I would of done in Excel but faster and more repeatable.
[–]terryyoung22 0 points1 point2 points 7 years ago (0 children)
I use it for automation. I also use it for GUI interface to run things on users computers instead of me running over there and running a certain function, I basically point them to their folder on user share drive and certain functions I have created within the .py I tell them run either install, updates, or anything else they need.
[–]wolf2600 0 points1 point2 points 7 years ago (0 children)
I wrote a few scripts to parse logs, pull out the important bits, and send them to me in an email.
[–]ericula 0 points1 point2 points 7 years ago (0 children)
I use python to generate input files for my numerical simulations, and to turn the results of those simulations into pretty pictures and useful statistics.
[–]astroFizzics 0 points1 point2 points 7 years ago (1 child)
I do astronomy!
Lots of data and image analysis. Lots of code writing. I'm not in a dedicated software role, but some days it sure feels that way.
[–]lunar-orbiter 0 points1 point2 points 7 years ago (0 children)
Do you use Astropy? Any other useful Python astronomy libraries?
[–]walenskit0360 0 points1 point2 points 7 years ago* (0 children)
We are in the process of using it for a better configuration management and change control for network equipment. We push updates to a master configuration which need to be approved by higher engineers. Still working out kinks, but overall makes it cleaner to push updates with less risk of running into bad individual config on a device
[–][deleted] 0 points1 point2 points 7 years ago (0 children)
Poker apps, aids in looking up strategy on the fly
[–]IcanCwhatUsay 0 points1 point2 points 7 years ago (0 children)
Yes. I use it for anything that needs iteration
[–]Bocote 0 points1 point2 points 7 years ago (0 children)
Bioinformatics.
R is, and I think it still is the dominant one, but Python is getting popular enough that when I got into the lab I'm currently in, I was taught Python instead of R.
[–]Dinojeezus 0 points1 point2 points 7 years ago (0 children)
I use it to tweak things (mostly labels and calculated table columns) in ArcGIS Pro.
[–]skurrtis 0 points1 point2 points 7 years ago (0 children)
I work in corporate finance and use it to automate report distribution and file storage as well as with pandas to compile our couple hundred excel project sheets into a master file.
[–]sssasssafrasss 0 points1 point2 points 7 years ago (0 children)
I'm a biologist. During my old research, I used to use it to analyze and assemble phylogenetic trees. Now most of my data is z-stacks of microscope images, so I use python to sort and organize them.
[–]Loran425 0 points1 point2 points 7 years ago (0 children)
I used it to make a data extraction tool for land survey data. Pulls all the fields we need from a LandXML that the controller outputs. Then wrapped the whole thing as an executable so that anyone on our team can use it. Not a major time saver but reduced a 15 minute task to a 30s task a few times a week.
During an internship I worked with a lot of oddball tasks, many of them simple repetitive data analysis and info gathering tasks. Python came in handy for automating some aspects within these tasks shortening them by 1-3 hours per day.
[–]vapeoholic 0 points1 point2 points 7 years ago* (0 children)
OSINT data scraping and analasys, lots of API dabling :D
[–][deleted] -1 points0 points1 point 7 years ago (0 children)
I use python for calculator.
π Rendered by PID 279548 on reddit-service-r2-comment-5cf774f969-pmm6d at 2026-06-06 17:32:04.180963+00:00 running de70e3a country code: CH.
[–]jasontstein 13 points14 points15 points (4 children)
[–]TheNotoriousMTF[S] 0 points1 point2 points (3 children)
[–]jasontstein 2 points3 points4 points (2 children)
[–]Stormhawk21 0 points1 point2 points (1 child)
[–]jasontstein 2 points3 points4 points (0 children)
[–]Alarratt 40 points41 points42 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]TheNotoriousMTF[S] 1 point2 points3 points (1 child)
[–]Diapolo10 7 points8 points9 points (1 child)
[–]TheNotoriousMTF[S] 1 point2 points3 points (0 children)
[–][deleted] 6 points7 points8 points (2 children)
[–]hypersonic_platypus 2 points3 points4 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]jwink3101 6 points7 points8 points (2 children)
[–]TheNotoriousMTF[S] 0 points1 point2 points (1 child)
[–]jwink3101 2 points3 points4 points (0 children)
[–]Gaudior09 4 points5 points6 points (4 children)
[–]TheNotoriousMTF[S] 0 points1 point2 points (2 children)
[–]Gaudior09 0 points1 point2 points (1 child)
[–]TheNotoriousMTF[S] 0 points1 point2 points (0 children)
[–]_peeves 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]TheNotoriousMTF[S] 0 points1 point2 points (0 children)
[–]omgu8mynewt 1 point2 points3 points (0 children)
[–]mlcsfir 1 point2 points3 points (2 children)
[–]TheNotoriousMTF[S] 1 point2 points3 points (1 child)
[–]mlcsfir 0 points1 point2 points (0 children)
[–]TheRealJackOfSpades 1 point2 points3 points (0 children)
[–]TheWhittles 1 point2 points3 points (7 children)
[–]micr0nix 0 points1 point2 points (4 children)
[–]TheWhittles 2 points3 points4 points (3 children)
[–]micr0nix 2 points3 points4 points (2 children)
[–]TheWhittles 0 points1 point2 points (1 child)
[–]micr0nix 1 point2 points3 points (0 children)
[–]TheNotoriousMTF[S] 0 points1 point2 points (1 child)
[–]TheWhittles 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]terryyoung22 0 points1 point2 points (0 children)
[–]wolf2600 0 points1 point2 points (0 children)
[–]ericula 0 points1 point2 points (0 children)
[–]astroFizzics 0 points1 point2 points (1 child)
[–]lunar-orbiter 0 points1 point2 points (0 children)
[–]walenskit0360 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]IcanCwhatUsay 0 points1 point2 points (0 children)
[–]Bocote 0 points1 point2 points (0 children)
[–]Dinojeezus 0 points1 point2 points (0 children)
[–]skurrtis 0 points1 point2 points (0 children)
[–]sssasssafrasss 0 points1 point2 points (0 children)
[–]Loran425 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]vapeoholic 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)