python problem...
hi all,
i've a problem in python which i thought what would be easily to solve but i can't find any solution.
ok, my problem is this. In bash you can pass arguments when you start a program like:
goestin@JustinuX:/$ ./script.sh 127.0.0.1
where "127.0.0.1" is a variable stored in $1
how is the same thing possible in python? so i can use this:
goestin@JustinuX:/$ ./script.py 127.0.0.1
is there also a default variable where "127.0.0.1" is stored now?
thanx, goestin
-cheers-
|