Re: python game develop:framework?

2012-10-14 Thread LeBas

On 2012-10-14 08:58:57 +, nepaul said:


Something good framwork?


I just want to sencond PyGame. It's compelling with a good user base 
and has development activity e.g. patches and improvements etc. are 
provided.


--
http://mail.python.org/mailman/listinfo/python-list


pyQT 4

2005-07-25 Thread Nicolas Lebas
hello,

i'm using actually pyqt 3.x to create several tools under linux.
I plan to propose those tools also for windows and mac os x under GPL 
agreement.

My question is : does anybody know when pyqt 4 will be distributed ?

 thanks


Nicolas

-- 
http://mail.python.org/mailman/listinfo/python-list


getting Arrays and variables from R

2005-07-26 Thread Nicolas Lebas
hello,

i don't know if this is the best list to send this question, but i'm 
already trying to ask.

I need to import variables from .RData files (arrays or variables).
I'm trying to use the rpy module, but without success beccause when i 
try to access to a variable loaded from the .RData file i have a 
segmentation fault !

This is what i'm doing :
- in R-projet, i create a .RData file with some variables :
 > tab<-c(2,5,8,6)
 > v<-0.5
 > save.image("file.RData")

- in Python :
 > from rpy import *
 > r.load("file.RData")
['tab', '.Traceback', 'v']
 > r.tab
segmentation fault !

I don't understand very well what does python crash.

If someone has an idea to solve my problem or to give me a method which 
permit to import arrays and variables from .RData files with another module.

Thanks

 Nicolas
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: getting Arrays and variables from R [fixed]

2005-07-27 Thread Nicolas Lebas
Nicolas Lebas a écrit :

>hello,
>
>i don't know if this is the best list to send this question, but i'm 
>already trying to ask.
>
>I need to import variables from .RData files (arrays or variables).
>I'm trying to use the rpy module, but without success beccause when i 
>try to access to a variable loaded from the .RData file i have a 
>segmentation fault !
>
>This is what i'm doing :
>- in R-projet, i create a .RData file with some variables :
> > tab<-c(2,5,8,6)
> > v<-0.5
> > save.image("file.RData")
>
>- in Python :
> > from rpy import *
> > r.load("file.RData")
>['tab', '.Traceback', 'v']
> > r.tab
>segmentation fault !
>
>I don't understand very well what does python crash.
>
>If someone has an idea to solve my problem or to give me a method which 
>permit to import arrays and variables from .RData files with another module.
>
>Thanks
>
>     Nicolas
>  
>
Finally, i found the solution with rpy.
There is a bug in the python2.4-rpy_0.4.1 release, so you have to use
instead of 'r.tab' command :

r.get('tab')



-- 
Nicolas Lebas
INRA Unité Mixte de Recherche INRA / INAPG "Environnement et Grandes 
Cultures"
78850 Thiverval - Grignon
France
Tél.  +33 (0)1 30 81 55 55   (standard)
Fax   +33 (0)1 30 81 55 63
Site Web : www-egc.grignon.inra.fr
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: getting Arrays and variables from R [fixed]

2005-07-27 Thread Nicolas Lebas
Finally i found the solution in Rpy-list : there is a bug in 
python2.4-rpy_0.4.1.

An alternative solution which works fine it's to use the R get(str) 
function instead of using directly the variable (i.e r.tab) like that :

r.get('tab')



Nicolas Lebas a écrit :
> hello,
> 
> i don't know if this is the best list to send this question, but i'm 
> already trying to ask.
> 
> I need to import variables from .RData files (arrays or variables).
> I'm trying to use the rpy module, but without success beccause when i 
> try to access to a variable loaded from the .RData file i have a 
> segmentation fault !
> 
> This is what i'm doing :
> - in R-projet, i create a .RData file with some variables :
>  > tab<-c(2,5,8,6)
>  > v<-0.5
>  > save.image("file.RData")
> 
> - in Python :
>  > from rpy import *
>  > r.load("file.RData")
> ['tab', '.Traceback', 'v']
>  > r.tab
> segmentation fault !
> 
> I don't understand very well what does python crash.
> 
> If someone has an idea to solve my problem or to give me a method which 
> permit to import arrays and variables from .RData files with another module.
> 
> Thanks
> 
>  Nicolas


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: getting Arrays and variables from R

2005-07-30 Thread Nicolas Lebas
Finally i found the solution in Rpy-list : there is a bug in 
python2.4-rpy_0.4.1.

An alternative solution which works fine it's to use the R get(str) 
function instead of using directly the variable (i.e r.tab) like that :

r.get('tab')


This bug is fixed in the rpy_0.4.6 release.



Nicolas Lebas a écrit :
> hello,
> 
> i don't know if this is the best list to send this question, but i'm 
> already trying to ask.
> 
> I need to import variables from .RData files (arrays or variables).
> I'm trying to use the rpy module, but without success beccause when i 
> try to access to a variable loaded from the .RData file i have a 
> segmentation fault !
> 
> This is what i'm doing :
> - in R-projet, i create a .RData file with some variables :
>  > tab<-c(2,5,8,6)
>  > v<-0.5
>  > save.image("file.RData")
> 
> - in Python :
>  > from rpy import *
>  > r.load("file.RData")
> ['tab', '.Traceback', 'v']
>  > r.tab
> segmentation fault !
> 
> I don't understand very well what does python crash.
> 
> If someone has an idea to solve my problem or to give me a method which 
> permit to import arrays and variables from .RData files with another module.
> 
> Thanks
> 
>  Nicolas


-- 
http://mail.python.org/mailman/listinfo/python-list