On Thu, 18 Oct 2007 14:05:34 -0300, Sebastian Bassi wrote:

> On 10/18/07, Adam Atlas <[EMAIL PROTECTED]> wrote:
>>
>> Use the builtin function "eval".
> 
> What is the difference with os.system()?

Everything.

eval() evaluates Python expressions like "x.append(2+3)".

os.system() calls your operating system's shell with a command.


-- 
Steven.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to