Last active
December 19, 2017 00:33
-
-
Save BlogBlocks/7ced2ac25f4464cde23fa7995b398917 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
| # Arg test: | |
| # python ArgTest.py eweewe erer tytyytt sssss | |
| import sys | |
| import numpy as np | |
| import sys | |
| script = sys.argv[0] | |
| filename = sys.argv[1] | |
| test0 = sys.argv[2] | |
| test1 = sys.argv[3] | |
| test2 = sys.argv[4] | |
| def main(): | |
| script = sys.argv[0] | |
| filename = sys.argv[1] | |
| print script , filename, test0, test1, test2 | |
| if __name__ == "__main__" : | |
| main() |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
made public