Skip to content

Compress a Python script to a command-line one-liner

Notifications You must be signed in to change notification settings

lucascherzer/pyminify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

pyminify

I put this in a repository because I constantly forget to save this, and I find myself needing it every now and again.

This code takes a Python script file and converts it into a compressed, one line command to run via python -c with strings put together with chr.

About

Compress a Python script to a command-line one-liner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%