Well, TBF there is a lot of avenues to get locked into legacy software in python. I am still modifying and using Python2 code because the drivers and libraries for hardware are only available in python2 and the hardware developers wont spend the money and time to create Python3 libraries. So I am stuck using an airbridged, un-updated python2 environment until it gets to the point of updating/backwards engineering python3 drivers and libraries for all our hardware ourselves.

permalink
report
reply
6 points

What hardware drivers are written in Python? I would assume they’re bindings to drivers with a C interface.

permalink
report
parent
reply

I should have been more specific. Yes, it is a wrapper around a closed source blob.

permalink
report
parent
reply
2 points

Take a look at micropython, some drivers are writing in pure python, I’ve written a display driver previously

permalink
report
parent
reply
3 points

I assumed those were for hobbyists. I would be surprised if that was used in a major product given how many cycles you lose to python implementation.

permalink
report
parent
reply
Deleted by creator
permalink
report
parent
reply
4 points

Won’t or can’t?

permalink
report
reply
1 point

At the old job I was using IronPython (2.7) to write Grasshopper plug-ins in the Rhino CAD software. Luckily, it was mostly responsible for kicking off Python3 and Go subprocesses.

Now, the worst I’m stuck with is 3.8 for one of our repos using PyTorch.

permalink
report
parent
reply

Python

!python@programming.dev

Create post

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events
October 2023
November 2023
Past

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
  • Pythörhead: a Python library for interacting with Lemmy
  • Plemmy: a Python package for accessing the Lemmy API
  • pylemmy pylemmy enables simple access to Lemmy’s API with Python
  • mastodon.py, a Python wrapper for the Mastodon API
Feeds

Community stats

  • 1

    Monthly active users

  • 145

    Posts

  • 125

    Comments