|
|
Subscribe / Log in / New account

Linux distributions and Python 2

Linux distributions and Python 2

Posted Jun 12, 2018 14:53 UTC (Tue) by rbanffy (guest, #103898)
In reply to: Linux distributions and Python 2 by k8to
Parent article: Linux distributions and Python 2

If the script is already compiled to a .pyc, you can probably find out which version of Python compiled it (I never tried that because, frankly, I'm very happy with having python and python3 on /usr/bin).


to post comments

Linux distributions and Python 2

Posted Jun 12, 2018 15:24 UTC (Tue) by k8to (guest, #15413) [Link]

That's determining which python already ran it, not which python it needs.
I don't believe it's very decidable.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds