Showing posts with label main. Show all posts
Showing posts with label main. Show all posts

Apr 19, 2015

QNAP/Linux - Python Programming 03 (Command-Line Arguments)

Arguments of C console application are defined in array "argv", in which the count of arguments is "args". Python supports more flexible method to write console applications with Unix-like "option -" and "long option: --".
python -h (or --help)