liftoff / pyminifier

Pyminifier is a Python code minifier, obfuscator, and compressor.
GNU General Public License v3.0
1.45k stars 223 forks source link

question about pyminifier #65

Open jjjan opened 8 years ago

jjjan commented 8 years ago

How can i obfuscated all my project file with out lose functionality?

sayak-brm commented 8 years ago

This works only on Linux but hopefully it will be fixed. (Issue #68 )

Try: pyminifier -d destination-directory project-directory/*.py

Comment and close this issue if problem is solved.

jjjan commented 8 years ago

thanks and how can use -O to obfuscate all file ?

sayak-brm commented 8 years ago

Actually -O (with a capital o) means output file. If you have Windows you cannot obfuscate multiple files. (I have Windows and even I am stuck)

If you have Linux or Mac, use the command i posted above.

juankysmith commented 7 years ago

I am not able to even obfuscate a single file, I should be missing something when using this command on Windows shell:

pyminifier -d "C:\workspace\obfuscation\pyminified" "C:\workspace\obfuscation\my_file.py"

The content of my_file.py is printed in the shell but nothing is generated in the destination folder

dzpt commented 4 years ago

It's not going to run in recursive mode? Only *.py in the first level