PDA

View Full Version : Updating scripts files, and the pyc and pyo


redsolo
2007-03-04, 00:06
When updating scripts from xbmcscripts.com, I get new py files. But what about those pyc and pyo files? Those are compiled version (i guess) of it, but what happens when XBMC has newer py files but older pyc/pyo files? Will the latest py files be reloaded and the compiled files are updated automatically?

Or do I have to reload modules every time in my script to counter it?

chunk_1970
2007-03-04, 00:42
The pyo and pyc should get overwritten if the py is newer. In some circustances people supply only the pyc. Asteron and the other coders have used this approach for the online game scores so people cannot manipulate the files to cheat.