On Sun, May 31, 2015 at 5:32 AM, jonathon <jonathon.bl...@gmail.com> wrote: > On 29/05/2015 16:01, Mike Driscoll wrote: > >>I was wondering what the community considers to be "intermediate" or "a > dvanced". > > A python script that compiles python code.
What do you mean by "compiles"? Something as simple as an import statement or exec call will compile arbitrary Python code, but if that were what you meant, you'd have said "the exec() function". (The implementation of namedtuple uses exec, and I think that would definitely count as "advanced".) Or do you mean compiling to AST and exploring the AST? That's a fairly reasonable intermediate topic, though again, if that's what you meant, I'm sure you would have worded it differently. The only other form of compilation I can think of is going to an executable binary (the way a C compiler does), and that's some serious work. I don't think PyPy is small enough to be called a "script". :) ChrisA -- https://mail.python.org/mailman/listinfo/python-list