Re: Problem in installing module "pynamical"

2017-07-19 Thread Felipe Bastos Nunes
Hi! I have no experience on that, but I may ask something that might help: 1- are you aware that it's not safe to use pip directly? It could be safer to use pip install --user package. 2- Are you able to use virtualenv? This usually let me install packages my system has problems on working out. Cy

Re: rpy2

2017-07-19 Thread Felipe Bastos Nunes
Hey, I have no experience on it, but maybe I'm able to help. How are you tryin to install it? Pip? 2 or 3? Virtualenv? Cya! Em qua, 19 de jul de 2017 10:22, Larry Martell escreveu: > Anyone here any experience with the rpy2 package? I am having trouble > getting it to install, and I have posted

Re: Python 3.x and bytes

2011-05-17 Thread Felipe Bastos Nunes
zR6XVOJ0xM7s2P+PDYZX > OAhmi19hFEP0zQoWiW3TiMEVPlaqgtipPCp1t+jTeNNN3F+H4NG2DHJJZ3dPDr2J > CpABQKyS4MJQTUxhCIlXqAaA2I1pejzAv6fwsF66/zPFmyaTAJLDP+3WMQvCUUoZ > 5A3qHgHNp6vBHXd13RNdQStLeprfQptA+z6XdiJPos348ecRj/u9id7v28dwxxsm > d9WA6oYwJ+Y/NcG2OP0Flyp3Zc3hymVsv5vhmhG2+EiIrxMn95k8ImsKLEhvUW3a > 72CxlE6EaOMD4MuWyeGMS33c0vHwtAvEIE7M56R2FAl8EsUFwP2swaij0tEiemg= > =8MRV > -END PGP SIGNATURE- > -- > http://mail.python.org/mailman/listinfo/python-list > -- Felipe Bastos Nunes -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 3.x and bytes

2011-05-17 Thread Felipe Bastos Nunes
7;', b'10') > >>> somevar > '10' > >>> somevar2 = bytes(b'10'*2) > >>> somevar2 > '1010' > >>> somevar2 = somevar2.replace(b'01', b'57'*3) > >>> somevar2 > 

Re: Python 3.x and bytes

2011-05-17 Thread Felipe Bastos Nunes
in later and say > > --> huh[3] = 9 > Traceback (most recent call last): > File "", line 1, in > TypeError: 'bytes' object does not support item assignment > > > So, out of curiosity, does anyone actually use this, um, feature? > > ~Ethan~ > -- > http://mail.python.org/mailman/listinfo/python-list > -- Felipe Bastos Nunes -- http://mail.python.org/mailman/listinfo/python-list

Re: Noob Question

2011-04-19 Thread Felipe Bastos Nunes
they aren't detected > during configure, they probably won't be built. > -- > http://mail.python.org/mailman/listinfo/python-list > -- Felipe Bastos Nunes -- http://mail.python.org/mailman/listinfo/python-list

Re: Help in language development

2010-11-16 Thread Felipe Bastos Nunes
if the documentation or > a book. I know that most people have more important issues to address > in other posts but assistance does not cost anything. > > Graciously > -- > http://mail.python.org/mailman/listinfo/python-list > -- Felipe Bastos Nunes -- http://mail.python.org/mailman/listinfo/python-list

Re: DTD Parsing

2010-11-10 Thread Felipe Bastos Nunes
nfiguration security is a > concern, then you can replace the config with XML or whatever, and in > the meantime you can focus on more important things, like the actual > project. > > Cheers, > Ian > > -- > http://mail.python.org/mailman/listinfo/python-list > -- Felipe Bastos Nunes -- http://mail.python.org/mailman/listinfo/python-list

Re: DTD Parsing

2010-11-09 Thread Felipe Bastos Nunes
s anyone know any > handy modules (apart from re :) for parsing DTDs? > -- > http://mail.python.org/mailman/listinfo/python-list > -- Felipe Bastos Nunes -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 2.7

2010-11-08 Thread Felipe Bastos Nunes
.de-haro.es > Tf.34.639.972.872 > -- Felipe Bastos Nunes -- http://mail.python.org/mailman/listinfo/python-list

Re: Learning book recommendation?

2010-11-03 Thread Felipe Bastos Nunes
> -- > http://mail.python.org/mailman/listinfo/python-list > -- Felipe Bastos Nunes -- http://mail.python.org/mailman/listinfo/python-list

Re: A good decorator library

2010-10-24 Thread Felipe Bastos Nunes
I thought about that. I won't use decorators for all the things. I will use it only to free the simulator users to set which methods they wanna log or save in a statistic, eq.: number of packets sent, received, lost... 2010/10/24, Tim Roberts : > Felipe Bastos Nunes wrote: >> >&

Re: measuring python code efficiency

2010-10-23 Thread Felipe Bastos Nunes
ram in many languages ,currently i 'm working in python ,i > wonder if their is any way-program to measure my code , for example memory > usage , cpu speed - because of the ability to write one program in many ways > , how i can evaluate my code? > > Many thanks, > n.a.s &g

A good decorator library

2010-10-22 Thread Felipe Bastos Nunes
to set methods that would be logged as statistics and some more funcionalities like check a method to check the params' types. Thanks in advance, and (at least here) good night eheh -- Felipe Bastos Nunes -- http://mail.python.org/mailman/listinfo/python-list

Re: Has Next in Python Iterators

2010-10-21 Thread Felipe Bastos Nunes
a reason python > iterators don't have has_next functionality? What is the standard > solution to this problem? > > -- > http://mail.python.org/mailman/listinfo/python-list > -- Felipe Bastos Nunes -- http://mail.python.org/mailman/listinfo/python-list

Re: Fastest way to detect a non-ASCII character in a list of strings.

2010-10-18 Thread Felipe Bastos Nunes
t four different answers >> answers. > > I don't have a printer...that makes *all* characters unprintable, > right? Now I can convert the algorithm to O(1) > >def is_printable(L): > return False > > -tkc > > > > -- > http://mail.python.or

Re: asyncore.poll() question

2010-10-16 Thread Felipe Bastos Nunes
he file in your Python directory, in my case /usr/lib/ >> Python2.6/asyncore.py. You should delete the .pyc file to make sure it >> is recompiled. And you will need root access :). >> >> Lucas > > I just did that... > > [r...@localhost python2.6]# ls -al asyncore.py > -rw-r--r-- 1 root root 19262 Oct 16 10:22 asyncore.py > [r...@localhost python2.6]# ls -al asyncore.pyc > -rw-r--r-- 1 root root 16773 Oct 16 10:26 asyncore.pyc > [r...@localhost python2.6]# ls -al asyncore.pyo > -rw-r--r-- 1 root root 16773 Oct 16 10:42 asyncore.pyo > [r...@localhost python2.6]# > > > And nothing happened. Ideas? > -- > http://mail.python.org/mailman/listinfo/python-list > -- Felipe Bastos Nunes -- http://mail.python.org/mailman/listinfo/python-list

Re: asyncore.poll() question

2010-10-16 Thread Felipe Bastos Nunes
gt;>         (r,w,e) = select.select (r,w,e, timeout) >>         print '---' >>         print 'read', r >>         print 'write', w >>         [...] >> >> Each time through the loop you will see which channels have fired >> whi

Re: That interesting notation used to describe how long a loop will take.

2010-10-04 Thread Felipe Bastos Nunes
to use. Is there a wikipedia article about this >> subject? I imagine that it has a concise name. >> >> It's called the "Big O notation". > > -- > http://mail.python.org/mailman/listinfo/python-list > -- Felipe Bastos Nunes -- http://mail.python.org/mailman/listinfo/python-list