Jakub Vojáček wrote:
>>>> os.popen('"C:\Python25\python.exe"  -i "C:\soubor.py"')
> <open file '"C:\Python25\python.exe"  -i "C:\soubor.py"', mode 'r' at 
> 0x00BC4AD0>
> ale nic se neotevřelo a nespustilo. 

S pythonem na Tve platforme bohudik nemam zadne zkusenosti.

> os.execl("C:\Python25\python.exe","C:\Documents and 
> Settings\Blu\Plocha\Creator\\Blu IDLE.pyw")
>  to mi problikne černý okno:(

Citujme z manualu: "In either case, the arguments to the child process
should start with the name of the command being run, but this is not
enforced.". Jinymi slovy, zkus:

os.execl(program, program, param1, param2,...)

Ono totiz argv[0] obsahuje jmeno programu a argumenty samotny startuji
az od pozice cislo jedna...

-jkt

-- 
cd /local/pub && more beer > /dev/mouth

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Python mailing list
[email protected]
http://www.py.cz/mailman/listinfo/python

Odpovedet emailem