[Gambas-user] Gambas to python

Fabien Bodard gambas.fr at ...626...
Fri Aug 20 07:47:39 CEST 2010


you can use process for that ... and then write on this stream

2010/8/20 Ian Haywood <ihaywood at ...1979...>:
> On 8/20/10, jose <jose2190 at ...626...> wrote:
>> Hello, I'm half a cumbersome problem, I try to run a shell to my mplayer
>> variable declared as a process.
>>
>> What is the running mplayer python interactive console which I call a
>> player, my problem is:
>>
>> Once called the SHELL ("python"), you run the console, but not how to
>> enter new commands to the console.
>>
>> I tried to run SHELL ("import pygame") to write it in the terminal, but
>> does not.
>>
>> Does anyone could tell me I'm doing wrong, or perhaps some example code?
> Write a python program as a separate file (.py extension) and get it working
> to do what you want.
>
> Then run it from Gambas:
>
>  Exec ["/usr/bin/python","/path/to/my/script.py"]
>
> Ian
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list