I was wondering if it is possible to create a .py program which is capable of running Python Commands, creating new variables, much like the IDLE provided. If not what can i use to create such a programs. Essentially im creating a new language as an extension to Python. Example:
>> 1+1
>> 2
>> print "yo"
>> yo