Command Line Arguments, Basic Computer Science

You may have seen, as, that many programs can be run so that they give you with some basic information concerning how they should be run. Python permits you to do this with -h:
$ python .h
Usage: python [option]..... [-c cmd | -m mod | file | -] [arg]..
Options and arguments (and equivalent environment variables):
-c cmd : program passed in as string (terminates option list)
-d : debug output beginning parser (also PYTHONDEBUG=x)
-E : disregard environment variables (for example PYTHONPATH)
-h : print this help message and exit (also --help)

[etc. ]

Variables are nothing but set aside memory locations to store values. It means that when you generate a variable you reserve a few space in memory.
Depending on the data type of a variable, the interpreter assigns memory and chooses what can be stored in the reserved memory. Consequently, by assigning dissimilar data types to variables, you can store decimals, integers or characters in these variables.
Posted Date: 5/5/2012 3:26:13 AM | Location : United States







Related Discussions:- Command Line Arguments, Assignment Help, Ask Question on Command Line Arguments, Get Answer, Expert's Help, Command Line Arguments Discussions

Write discussion on Command Line Arguments
Your posts are moderated
Related Questions
Question 1 What is fragmentation? Question 2 Discuss the various service classes defined by integrated services Question 3 What are congestion? .Mention two algori

what is ms dos?

#to determine whether given year is leap year or not

Operating system:  An operating system is system software which may be viewed as an organized collection of software consisting of procedures for operating  a computer and pro

QUESTION (a) Give the two conditions required by a binary tree of depth d to be an almost complete binary tree. (b) Determine what the following recursive C function compute

QUESTION (i) Define each of the following terms: a) Book trade catalogue b) Stocktaking c) Ephemera d) Contracting out e) Special library (ii) Discuss the adv

how can use joystick

Command Processor and User Interface: To the user, the most important and visible services provided by the OS is the user interface and the capabilities that it provides to ex

prove that the build heap operation is O(N)

Execute a command in operating system: In order to execute a command OS does the following steps:   It accepts a command from a user through mouse clicks or from t