Skip to content

this is a tool that generates binary files from .py files to .pyc on windows with the help of .bat files for convinience

Notifications You must be signed in to change notification settings

Fleischkuechle/python-binary-generator-py-to-pyc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-binary-generator-py-to-pyc

this is a tool that generates binary files from .py files to .pyc on windows with the help of .bat files for convinience.

how to use this tool.

(Windows only) double click on 1_Double_Click_Me_To_INSTALL_MiniConda_dev_env_python_version_310.bat this installs a virtual environment (miniconda) local isolated to the system.

then put your python .py files into the input folder and doubleclick on 2_Double_Click_Me_To_Create_Binarys_from_input_to_output.bat

this bat file will check the input folder and copy all files inside this folder into the output folder then it goes through that files and generates the .pyc for all existing .py files

when its done it deletes all .py files inside the output folder.

here you can see how its meant to be used

Image before process is started alt text

Image after the process. alt text

It does it recursive so all files in the subfolder will also be converted. alt text

added the ability to keep py files by adding the filenames in the text file so the py files will also be in the output folder.

alt text

About

this is a tool that generates binary files from .py files to .pyc on windows with the help of .bat files for convinience

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published