Re: Is Python like VB?

2005-03-17 Thread Groleo Marius
Maybe you should ask : Is VB like Python ( remark the ) On 17 Mar 2005 09:45:22 +0200, Ville Vainio <[EMAIL PROTECTED]> wrote: > > "Cappy" == Cappy2112 <[EMAIL PROTECTED]> writes: > > Cappy> VB has a much better IDE than the IDE's for Python, > Cappy> although Eric3 is one

executea string

2005-02-22 Thread Groleo Marius
I have the folowing code: c=2 e=3 s="12" code.append('funtion ("c, e,s")') print "\n".join(code) + '\n' The problem is when i call append. The variables s, c, e are not replaced with their value, so in the end i get the result: funtion(" c, e, s"); The result that i want is : funtion("2,3,1

Execute a list

2005-02-22 Thread Groleo Marius
Hi. How can i execute a string in python? For example if I have the variable s, defined below s = '"print "hello"' How can I execute the code that "s" keeps inside, considering that the code is correct? -- http://mail.python.org/mailman/listinfo/python-list