Created
July 11, 2015 02:23
-
-
Save curzona/0f69a7bd6e391bb62fb1 to your computer and use it in GitHub Desktop.
Run python function from command line
This file contains 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
#!/bin/bash | |
python -c "import thing; thing.foo()" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment