[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gambas-user
Subject:    Re: [Gambas-user] Gambas to python
From:       Fabien Bodard <gambas.fr () gmail ! com>
Date:       2010-08-20 5:47:39
Message-ID: AANLkTi=KSHa+t+FVWsEUO0oDaHp3hb2LU6XW-_5eKPQf () mail ! gmail ! com
[Download RAW message or body]

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

2010/8/20 Ian Haywood <ihaywood@iinet.net.au>:
> On 8/20/10, jose <jose2190@gmail.com> 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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic