Peut on mettre des commandes linux dans un script en python

Peut on mettre des commandes linux dans un script en python - Python - Programmation

Marsh Posté le 20-12-2007 à 15:52:40    

bonjour , ba voila tout est dans le titre

Reply

Marsh Posté le 20-12-2007 à 15:52:40   

Reply

Marsh Posté le 20-12-2007 à 15:54:49    

oui


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
Reply

Marsh Posté le 20-12-2007 à 15:55:09    

comment faut il faire  

Reply

Marsh Posté le 20-12-2007 à 15:57:16    

os.system


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
Reply

Marsh Posté le 20-12-2007 à 15:59:07    

c'est a dire moi par mon exmple je veut rajouté la commande : edquota -u je fais quoi avec os.system

Reply

Marsh Posté le 20-12-2007 à 16:07:38    

Tu en lis la doc, par exemple.


---------------
Now Playing: {SYNTAX ERROR AT LINE 1210}
Reply

Marsh Posté le 20-12-2007 à 16:11:05    

oua merci c'est trop sympa de ton aide je savais pas

Reply

Marsh Posté le 20-12-2007 à 16:14:44    

specimen35 a écrit :

c'est a dire moi par mon exmple je veut rajouté la commande : edquota -u je fais quoi avec os.system


Ben tu lis la doc, elle est très bien faite

specimen35 a écrit :

oua merci c'est trop sympa de ton aide je savais pas


Dans la mesure où tu n'as pas lu la doc, tu ne savais effectivement pas.


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
Reply

Marsh Posté le 20-12-2007 à 16:30:29    

merci , le seul chause que je ne comprend pas trop c'est le pid a qui sert il

Reply

Marsh Posté le 20-12-2007 à 19:26:14    

specimen35 a écrit :

le seul chause


Ah oui, tout de même.
 

specimen35 a écrit :

c'est le pid a qui sert il


A toi, le cas échéant.


---------------
Now Playing: {SYNTAX ERROR AT LINE 1210}
Reply

Marsh Posté le 20-12-2007 à 19:26:14   

Reply

Marsh Posté le 20-12-2007 à 19:52:48    

Gatsu35, specimen35.... mais il y en a beaucoup des comme ça dans le 35 ? [:mlc]

Reply

Marsh Posté le 20-12-2007 à 20:06:54    

Là je crois qu'on en tient un, de specimen. [:pingouino]


---------------
Now Playing: {SYNTAX ERROR AT LINE 1210}
Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed