Not entirely sure how waht you are describing works, but I would give a try out for you when you have something ready to test.
BTW you do know you can get an interactive "python shell" by just typing 'python' in the shell. Then you can enter commands as you go and test the results etc.
Example: (colouring is added by the amigans code tag)
New Shell process 9
9.AmigaOS4:> python
Python 2.5.5 (r255:1.2, Mar 27 2010, 21:00:30)
[GCC 4.2.4 (adtools build 20090118)] on ppc-amiga
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.mkdir("ram:foo")
>>> print os.path.isdir("ram:foo")
True
>>>