Created
December 22, 2013 21:06
-
-
Save dheaney/8088462 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import subprocess | |
| lpr = subprocess.Popen("/usr/bin/lpr", stdin=subprocess.PIPE) | |
| lpr.stdin.write(your_data_here) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
what can I input in 'your_data_here'?????
It was not path string...