Skip to content

Example of how to build a python command line tool that utilizes the Unix pipe system.

Notifications You must be signed in to change notification settings

betrcode/python-pipe-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Python example using Unix pipes

Need to build your own command line tools? Make them utilize the Unix pipes. Don't read directly from files, there are other tools that can do that better.

If you make your tool read from Unix pipes, you can compose it with other command line tools.

Example usage

List all files in your home folder, process them with your tool and sort the output

ls ~ | python example/example.py | sort

About

Example of how to build a python command line tool that utilizes the Unix pipe system.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages