[PIPython] problemi con 1 script

ciccio a unical.it ciccio
Ven 19 Nov 2004 15:16:44 CET


 
Il comando 
os.chdir(argv[1]) 
va' una meraviglia! 
 
 
grazie mille a tutti! 
 
> -----BEGIN PGP SIGNED MESSAGE----- 
> Hash: SHA1 
>  
> > Passa la directory come parametro e poi dentro lo script fai 
> > 
> > os.chdir(argv[1]) 
>  
> O magari qualcosa che ha qualche speranza di funzionare: ;^) 
>  
> import os, os.path, sys 
> os.chdir(os.path.abspath(sys.argv[1])) 
>  
>  
> - -- 
> Nicola Larosa - nico a tekNico.net 
>  
> "Every [programmer] should ask himself periodically 'Toward what end, 
> toward what end?' - but do not ask it too often lest you pass up the 
> fun of programming for the constipation of bittersweet philosophy." 
>  -- Alan J. Perlis, SICP 
>  
>  
> -----BEGIN PGP SIGNATURE----- 
> Version: GnuPG v1.2.4 (GNU/Linux) 
>  
> iD8DBQFAa/EvXv0hgDImBm4RAv1wAKCaA2Q3lLnWGpeXxa2knSuuAJ6xcQCgwYfK 
> 71pBNxGljs92XZ4dSRLnDis= 
> =LfD0 
> -----END PGP SIGNATURE----- 
>  
>  
 
 

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/




More information about the Python mailing list