The Python SCSIPy libraries have been modified and it's documentation
upgraded. These libraries have been re-compiled under both Python 2.3
and 2.4.
These libraries alow a user to access SCSI,IDE,and USB mass storage
devices under Windows XP and previous Windows versions that use the
SCSI Pass
GUIE (GUI Editor) provides a simple WYSIWYG GUI editor for wxPython.
The program was made in C# and saves the GUI that was created to a XML
format I called GUIML. This GUIML is a pretty standard representation
of the GUI created with the program. Next, GUIE takes these GUIML files
and translates
ConfigObj is good - it (effectively) turns a dictionary into an ini
file, and vice versa.
There is also built in support for type conversion.
See http://www.voidspace.org.uk/python/configobj.html
See the ConfigPersist module which has functions to use ConfigObj for
data persistence. It explains
I *think* that Python for the Palm platform is stalled a bit (Pippy).
PythonCE is alive and well. Tkinter works quite well as a GUI front end
- but you have to work quite hard to build a usable GUI on a PocketPC
screen.
For a list of resources see http://www.traybor.com/PythonCE/
Luke Dunstan
Hi,
I encountered some build issues when compiling Python 2.4.4 on a Solaris 8
box using gcc 3.4.4:
1. Running configure detects that a C++-built main needs C++-linking.
Therefore, Python gets
linked with g++, creating a dependency on libstdc++.
Some research showed up a rather elaborate
from your story, it seems that your apps has client and application
server separated by XMLRPC, which requires network connection all the
time. Then based on this assumption, IMHO, the simplest way to port to
PDA would be via web browser, which available natively on every PDA, and
thus very
Guyon Morée wrote:
I can provide re.sub with a callable, but this will only be called
with a match object, it's not possible to give it any of the other
params.
The solution I came up with to tackle this is with some funny globals,
which doesnt feel 'right':
[EMAIL PROTECTED] wrote:
I have a CRM application that I've written in Ruby that currently runs
on Win32 clients as well as Linux ARM clients (Sharp Zaurus PDA's). The
application uses Qt for its GUI presentation and XMLRPC calls to
push/pull contact data back and forth. It suits my purposes, but
Jay wrote:
ok have this program and i set a socket 2 connect to the server...so i
can chat on the channels and stuff. my question is how would i go about
set a socket directly 2 an individual query?
Don't take this the hard way, but this question doesn't make sense, and your
source code does
Hi,
First thanks to all of you for helping.
It seems there was some error in my instance configuration or
something.
As a last resort I unistalled MySQL and then reinstalled in another
drive. And bingo everything is working fine. I am able to connect
through Python API, too.
I copied the old
Shane Hathaway [EMAIL PROTECTED] writes:
Andrew Durdin wrote:
On 12/28/05, Shane Hathaway [EMAIL PROTECTED] wrote:
I just found a 125 character solution. It's actually faster and more
readable than the 133 character solution (though it's still obscure.)
Having spent a good deal of time and
Holger Joukl wrote:
Now, I am still not 100 % sure about what I need to do. I need
C++-extensions, but I do not want to link anything statically with
Python, i.e. everything will be dynamically imported extension
modules. I *think* I can build Python C-only, avoiding possible
runtime
Jay wrote:
ok have this program and i set a socket 2 connect to the server...so i
can chat on the channels and stuff. my question is how would i go about
set a socket directly 2 an individual query?
The last part of this paragraph is completely incomprehensible.
my program is right here...
Hi all,
I would like to change the ownership of an object when changing its
state.
However when I call :
obj=state_change
print obj.getOwnerTuple()
I get (['MyPortal', 'portal_workflow', 'TC_Workflow'], 'scripts') with
scripts as owner.
The method changeOwnership do nothing.
Are there any tips
Hi.
pyvm is a program that can run python 2.4 bytecode.
It can also run the bytecode of the 'pyc compiler' and
consequently it can run python source code.
It's written from the scratch and it has only been
tested on a x86/Linux system. It's not portable yet,
neither ready for the simple user,
Steven D'Aprano steve at REMOVETHIScyber.com.au writes:
On Fri, 30 Dec 2005 03:47:30 +, Jon Guyer wrote:
We have a rather complicated class that, under certain circumstances, knows
that it cannot perform various arithmetic operations, and so returns
NotImplemented. As a trivial
Hi, the recently added boost.graph python binding could be most useful:
http://www.osl.iu.edu/~dgregor/bgl-python/#download
--
http://mail.python.org/mailman/listinfo/python-list
stelios xanthakis si è profuso/a a scrivere su comp.lang.python tutte
queste elucubrazioni:
What's good about it is that it's small and easier to
hack and write large scale programs using pyvm as the
base runtime. On the other hand, pyvm is not compatible
with python and AFAIC there is no
I have a function that uses the Numeric module. When I launch the
function csrss.exe consumes 60 / 70 % cpu power rather than having
python / Numeric run at full speed. Has anyone encountered this problem
before? It seriously messes up my Numeric performance.
I'm running 2.4.2 on xp.
Cheers,
EleSSaR^ wrote:
What's good about it is that it's small and easier to
hack and write large scale programs using pyvm as the
base runtime.
I'm sorry I don't get it. Could you please explain it better? What are the
advantages of this pyvm compared to the 'original' Python?
I think he said it:
Neil Benn wrote:
Hello,
I know that this isn't a fashionable thing to write on a
dynamic language newsgroup but I would really recommend switching to
Java for your work if you are looking at recoding it. I'm running Java
on handhelds and it works well. If you want to use dynamic
Thomas Heller wrote:
X=' _ _ _ | _| _ |_|_'
Y=0x23018F406A3530EC273F008
j=.join
seven_seg=lambda n:j(j(c)+\nfor c in zip(*[X[Ym+int(d)*97::8]for d in n
for m in(6,3,0)]))
Interesting bit:
Although there are more 3-char combinations when you read vertically,
they compact better.
If
Jon Guyer wrote:
This is a fake line to confuse the stupid top-posting filter at gmane
We have a rather complicated class that, under certain circumstances, knows
that it cannot perform various arithmetic operations, and so returns
NotImplemented. As a trivial example:
class my:
Diez B. Roggisch wrote:
sophie_newbie wrote:
Is there any way that I can pass cgi parameters to my script locally,
before i upload it to the webserver, so that i can debug it.
You might think of using CGIHttpServer to test your scripts in a
server-environment - while still being local.
ziga.seilnacht at gmail.com writes:
This is a bug in Python. See this thread:
http://mail.python.org/pipermail/python-dev/2005-December/059046.html
OK, thanks. This doesn't strike me as the same issue (but maybe it is).
We're not getting NotImplemented returned, we're getting a TypeError;
[EMAIL PROTECTED] wrote:
hey mike-the sample code was very useful. have 2 questions
when i use what you wrote which is listed below i get told
unboundlocalerror: local variable 'product' referenced before
assignment.
You would get this error if you have a tr that doesn't have an hr
On 30/12/05, Chris F.A. Johnson [EMAIL PROTECTED] wrote:
On 2005-12-30, Tim Williams (gmail) wrote: Apologies for the top post, it was my first attempt at using gmail's pda-enabled web interface. There is no option to bottom post.Can you not move the cursor?
Nope, there is a checkbox option to
[EMAIL PROTECTED] wrote:
Neil Benn wrote:
I know that this isn't a fashionable thing to write on a
dynamic language newsgroup but I would really recommend switching to
Java for your work if you are looking at recoding it.
I was thinking this to myself as well, as Java should be
Hi,
I am running python 2.4.2 on win xp pro. I have the WMI module from
Tim Golden (http://tgolden.sc.sabren.com/python/wmi.html).
I have some code which does this...
MyScript.py
--
import wmi
# the ip of my own local desktop
machine = 1.2.3.4
try:
w = wmi.WMI(machine) #
Hi,I know that sometimes
optimization is not good idea.So I want to know what you think about
this one:we have code like this: tables
= []for i in ... : tables.extend(...)we
optimize code like this:tables
= []pfTablesExtend = tables.extendfor i in ... :
pfTablesExtend(...)I what to know is this
here's the trace...
File MyScript.py, line 10,
wmiObj = wmi.WMI(machine)
File wmi.py, line 519, in __init__
handle_com_error (error_info)
File wmi.py, line 131, in handle_com_error
raise x_wmi, \n.join (exception_string)
x_wmi: -0x7ffbfe1c - Invalid syntax
--
one more note, I am using WMI v0.6 however, I also tried it with
the latest version 1.0 rc2.
--
http://mail.python.org/mailman/listinfo/python-list
[py]
import wmi
# the ip of my own local desktop
machine = 1.2.3.4
try:
w = wmi.WMI(machine) # also tried, wmi.WMI(computer=machine)
except Exception, e:
print ERROR:, e
.
.
c:python
from MyScript import *
ERROR: -0x7ffbfe1c - Invalid syntax
.
.
here's the trace...
File
Trying to convert midi to text using MidiToText.py.
I get the following:
midi_port: 0
Traceback (most recent call last):
File MidiToText.py, line 176, in ?
midiIn.read()
File C:\Python24\Lib\site-packages\midi\MidiInFile.py, line 24, in read
p.parseMTrkChunks()
File
Matt Helm wrote:
I am starting the design phase of a large project (ERP) where the
backend will mostly be Python (or Ruby) providing web services.
In this type of usage, is there any benenfit to running under Apache
as opposed to a pure Python solution using Medusa, TwistedMatrix, or
the
Tim Golden wrote:
Could you just post (or send by private email if you prefer)
the exact script you're running? If you want to send it
privately, please us mail at timgolden.me.uk.
I am truly unsure what the problem could be, and the fact that the
error says invalid syntax ...just doesn't make
Martin P. Hellwig wrote:
[...] - (complex elaborations)
So the sum it up my unanswered question to you so far are:
- What is your definition of Efficiency
http://lazaridis.com/efficiency/definitions.html
(as stated on the website, any feedback is welcome. But please not
within this thread).
[py]
| Tim Golden wrote:
| Could you just post (or send by private email if you prefer)
| the exact script you're running? If you want to send it
| privately, please us mail at timgolden.me.uk.
|
| I am truly unsure what the problem could be, and the fact that the
| error says invalid syntax
Tim Golden wrote:
code
import wmi
wmi._DEBUG = True
c = wmi.WMI ()
# This will print a moniker looking something like this:
#
winmgmts:{impersonationLevel=Impersonate,authenticationLevel=Default}/ro
ot/cimv2
/code
and let me know what comes out.
I ran it twice, first it worked, second
I'm having trouble determining what you want but
I think there are a couple of problems in your
code:
list2 = ['1','2','5',4]
did you mean
list2 = ['1','2','3','4']
Note missing quotes around the 4 and
5 instead of 3
If you want to know if list2 is found in list 1
it is as simple as:
if
novice wrote:
hello over there!
I have the following question:
Suppose I created a class: class Point:
pass
then instanciated an instance: new = Point()
So now how to get the instance new as a string: like ' new ' ;
Darius Kučinskas wrote:
I know that sometimes optimization is not good idea.
It's neither good nor bad. Whether or not to optimize is merely a
decision that should not be made without considering the cost, and
without a real need driving it.
The need can only be seen by profiling your code
On Fri, 2005-12-30 at 09:52, tim wrote:
Trying to convert midi to text using MidiToText.py.
I get the following:
midi_port: 0
Traceback (most recent call last):
File MidiToText.py, line 176, in ?
midiIn.read()
File C:\Python24\Lib\site-packages\midi\MidiInFile.py, line 24, in read
py wrote:
Something must be happening somewhere causing it
to get fouled up. I'm gonna try on a different PC.
I tried on another PC, same problem.
Also, I added reload(wmi) before I create an instance of wmi.WMI just
to see what happens, so I hve...
import wmi
def ppn(machine=None):
try:
On Fri, 30 Dec 2005 13:23:30 +, Jon Guyer wrote:
Steven D'Aprano steve at REMOVETHIScyber.com.au writes:
On Fri, 30 Dec 2005 03:47:30 +, Jon Guyer wrote:
We have a rather complicated class that, under certain circumstances, knows
that it cannot perform various arithmetic
Shane Hathaway wrote:
Andrew Durdin wrote:
On 12/28/05, Shane Hathaway [EMAIL PROTECTED] wrote:
I just found a 125 character solution. It's actually faster and more
readable than the 133 character solution (though it's still obscure.)
Having spent a good deal of time and effort, and not
Sometimes you want your text to flow into multiple columns, as in
newspaper's layout. However, as of 2005-12 this is not yet possible.
One can make-do by hard-coding it into HTML TABLE using multiple
columns. It is a pain because when you change your text, you have to
manually cut and paste to
Sometimes you want your text to flow into multiple columns, as in
newspaper's layout. However, as of 2005-12 this is not yet possible.
One can make-do by hard-coding it into HTML TABLE using multiple
columns. It is a pain because when you change your text, you have to
manually cut and paste to
Tim Hochberg wrote:
Shane Hathaway wrote:
Andrew Durdin wrote:
On 12/28/05, Shane Hathaway [EMAIL PROTECTED] wrote:
I just found a 125 character solution. It's actually faster and more
readable than the 133 character solution (though it's still obscure.)
Having spent a good deal of time
hi all
the is a way for doing a for with double test:
example
for i in range(0,10) and f==1:
thanx everyone
--
http://mail.python.org/mailman/listinfo/python-list
Tim Hochberg wrote:
g=''.join;seven_seg=lambda i:g(
g(' _|x|'[ord(~$]m'k{d\x7fo[int(n)])sj]
for n in i for j in(2,1,4))+'\n'for s in(6,0,3))
I've replaced the unprintable characters and added some preemptive
linebreaks so that hopefully this won't get too munged. It's all clear
now,
I am trying to build a Pyrex module on Mac OS X version 10.3.9 (don't
know which big cat that is). It already builds fine on Mandrake Linux
and Windows XP. I have one source file where gcc hangs if given an
optimization setting of -O2 or -O3, but a level of -O works fine.
Can anybody suggest an
[EMAIL PROTECTED] wrote:
hi all
the is a way for doing a for with double test:
example
for i in range(0,10) and f==1:
Not sure if you're asking a question, but is this what you are trying to
do? :
if f == 1:
for i in range(0,10):
for i in range(0,10):
if f!=1: break
...
i=0
while i10 and f==1:
...
i+=1
--
http://mail.python.org/mailman/listinfo/python-list
my two solutions (well I wasn't so clever to encode everything in
strings instead of numbers, but at least it won't give warnings about
non ascii characters):
128:
j,seven_seg=''.join,lambda s:j(j(' |_ |'[i3*int(c)b]for c in s for b
in(4,2,1))+'\n'for i in(306775170,1060861645,524130191))
122:
Paul Boddie wrote:
Could anyone enlighten me/us as to why the Smart Package Manager [1]
(written in Python, presented at EuroPython this year) isn't being more
closely investigated as part of a suitable solution?
More closely investigated by whom, as a solution for what? Surely
there is
Il 30 Dec 2005 09:02:30 -0800, [EMAIL PROTECTED] ha scritto:
hi all
the is a way for doing a for with double test:
what's a 'double test' exactly? :-)
'for' does no test, it just iterates over a list. If you want to execute
the iteration only if f is 1, do this:
if f==1:
for i in
[EMAIL PROTECTED] wrote:
I have been using distuils for a while and was wondering when
Python Eggs (new project) is better?
If you have a relatively simple setup script, don't need to upload your
package to PyPI, and don't include any files other than .py files and C
extensions in your
Carsten Haese wrote:
On Fri, 2005-12-30 at 09:52, tim wrote:
Trying to convert midi to text using MidiToText.py.
I get the following:
midi_port: 0
Traceback (most recent call last):
File MidiToText.py, line 176, in ?
midiIn.read()
File C:\Python24\Lib\site-packages\midi\MidiInFile.py,
Szabolcs Nagy wrote:
my two solutions (well I wasn't so clever to encode everything in
strings instead of numbers, but at least it won't give warnings about
non ascii characters):
128:
j,seven_seg=''.join,lambda s:j(j(' |_ |'[i3*int(c)b]for c in s for b
in(4,2,1))+'\n'for i
On 30/12/2005 16:45, Xah Lee wrote:
[Follow-ups trimmed to c.i.w.a.stylesheets]
[snip]
A proposed solution is in CSS3 “Multi-column layout”, drafted in
2001 but not yet in any mainstream browsers as of 2005-12.
Quite rightly so, in my opinion. The Multi-column layout module is
currently a
Xah Lee [EMAIL PROTECTED] writes:
Sometimes you want your text to flow into multiple columns, as in
newspaper's layout. However, as of 2005-12 this is not yet possible.
One can make-do by hard-coding it into HTML TABLE using multiple
columns. It is a pain because when you change your text,
Rodney schrieb:
Hi again, thanks for the help with figuring out how to parse a SOAP return
message. I know have a return message that has an embedded ZIP file in it.
Can anyone help me figure out how to extract this file from the SOAP return
message. The message looks as following:
[EMAIL PROTECTED] wrote:
Thomas Heller wrote:
X=' _ _ _ | _| _ |_|_'
Y=0x23018F406A3530EC273F008
j=.join
seven_seg=lambda n:j(j(c)+\nfor c in zip(*[X[Ym+int(d)*97::8]for d in n
for m in(6,3,0)]))
Interesting bit:
Although there are more 3-char combinations when you read
For the few that might be interested, I will be posting the details of
a 117 character long solution to the challenge on my blog
http://aroberge.blogspot.com/.
Enjoy!
André
--
http://mail.python.org/mailman/listinfo/python-list
David Wahler wrote:
snip
Not only is this obnoxious, it doesn't even work.
snip
Not only is this _extremely_ obnoxious, but it doesn't even work. Don't
expect any help from me.
snip
Thanks for pointing that out (I must've missed those two examples when I
read the code). And I even pointed
André wrote:
For the few that might be interested, I will be posting the details of
a 117 character long solution to the challenge on my blog
http://aroberge.blogspot.com/.
Enjoy!
You took advantage of prime numbers, enabling you to extract encoded
information using a single modulus
What's a good way to compare values in dictionaries? I want to find
values that have changed. I look for new keys by doing this:
new = [k for k in file_info_cur.iterkeys() if k not in
file_info_old.iterkeys()]
if new == []:
print new, No new files.
else:
Larry Bates wrote:
novice wrote:
hello over there!
I have the following question:
Suppose I created a class: class Point:
pass
then instanciated an instance: new = Point()
So now how to get the instance new as a
(addendum) ... And even ...
eval(t).max()
12
--
http://mail.python.org/mailman/listinfo/python-list
Hi all...
I've written a class to provide an interface to popen; I've included
the actual select() loop below. I'm finding that sometimes popen'd
processes take a really long time to complete and other times I
get incomplete stdout.
E.g:
- on boxA ffmpeg returns in ~25s; on boxB (comparable
Shane Hathaway wrote:
André wrote:
For the few that might be interested, I will be posting the details of
a 117 character long solution to the challenge on my blog
http://aroberge.blogspot.com/.
Enjoy!
You took advantage of prime numbers, enabling you to extract encoded
information
jelle wrote:
I have a function that uses the Numeric module. When I launch the
function csrss.exe consumes 60 / 70 % cpu power rather than having
python / Numeric run at full speed. Has anyone encountered this problem
before? It seriously messes up my Numeric performance.
Are you
[followups to comp.infosystems.www.authoring stylesheets, since that's
the only newsgroup the OP addressed where this is relevant (LISP?? what
was he thinking?]
Xah Lee wrote:
Sometimes you want your text to flow into multiple columns, as in
newspaper's layout. However, as of 2005-12 this is
[jelle]
I have a function that uses the Numeric module. When I launch the
function csrss.exe consumes 60 / 70 % cpu power rather than having
python / Numeric run at full speed. Has anyone encountered this problem
before? It seriously messes up my Numeric performance.
I'm running 2.4.2 on xp.
André wrote:
For the few that might be interested, I will be posting the details of
a 117 character long solution to the challenge on my blog
http://aroberge.blogspot.com/.
Enjoy!
André
It doesn't work for me as described on that page.
The output is scrumbled. It seems, that the 12
In [EMAIL PROTECTED], rbt wrote:
What's a good way to compare values in dictionaries?
Look them up and then compare!? ;-)
I want to find
values that have changed. I look for new keys by doing this:
new = [k for k in file_info_cur.iterkeys() if k not in
file_info_old.iterkeys()]
Claudio Grondi wrote:
so I tried all which made sense in the context of '0' conversion and
found out, that it should be the
' _ |_|_ _| |'
not the at http://aroberge.blogspot.com/
' _ |_|_ _| |'
The HTML source has the three spaces. If the code had been surrounded
by a pre
Marc 'BlackJack' Rintsch wrote:
In [EMAIL PROTECTED], rbt wrote:
What's a good way to compare values in dictionaries?
Look them up and then compare!? ;-)
I want to find
values that have changed. I look for new keys by doing this:
new = [k for k in file_info_cur.iterkeys() if k not
Andrew Durdin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On 29 Dec 2005 04:12:53 -0800, Luis M. González [EMAIL PROTECTED] wrote:
|
| According to this blog entry, it says that Guido has been hired by
| Google to work on Pypy:
| http://zephyrfalcon.org/weblog2/arch_e10_00870.html
as great as mod_python is, there are lots of restrictions and
limitations to what youc an do with it because of limitations of apache
itself, and I am refereing to apache 2.x as well as 1.x, like others
are saying if you don't need apache specific things it will just be one
more thing to work
Shane Hathaway wrote:
Claudio Grondi wrote:
so I tried all which made sense in the context of '0' conversion and
found out, that it should be the
' _ |_|_ _| |'
not the at http://aroberge.blogspot.com/
' _ |_|_ _| |'
The HTML source has the three spaces. If the code had
Claudio Grondi wrote:
P.S. By the way: on Windows XP with UltraEdit there was no problem to
input the special characters. There is an ASCII table and a HEX editor
mode available for it. Any hints which free editor makes it possible, too?
I simply used Pythonwin. (print chr(3), then cut and
In [EMAIL PROTECTED], rbt wrote:
What's a good way to compare values in dictionaries?
Do you need to compare dictionaries, if its an option it would be
simpler/cheaper to compare each entry from your file
listing with entries in a single dict and act accordingly, mainly
because you will already
Robert Kern [EMAIL PROTECTED] writes:
[...]
No, it's not a silly idea. Dean Baker, the Co-Director the Center for Economic
and Policy Research, has proposed for the U.S. government to establish a
Software Developer's Corps. For $2 billion per year, it could fund about
20,000
developers to
Hello,
I have questions about global variables in OOP (in general) and Python
(in specific). I understand (I think) that global variables are
generally not a good idea. However, if there are variables that need to
be accessed by a number of classes that exists in separate namespaces
(files),
I was playing with python encodings and noticed this:
[EMAIL PROTECTED]:~$ python2.4
Python 2.4 (#2, Dec 3 2004, 17:59:05)
[GCC 3.3.5 (Debian 1:3.3.5-2)] on linux2
Type help, copyright, credits or license for more information.
unicode('\x9d', 'iso8859_1')
u'\x9d'
U+009D is NOT a valid
LMFAO! those were jokes for my friends. lol.and btw the dccpoper and
bot and crap were jokes that i made up for my friends on the #python
channel in freenode... It was a joke.Anyway.. My bad, its ok if u dont
want to help... no one likes me on this group anyway... u guys just
joined the crowd...
http://h1.ripway.com/jay001/PyIRCnMo.txt
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, 30 Dec 2005 15:03:54 -0800, newbie wrote:
Hello,
I have questions about global variables in OOP (in general) and Python
(in specific). I understand (I think) that global variables are
generally not a good idea. However, if there are variables that need to
be accessed by a number
This may have been discussed before, so I apologize.
Does Java have generators? I am aware of the Iterator interface,
but it seems much more restrictive. Python generators are useful
for many more things than simply list enumeration, but the Java
Iterator seems limited.
Tom
--
Jay wrote:
LMFAO!
Yeah, me too. How lame do you think we are?!
--- Heiko.
--
http://mail.python.org/mailman/listinfo/python-list
Heiko Wundram wrote:
Yeah, me too. How lame do you think we are?!
I won't feed the trolls... I won't feed the trolls... I won't feed the
trolls... I won't feed the trolls...
--- Heiko.
--
http://mail.python.org/mailman/listinfo/python-list
I've been playing with dictionary subtypes for custom environments,
and I encountered a strange interaction between exec, dictionary
subtypes, and global variables. I've attached a test program, but
first I'd like to give some background.
Python uses dictionary objects as symbol tables in it's
newbie [EMAIL PROTECTED] writes:
So far, I have approached the problem by making the variables
attributes of one class and passing instances of the class as variables
to the other class' methods.
That's the standard way to do it in OO languages.
The other way I thought of is to create a
I'm a Python newbie who just started learning the language a few weeks
ago. So these are beginner questions.
I have a list of sockets that I use for select.select calls like this:
ReadList,WriteList,EventList = select.select(self.SocketList,[],[],3)
In parallel with that list of sockets I want
In article [EMAIL PROTECTED],
Christopher DeMarco [EMAIL PROTECTED] wrote:
I've written a class to provide an interface to popen; I've included
the actual select() loop below. I'm finding that sometimes popen'd
processes take a really long time to complete and other times I
get incomplete
kk
--
http://mail.python.org/mailman/listinfo/python-list
Here's a variant of André's brilliant idea that's
119 characters long, and fully printable:
j=''.join;seven_seg=lambda z:j(j(' _ | |_ _|_|'
[ord('^r|=Zm.:v\r'[int(a)])%u*2:][:3]for a in z)
+\nfor u in(3,7,8))
Mark
--
http://mail.python.org/mailman/listinfo/python-list
newbie wrote:
Hello,
I have questions about global variables in OOP (in general) and Python
(in specific). I understand (I think) that global variables are
generally not a good idea. However, if there are variables that need to
be accessed by a number of classes that exists in separate
1 - 100 of 129 matches
Mail list logo