Python on RedHat AS 2.1?

2006-07-14 Thread Jeremy Winters
Installable package?Any ideas?Thanks in advance,Jeremy 
		Yahoo! Music Unlimited - Access over 1 million songs.
Try it free. -- 
http://mail.python.org/mailman/listinfo/python-list

Re: Python on RedHat AS 2.1?

2006-07-17 Thread Jeremy Winters
All the stuff I've found personally are security patches for python 1.5.2... which seems to be baked into the OS.I don't choose to use this OS... it is mandated by our IT dept.  I have no complaints other than this...Is there nobody in pythonland who has installed python 2.2 or higher on this OS?Anybody?JeremyFrom: Fredrik Lundh <[EMAIL PROTECTED]>To: python-list@python.orgDate: Sat, 15 Jul 2006 10:20:21
 +0200Subject: Re: Python on RedHat AS 2.1?  Jeremy Winters wrote:> Installable package?> > Any ideas?is RedHat no longer providing pre-built packages for their distributions  ?   
		Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1¢/min.-- 
http://mail.python.org/mailman/listinfo/python-list

newbie OO question

2006-04-20 Thread Jeremy Winters
class SegmentValue:
def
__init__(self,seg=[0,0,0,0,0,0],value=0,description=""):
self.segment=seg
self.value=value
self.description=description

#that's my class! note the default of a 6 item list
for the seg parameter... which is then bound(?) to the
segment attribute of the instance...

now here's the session I just did

>>> from SegmentValue import *
>>> a=SegmentValue([1,2,3,4,5,6],22,"segment a")
>>> b=SegmentValue()
>>> c=SegmentValue() 
>>> b.segment[0]=1
>>> b.segment
[1, 0, 0, 0, 0, 0]
>>> c.segment
[1, 0, 0, 0, 0, 0]
>>> a.segment
[1, 2, 3, 4, 5, 6]

so... what I'm seeing here is that when I explicitly
set seg during instantiation... it creates a unique
sequence that can be manipulated without affecting
other instances... but if I instantiate using the
default... it seems to refer back to the default when
maniuplating the segment attribute.

in a continuation of the session...

>>> d=SegmentValue()
>>> d.segment
[1, 0, 0, 0, 0, 0]

...you'll note that any new instances now refer to the
*modified default sequence*.

what is going on here?  how do I instantiate without
explicitly defining a new sequence each time? or is
this even possible?

thanks in advance,
jeremy

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
http://mail.python.org/mailman/listinfo/python-list


Best Mobile Devices for Python

2006-05-12 Thread Jeremy Winters
I have a project where I need to remote control one computer through a wireless tcp/ip connection in my home through a linksys router.I know there are versions of python that have been ported to mobile devices... but the whole arena of mobile devices is kind of intimidating... as it's hard to get to know the true usability of a device... as well as the ease of development for it... unless you actually have one.I don't need a GUI... a text based interface is fine for what I'm doing.Any suggestions for devices?  Anybody ever done something similar?Thanks!Jeremy
		New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.-- 
http://mail.python.org/mailman/listinfo/python-list