Python files are compiled to bytecode (*.pyc).
Using Cython you can compile them to machine code (*.so in Linux).
If you use have both files in the same folder, under the same name what is the precedence between them?
Is there an automatic way to ensure that the *.so file is used instead of the *.pyc one? Or you have to do it explicitly in the code (renaming etc)?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…