Builds
Overview
AWK.py is a simple library to bring great AWK features to Python 3. AWK.py is compatible with Python 2 (not tested).
References
Installation
Debian based packages (Debian, Ubuntu, Raspbian, …)
-
Download .zip/.tar.gz or clone .git and extract/clone or
tar -xvf <version>.tar.gz
/git clone github.com/python3lover/AWK.py.git
. -
If cloned, rename directory to “awk-py” or
mv AWK.py awk-py
. -
Done! Try some examples at /examples or
python3 /usr/lib/python3/awk-py/examples/replace.py
.
- More at /docs/install.md
Windows
YouTube - AWK.py Installation & Basics
Darwin/FreeBSD mashed up with OLD Mac OS X/Mac OS X
Technically same with Linux.
Usage
source
is the full source of file decoded with utf-8 (default).file
is the file obj (write mode) of file decoded with utf-8 (default).path
is where file is locatedoptions
is options given when runend
is function to end instance (end(file,source)
).- Other objects are coming soon…
Author
AWK.py is made by @python3lover (GitHub and GitLab) and @html5lover (Github)
Other Projects by PyLabo
Contributions
Contributions are welcome! But please don’t mess AWK.py up.
Licensing
This work is licensed under a a Creative Commons Attribution 4.0 International License.