Thursday, May 10, 2018

Compiled .py files (.pyc) cautions

Running compiled python scripts (.pyc files) could cause issues if the python version that compiled the script is different from the python version running the script.

Python version X compiles test.py into test.pyc.
Python version Y runs test.pyc.

This could cause issues if X and Y are different.

No comments:

Post a Comment

Accessing Repositories for Fedora behind Proxy

By default, even when specifying the proxy address/port user/pwd, Fedora will likely complain about SSL certificates being invalid. In the ...