how to run python file inside dreampie?

275 views
Skip to first unread message

weasky

unread,
Jun 24, 2010, 11:22:29 AM6/24/10
to DreamPie
Thanks for this great app. I love it!

I am wondering how to run a .py file inside dreampie? can I do sth
like %run xx.py?

Thanks,
Tim

Noam Yorav-Raphael

unread,
Jun 24, 2010, 1:15:56 PM6/24/10
to drea...@googlegroups.com
On Thu, Jun 24, 2010 at 6:22 PM, weasky <ycw...@gmail.com> wrote:
>
> Thanks for this great app. I love it!

Thanks! It's nice to hear that!


>
> I am wondering how to run a .py file inside dreampie? can I do sth
> like %run xx.py?

How about execfile('xx.py') ?

Hope this helps.
Noam

weasky

unread,
Jun 25, 2010, 11:04:32 AM6/25/10
to DreamPie
Thanks for the reply!

Yes, it works sometimes, but other times it reports error, complain
that it can not import yy. but yy.py is in the same directory with
xx.py.

really wiered

when I use python xx.py, it works everywhere.
- Tim

weasky

unread,
Jun 25, 2010, 11:23:35 AM6/25/10
to DreamPie
Hi Noam,

Dreampie 1.0.3 solved the problem and it works like a charm!

Thank you for great job!

Tim
Reply all
Reply to author
Forward
0 new messages