JohnHammond / pyminify

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Python 100.0%