Skip to content

Instantly share code, notes, and snippets.

@masayang
Created October 5, 2012 01:39
Show Gist options
  • Save masayang/3837573 to your computer and use it in GitHub Desktop.
Save masayang/3837573 to your computer and use it in GitHub Desktop.
モジュールの使い方例
import sys
if __name__ == '__main__':
print sys.argv
@masayang
Copy link
Author

masayang commented Oct 5, 2012

シェルから以下を実行

$ python module.py 1 2 3 4 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment