Greetings, In my adventure to write a new programming language that (among other things) creates Python modules, I decided to author a PyPi module first. You can take a look at the results here:
- http://pypi.python.org/pypi/pyplay/ - http://github.com/ingydotnet/pyplay-py It was quite a daunting adventure. There sure is a lot to learn, and I think I've only scratched the surface. I was wondering if I might ask the lot of you, to give PyPlay a code review here on the seapig list? I think it might be an interesting discussion. At least I know that I'll learn quite a bit. Also, I have one specific question: Is it possible to intercept a line from the Python interactive shell after the user hits enter, but before it is executed, and then modify it a bit before execution? I was hoping to make the command 'y ...' translate to 'y(...)' and the command 'y' translate to 'y(_)'. And stuff like that. I was thinking that the answer might lie in the readline library, but I can't figure it out. Thanks in advance!!! Cheers, Ingy dot Net
