Re: Getting callfunc from ast code.

2007-10-28 Thread Glich
Your help is very useful. I would not be able to progress without you! Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: Getting callfunc from ast code.

2007-10-28 Thread Paul Boddie
On 28 Okt, 19:09, Glich <[EMAIL PROTECTED]> wrote: > """Hi, how can I extend the code shown below so that I can identify > any "CallFunc" in "func.code" and identify the value of "node" in > "CallFunc"? Thanks. > > This is my code so far: > """ I tend to use isinstance to work out what kind of AST

Getting callfunc from ast code.

2007-10-28 Thread Glich
"""Hi, how can I extend the code shown below so that I can identify any "CallFunc" in "func.code" and identify the value of "node" in "CallFunc"? Thanks. This is my code so far: """ """ Given a python file, this program prints out each function's name in that file, the line number and the ast cod