Skip to content

slippedandmissed/Python-t

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python't

An esoteric programming language based on Python

Start with normal Python code. Each letter then gets replaced with its inverse (e.g. "a" is replaced with "z", "C" is replaced with "X", "8" is replaced with "1"). Any character which is not alphanumeric stays unchanged. Then the order of the lines is reversed.

Usage

usage: pythont.py [-h] [--output OUTPUT] [--bin BIN] [--noexec] [--nocleanup] src [args [args ...]]

positional arguments:
  src              path to the script you want to transpile.
  args             arguments to pass to the transpiled script upon execution

optional arguments:
  -h, --help
    show this help message and exit

  --output OUTPUT
    path to store the transpiled code (default is the same name as the src file with a '.py' extension)

  --bin BIN
    path to the Python binary to execute the script (default is 'python3')

  --noexec
    only transpile the code, do not execute it

  --nocleanup
    do not delete transpiled code after execution

About

An esoteric programming language based on Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages