VOOZH about

URL: https://thenewstack.io/python-in-unexpected-places/

⇱ Python in Unexpected Places - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2025-06-05 05:00:43
Python in Unexpected Places
Programming Languages / Python / Software Development

Python in Unexpected Places

Python quietly powers Mars rover missions, particle physics at CERN, industrial robotics and more, revealing its role in the physical world.
Jun 5th, 2025 5:00am by Jessica Wachtel
👁 Featued image for: Python in Unexpected Places
Featured image via Unsplash+.

Everyone knows Python is everywhere in web development. Netflix, Instagram, and Dropbox all rely on it. But Python doesn’t just live in web apps. Python, and its libraries and frameworks, quietly run things in some pretty unexpected places.

In this post, I want to show you some of the weirder, cooler, and less obvious spots where Python is doing heavy lifting. From controlling Mars rovers to helping archaeologists dig up the past, Python’s role is way broader than most people realize. If you’ve ever thought programming was just about websites, this might change your mind. Python is everywhere and that’s pretty exciting.

NASA’s Mars Rover

Fine, Python isn’t on the actual Rover, but it still plays a major role in the mission. Teams at NASA use it to plan safe routes across Mars by calculating paths through tricky terrain. It helps process the flood of images and sensor data the rover sends back, making it easier to spot hazards or interesting geological features. Scientists use Python to visualize that data fast, so they can make decisions on the fly. Before sending any commands, engineers simulate rover actions in Python to catch potential issues ahead of time. It’s the glue between planning, analysis, and visualization, turning raw data into real insights that keep the mission moving.

Libraries and frameworks:

  • NumPy and SciPy: Perform complex numerical calculations for trajectory planning and data analysis.
  • Matplotlib: Provides visualization tools to help scientists explore and understand rover data quickly.
  • NASA-built simulation tools: Custom Python-based software that simulates rover commands and mission scenarios to test and validate operations before deployment.

CERN: High-Energy Physics Meets High-Level Language

CERN runs massive experiments like those at the Large Hadron Collider (LHC), which generate petabytes of data every year. Physicists analyze this data to uncover the fundamental particles and forces of the universe.

Python handles many tasks behind the scenes at CERN’s Large Hadron Collider experiments. Python plays a vital role at CERN by powering data processing, experiment control, rapid prototyping, and visualization. It helps transform billions of raw particle collisions into manageable data sets, enables scientists to monitor and adjust detectors in real time, and lets physicists quickly test new scientific models without lengthy compile times. Python also supports exploring and presenting complex data through clear visualizations, speeding up discovery and insight.

Libraries and Frameworks:

  • PyROOT: A Python interface to CERN’s ROOT framework, allowing high-performance data analysis with Python while leveraging C++ speed.
  • NumPy: Provides efficient handling of large numerical arrays and mathematical functions used in data manipulation.
  • Pandas: Offers powerful data structures and tools to organize and analyze tabular data.
  • matplotlib: Enables detailed plotting and visualization of experiment results
  • Gaudi: CERN’s modular framework for experiment control and data processing, with Python bindings for scripting and automation.

Industrial Robots: Real-Time Control and Monitoring

Python controls and monitors industrial robots in real-time. It manages robot movement commands to ensure precise and coordinated actions on the factory floor. Python collects and processes sensor data to keep track of robot health and performance. This real-time monitoring helps spot issues quickly, reducing downtime. Python also analyzes sensor trends to predict maintenance needs before failures occur. Overall, Python helps automate operations, improve efficiency, and keep robots running smoothly.

Frameworks and libraries:

  • ROS (Robot Operating System) with rospy: Framework for robot software and communication.
  • NumPy and SciPy: Perform real-time calculations and process sensor signals.
  • pandas: Organizes and analyzes time-series sensor data for monitoring and maintenance.
  • matplotlib and Plotly: Visualize robot performance and detect anomalies on dashboards.

Film and TV VFX

Python plays a big role in film visual effects by automating repetitive tasks and managing complex workflows. It helps artists and technical teams create and manipulate 3D models, animations, and simulations more efficiently. Python scripts streamline rendering pipelines and integrate different software tools, speeding up the production process. It also processes large amounts of data, like tracking motion or adjusting lighting, to ensure final shots look seamless and polished.

Libraries and frameworks:

  • Maya Python API: Controls 3D modeling and animation in Autodesk Maya.
  • Nuke Python API: Automates compositing tasks in Foundry’s Nuke.
  • NumPy and OpenCV: Handle image processing and data manipulation.
  • NumPy and OpenCV: Handle image processing and data manipulation.

Earthquake Modeling: Seismic Risk and Simulation

Python helps scientists model earthquakes and assess seismic risk by pulling together huge amounts of geophysical data, running simulations, and visualizing potential outcomes. Researchers use it to process real-time sensor data, map fault lines, and simulate how earthquakes could impact buildings, cities, or regions. It’s also used to test and refine models quickly, which helps in planning and disaster preparedness.

Libraries and frameworks:

  • ObsPy: A toolkit for reading, processing, and visualizing seismological data.
  • NumPy and SciPy: Handle numerical modeling and complex calculations.
  • Matplotlib and Plotly: Used for visualizing waveforms, hazard maps, and simulation results.
  • Pandas: Organizes and analyzes large sets of seismic and structural data.

Yes, Python powers countless websites, but it also helps scientists explore other planets, keeps factories working, models natural disasters, and brings Hollywood’s wildest ideas to life. It’s a behind-the-scenes engine driving some of the most fascinating tech out there. Once you start noticing where Python shows up, you realize it’s not just a web language. It’s part of the real world in a surprisingly physical way.

TRENDING STORIES
Jessica Wachtel is a developer marketing writer at InfluxData where she creates content that helps make the world of time series data more understandable and accessible. Jessica has a background in software development and technical journalism.
Read more from Jessica Wachtel
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Real.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.