Created
September 16, 2019 15:15
-
-
Save Hanrui-Wang/cc2b1228e084235edd9ae06ae4798b36 to your computer and use it in GitHub Desktop.
get from sys argv
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 sys | |
def main(arg): | |
print(arg) | |
if __name__ == '__main__': | |
main(sys.argv[1:]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment