Skip to content

Commit

Permalink
moved print statements inside main function;
Browse files Browse the repository at this point in the history
  • Loading branch information
nphaterp committed Nov 19, 2020
1 parent 1484627 commit fecb22e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions demo_copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
"""
from docopt import docopt
opt = docopt(__doc__)
print(opt['<arg4>'])
print(opt)
print(type(opt))

def main():
print(opt['<arg4>'])
print(opt)
print(type(opt))

if __name__ == "__main__":
main()

0 comments on commit fecb22e

Please sign in to comment.