Re: Checking if a script is compiled or not in Python?
It's going to depend on which thing you use to compile it, but I believe that the compilers maybe set sys.frozen, which isn't normally on the sys module, so something like getattr(sys, 'frozen', False). But, while you're figuring this out, you should also figure out if you can just not need to know, because changing code based on whether or not it's frozen is in general a good way to have bugs.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector