>>> from subprocess import call
>>> call("uname")
Linux
0
>>> call("uname", "-a")


2012/6/18 Carsten Agger <carst...@magenta-aps.dk>:
> Den 18-06-2012 13:10, Tanveer Ali Sha skrev:
>>
>> sorry, i dint get that.....Please can u give example .....??
>>
>>
>>  visit this group at http://groups.google.com/group/django-users?hl=en.
>>
>
> There's a discussion of how to do this here:
>
> http://stackoverflow.com/questions/4682088/call-perl-script-from-python
>
> The second answer and the following ones is best.
>
>
> --
> Carsten Agger
> Magenta ApS
> Åbogade 15
> 8200 Århus N
>
> Tlf +45 5060 1269
> Mob +45 2086 5010
> http://www.magenta-aps.dk
> carst...@magenta-aps.dk
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to