1. Command Line Arguments for a Non Command Line Program?
2. Run Unix shell command $ parse command line arguments in python
Hello evryone
I am a newbie to python. I have a makefile which i can compile in
UNIX/LINUX, But i
I am planning to write a python script which actually does what my
MAKEFILE does. The make file is
#Makefile and some scripts to give output
#numbers
#Change till sign #END
var1:=564-574
a1 = 23
b1 = 678
kxm = ixm_7.gh
out = c$(var1)_s.gh
imageim
#END
#other files
file1 = sec$(b1).jk
file2 = sgf$(a1)
file3 = p$(b1).gh
prg3scriptfile = prg3_produce.xx
findoutdir = Dir:~/home/
x=67
#work
evrything: prg1 script2 prg3 script4
withoutprg1: script2 prg3 script4
prg1:
s$(ca)$(d) .
script2: Makefile
./script2 -i '$(file2)' -o '$(file1)' -a $(x) -n
prg3:
: > $(prg3scriptfile)
prg3 $(prg3scriptfile)
rm $(prg3scriptfile)
script4:
./script4 $(kxm) $(file2) $(out) $(var1)
I want to write a python script to replace this Makefile.
I Have tried using getopt/optparse for parsing command line options
How to Run Unix shell command from python.
My Task is
Myprg.py a1 b1 kxm out
Kindly suggest me some ideas/comments.
Thanks
koid wayne
3. running command line commands with arguments...
4. command line arguments and processing of the arguments
5. Getting arguments from STDIN when command line arguments are missing
6. Command line arguments when a matlab script file is run.
7. passing command line argument of files to application through registry settings
8. Maximum line length for command line arguments
9. handling command line argument in non-multiple instance program
10. About No-Touch Deployment Applications with Command Line Arguments
11. Application Command Line Arguments
12. parsing command line arguments multiple times
13. How to run a VB pgm from the command line with arguments
14. How to take command line argument and use it to run an upgrade script.
15. newbie running IDLE with command line arguments