Re: nested functions

2006-04-14 Thread Szabolcs Berecz
On 14 Apr 2006 04:37:54 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > def a(): > def b(): > print "b" > def c(): > print "c" > > how can i call c() ?? Function c() is not meant to be called from outside function a(). That's what a nested function is for: localizing it's usage a

Re: Python2CPP ?

2006-04-12 Thread Szabolcs Berecz
On 4/12/06, Michael Yanowitz <[EMAIL PROTECTED]> wrote: > 2) Efficiency. It is alot quicker to code something in Python. If I can >write it in Python and auto-convert it to C++. I would save time coding. I don't think you will get a more efficient code. The reason is the extremely dynamic natu

Re: Python2CPP ?

2006-04-12 Thread Szabolcs Berecz
First of all: why do you want to translate pythont to C++? Anyway, this has a C back-end: http://www.pypy.org Szabi On 4/12/06, Michael Yanowitz <[EMAIL PROTECTED]> wrote: > Hello: > >One topic that has always interested me are the Language translators. > Are there any that convert between P