Guest User

Take Arguments

a guest
Feb 20th, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. if __name__ == "__main__":
  2. dest_name = "google.com"
  3. if len(sys.argv)>1:
  4. dest_name = sys.argv[1]
  5. main(dest_name)
Add Comment
Please, Sign In to add comment