wo'
>>>
Does this help at all?
regards
Steve
--
Meet the Python developers and your c.l.py favorites March 23-25
Come to PyCon DC 2005 http://www.pycon.org/
Steve Holden http://www.holdenweb.com/
exit
--
http://mail.python.org/mailman/listinfo/python-list
the simpler expression of the idea with a yield in a loop.
If you think there's a genuine chance this could be usefully added to
Python the solution is obvious: write and submit a PEP.
regards
Steve
--
Meet the Python developers and your c.l.py favorites March 23-25
Come to PyCon DC 200
http://www.pycon.org/
Steve Holden http://www.holdenweb.com/
--
http://mail.python.org/mailman/listinfo/python-list
ass a list?
Earl Eiland
--
http://mail.python.org/mailman/listinfo/python-list
--
Meet the Python developers and your c.l.py favorites March 23-25
Come to PyCon DC 2005 http://www.pycon.org/
Steve Holden http://www.holdenweb.com/
--
http://mail.python.org/mailman/listinfo/python-list
;?
I suspect if you use a raw string for the format then that will be
enough - in other words, does
output, input = popen2(r"""wget -q %s -O - | tr '\r' '\n' | tr \' \" |
sed -n 's/.*url="\([^"]*\)".*/\1/p'""&
y
to get Marc-Andre's attention.
I'm not convinced that it demonstrates an mxODBC bug, since I don't
believe that the ampersand is actioned by the drivers, but I'm not the
best one to be authoritative about this.
others-who-read-this-reply-will-ly y'
nd of a line:
C:\Steve>\python24\python -c "import sys; print repr(sys.argv[1])" "
''
So someone else will have to tell you how to do that, but you should be
clear about what's happening before you try and correct the problem.
regards
Steve
--
Meet the Python
http://www.pycon.org/
Steve Holden http://www.holdenweb.com/
--
http://mail.python.org/mailman/listinfo/python-list
eated, Passed, Raw_packet_queue, Raw, False,
Last_Passed, La
st_Dropped, First_Created, ctr)
File
"/home/earl/ResearchProjects/IntrusionResistance/NewPhasee2/Parser.py",
l
ine 132, in Match
Last_Passed = Raw_packet_queue[0][0][1]
TypeError: unsubscriptable object
On Wed,
needed. As long as ytour problem is solved, that's fine, and it
appears that you've solved it in a reasonably cross-platform way.
Thanks again for your assistance.
Always happy to help when I can!
regards
Steve
--
Meet the Python developers and your c.l.py favorites March 23-2
pers and your c.l.py favorites March 23-25
Come to PyCon DC 2005 http://www.pycon.org/
Steve Holden http://www.holdenweb.com/
--
http://mail.python.org/mailman/listinfo/python-list
eparately), and when Yield() returns the window display should be fully
up to date.
regards
Steve
--
Meet the Python developers and your c.l.py favorites March 23-25
Come to PyCon DC 2005 http://www.pycon.org/
Steve Holden http://www.holdenw
http://www.pycon.org/
Steve Holden http://www.holdenweb.com/
--
http://mail.python.org/mailman/listinfo/python-list
be
possible to set the variable to the function rather than the function's
name:
>>> var = test
>>> var()
hello
>>>
Hope this helps.
regards
Steve
--
Meet the Python developers and your c.l.py favorites March 23-25
Come to PyCon DC 2005 http:
will print "A value" as long as a is imported before b.
regards
Steve
--
Meet the Python developers and your c.l.py favorites March 23-25
Come to PyCon DC 2005 http://www.pycon.org/
Steve Holden http://www.holdenweb.com/
--
http://mail.python.org/mailman/listinfo/python-list
Chmouel Boudjnah wrote:
Steve Holden wrote:
But it depends how you are creating the reference to the function. The
above is required if all you have is a string, but it would also be
possible to set the variable to the function rather than the
function's name
>>> var = test
&
ome to PyCon DC 2005 http://www.pycon.org/
Steve Holden http://www.holdenweb.com/
--
http://mail.python.org/mailman/listinfo/python-list
and your c.l.py favorites March 23-25
Come to PyCon DC 2005 http://www.pycon.org/
Steve Holden http://www.holdenweb.com/
--
http://mail.python.org/mailman/listinfo/python-list
Earl Eiland wrote:
On Thu, 2005-03-03 at 15:11, Steve Holden wrote:
Earl Eiland wrote:
I'm writing my first program where I call custom modules. The 'global'
command doesn't seem to apply, so how do I change a variable internally
in a module without passing it down n layer
ble via
http://www.python.org//pycon/2005/register.html
This is going to be a great opportunity for all
those with an interest in Python to see just how
far the language has come.
regards
Steve Holden
Chairman, PyCON DC 2005
--
PyCon DC 2005: The third Python Community Conference
http://www.py
, more
recently, CoLinux (www.colinux.org).
Why do it in Python when it's better done already?
regards
Steve
--
Meet the Python developers and your c.l.py favorites March 23-25
Come to PyCon DC 2005 http://www.pycon.org/
Steve Holden
avorites March 23-25
Come to PyCon DC 2005 http://www.pycon.org/
Steve Holden http://www.holdenweb.com/
--
http://mail.python.org/mailman/listinfo/python-list
'
Eric Brunel [EMAIL PROTECTED]
regards
Steve
--
Meet the Python developers and your c.l.py favorites March 23-25
Come to PyCon DC 2005 http://www.pycon.org/
Steve Holden http://www.holdenweb.com/
--
http://mail.python.org/mailman/listinfo/python-list
Michael Hoffman wrote:
Steve Holden wrote:
return dict([(d, sample.getval(d)) for d in dset for sample in samples])
That won't do what the original code does. This sets dict[d] to
samples[-1].getval(d) instead of [sample.getval(d) for sample in samples].
My bad, I didn;t look closely enbou
(and stop Cygwin services, if any are running).
2. In a new standard Cygwin command interpreter window run
rebaseall -v
That should be it.
Any other ideas why IDLE won't run?
Well, that's a few things to think about, anyway.
regards
Steve
--
Meet the Python developers and your c
u are interested).
So you'll need to use the .find() string method and say
if x.find("Hello") != -1:
... you found "Hello"
because your ISP appears to be using an older version of Python than you.
regards
Steve
--
Meet the Python developers and your c.l.py favorites
a look at some simple
Tkinter examples. It should start to make sense after you've pored over
the code for an house or so ...
regards
Steve
--
Meet the Python developers and your c.l.py favorites March 23-25
Come to PyCon DC 2005 http://www.pycon.org/
Steve Holden
x27;, 'python', 'swallows', 'the', 'lazy', 'mongoose']
>>> s.split(None, 3)
['The', 'quick', 'brown', 'python swallows the lazy mongoose']
>>> s.split(None, 1)
['The', 'q
vorites March 23-25
Come to PyCon DC 2005 http://www.pycon.org/
Steve Holden http://www.holdenweb.com/
--
http://mail.python.org/mailman/listinfo/python-list
od that
allows you to implement a specific response to the binary "+" operator).
What you probably need is a specific magic hook for the "**" operator,
but I'm not sure that's going to happen any time soon ...
regards
Steve
--
Meet the Python developers and your c.l.py fav
regards
Steve
--
Meet the Python developers and your c.l.py favorites March 23-25
Come to PyCon DC 2005 http://www.pycon.org/
Steve Holden http://www.holdenweb.com/
--
http://mail.python.org/mailman/listinfo/python-list
The documentation explicitly states that only one of the built-in types
can be used as a base class: they aren't desinged to be mixed with each
other.
regards
Steve
--
Meet the Python developers and your c.l.py favorites March 23-25
Come to PyCon DC 2005
d your c.l.py favorites March 23-25
Come to PyCon DC 2005 http://www.pycon.org/
Steve Holden http://www.holdenweb.com/
--
http://mail.python.org/mailman/listinfo/python-list
Michael Hoffman wrote:
Joe wrote:
I want the script to decide whether to fall back to the interactive
prompt. You solution makes it ALWAYS fall back to the interactive prompt.
Actually, using sys.exit() means the program can exit even if python -i
is used.
You can use:
import code
code.interact()
Leeds, Mark wrote:
I have a string variable say “8023 “ and
I want to get rid of the beginning
And ending quotes.
I’ve tried different things
But haven’t had any success.
I’m definitely a python hacker and
Not an expert. Thanks.
>>> x = '"This is a quoted string"'
>>> print x
"This is a
Tim Roberts wrote:
"Johan Kohler" <[EMAIL PROTECTED]> wrote:
I'm using CGIHTTPServer (via its test() method) to test some CGI on my
Windoze 98 box. I find that the execution is very slow. Is there
anything I can do to make sure I'm getting the best performance out of
CGIHTTPServer?
Compared to w
Coral Snake wrote:
I am having problems with programming even simple "Hello World"
programs from books and tutorials that use Python GUI libraries. Such
Programs cause python to throw "Attribute Errors" even when the
"attributes" being asked for by the errors exist in the source code.
This has happ
[EMAIL PROTECTED] wrote:
I was wondering how to do this too. I'm trying to write a distutils
setup.py script that has some data I'd like to include. From the
distutils docs I get
data_files specifies a sequence of (directory, files) pairs in the
following way:
setup(...
data_files=[('bitmaps
Martin MOKREJŠ wrote:
Diez B. Roggisch wrote:
See my post on Mar 2 about "automating assignment of class variables".
I got no answers, maybe I wasn't clear enough ... :(
Seems so - I for example didn't understand it.
I need to define lots of variables. The variable names are often
identical. The
Martin MOKREJŠ wrote:
Peter Hansen wrote:
Martin MOKREJŠ wrote:
Am I so deperately fighting the language? No-one here on the list
needs to set hundreds variables at once somewhere in their code?
Nobody needs to do that. As others have pointed out, creating variables
implies wanting to access th
Martin MOKREJŠ wrote:
Steve Holden wrote:
[...]
I will be *very* surprised if you can't get a much better (i.e. easier
and more efficient) solution by stepping back from the programming
Hmm, I'm not convinced, but I'll put few more words here then. ;)
details for a moment and exp
Jorge Godoy wrote:
[EMAIL PROTECTED] writes:
Was doing some string formatting, noticed the following:
x = None
"%s" % x
'None'
Is there a reason it maps to 'None'? I had expected ''.
How would know, then, if there was no value at all or if it was an empty
string?
Well, for that matter, how can
Pete. wrote:
Hi all I am working on a log in script for my webpage.
I have the username and the password stored in a PostgreSQL database.
The first I do is I make a html form, where the user can type in his
username and code, when this is done I want to run the
script(testifcodeisokay) that v
Xah Lee wrote:
thanks for the help...
---
the python doc is stilted. It tried to organized the thing and with a
style around some highbrow inane "computer science" outlook.
[usual semi-literate expletive-deleted rant omitted]
And your writing is so lucid and comprehensible, it's a pity
you can
Darren Dale wrote:
Generally, I avoid execfile within a function. What's your use case?
There may be a better way to approach this problem...
I am writing a simulation that loads some predefined constants, depending on
the options called by the user. I originally had it set up to parse the
file,
Pete. wrote:
The 2 scripts I made is actually working the way they where meant to. So im
kindda happy :)
The problem is, that I didnt think about the problem: as Steve wrote:
"There are other matters of concern, however, the most pressing of which
is: How am I going to stop user from naviga
alexrait1 wrote:
I launch my python. Then I write this:
import popen2
popen2.Popen3("mplayer *.mpg")
it starts playing for 2 seconds.. and then stops...
if I quit python (ctrl - D)
mplayer continues to run and plays music as it should...
Any ideas?
It looks like the process you start is blocking on
Pete. wrote:
I better mention, that I rather make it all in python and html (found out
that python somehow works with asp)
I know that what I have to do is the following:
1) When the user logs in, I have to store a session ID in a cookie
In actual fact it's best not to wait until the user log
pemo wrote:
I'm trying to use difflib.py from a COM aware language - and, for ease of
use, I'm initially trying to get this going from VB6.
I've wrappered difflib.py correctly I think, and I can now call into it and
call a global method (called 'test' of course). Here's the consuming code:
Andy Leszczynski wrote:
Does BaseHTTPServer.BaseHTTPRequestHandler support HTTP protocol chunking?
No. Hardly any HTTP 1.1 features are supported.
regards
Steve
--
http://mail.python.org/mailman/listinfo/python-list
John Roth wrote:
"Tobiah" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
What is the purpose of the second argument to super()?
I've always found the docs to be fairly confusing.
They didn't give me enough context to tell what
was going on. I also find the terminology confusing:
"t
fedor wrote:
Hi all,
I have a problem with mysql connections. After about 28000-29000
connections, I get a "Can't connect to MySQL server on '127.0.0.1'" error.
I have made a small program which generates the error
"""
import MySQLdb
for i in range(3):
if not i % 100:
Larry Bates wrote:
Note: my comments assume Windows distribution.
Why do you think you can't you have a config file after you convert
your program to an executable? I do it all the time and so do many
I suspect the OP's config file is a Python module.
regards
Steve
--
http://mail.python.org/mailm
Fred wrote:
Sorry if my choice of words is not very clear to you, but as english
is not my first language, I put it this way because of a lack of
better words.
I will try it differently:
What I meant is that I am searching for a module, that would allow me
to select a file by not using a typed path
Sandman wrote:
Hi there,
I'm still a bit new to Python, and had a question.
I have a dictionary that looks like:
PWD = \
{
"root": 0,
"joe": 200,
"susan": 201,
..
}
In other words, the values are unique as well as the keys. I've run
into a situation where I need to lookup t
Terry Reedy wrote:
"Skip Montanaro" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
value = d.get('x') or bsf()
Of course, this bsf() will get called if d['x'] evaluates to false, not
just
None,
value = (d.get('x') is not None) or bsf() #??
Unfortunately this will set value to Tru
Efrat Regev wrote:
Hello,
I'm a really new (and quite bad) Python programmer. While trying to use
the HC HTML-Generating library, I couldn't figure out how to set a table's
width to some given width. Moreover, the constructors interface is
def __init__(self, object = None, align = None, border
Pete:
Don;t give up, load Webware or similar and use that!
regards
Steve
Pete. wrote:
Hi all.
Unfortunaly it looks like I dont have to skill to make a secure log in, cant
figure out how the code has to look like, so guess my webpage has to live
with a security issue.
Thanks for the effort y
[EMAIL PROTECTED] wrote:
Howdy,
I sure hope so.
I don't get around much, so I love to be able
to hear what I'm missing.
I bet lots of folks would appreciate audio/video
download/stream. Though video may be prefered,
I've found that listening to a Powerpoint
presentation is fine.
Thanks,
Kent
A te
Steve Holden wrote:
[EMAIL PROTECTED] wrote:
Howdy,
I sure hope so.
I don't get around much, so I love to be able
to hear what I'm missing.
I bet lots of folks would appreciate audio/video
download/stream. Though video may be prefered,
I've found that listening to a Powerpoint
prese
be able to pass parameters. (Although there is a
reference to global and local dictionaries that I don't understand.)
Surely there is a way to do this!
Earl Eiland
Yes. os.popen, popen.popen{2,3,4}, os.system, ... take your pick!
regards
Steve
--
Steve Holden+1 703 861 4237 +1 800 494
that regard.
Thx, A.
Try switching keepalives off, or falling back to HTTP 1.0 - ironically
it may be the attempt to use the same connection for both pieces of
content that holds things up.
regards
Steve
--
Steve Holden+1 703 861 4237 +1 800 494 3119
Holden Web LLC http
indeed a questionable feature. It all happens because the
parser detects that there are variables with that name in the enclosing
functions and creates special cellvars...
I believe you are coinfusing restrictions on exec syntax with
restrictions on namespace nexting.
- No nesting of scopes for cl
w/mhammond/
google-is-your-friend-ly y'rs - steve
--
Steve Holden+1 703 861 4237 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
--
http://mail.python.org/mailman/listinfo/python-list
them the linelist.append(fn(x)) way,
which then gives you the choice of
"".join(linelist) - no gaps
"\n".join(lienlist) - one item per line
" ".join(linelist) - spaces between items.
regards
Steve
--
Steve Holden+1 703 861 4237 +1 800 494 3119
Holden Web
Grig Gheorghiu wrote:
Is there an official procedure for signing up for presenting a
Lightning Talk, except for editing the PyCon05 Wiki page?
Grig
No, just put your name down and that should get you a place.
regards
Steve
--
Steve Holden+1 703 861 4237 +1 800 494 3119
Holden Web LLC
also running an SMTP server (typically sendmail),
whereas the Solaris box apparently isn't.
If the two machines are on the same network, try replacing "localhost"
with the name, or IP address, of the machine that *did* work.
Otherwise, ask your sysadmin which host you
__
Pycon-organizers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/pycon-organizers
--
Steve Holden+1 703 861 4237 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
--
http://mail.python.org/mailman/listinfo/python-list
Brad Tilley wrote:
Matt Gerrans wrote:
Anyway, what's to worry about?When the time comes just whip out a
little script that converts Python 1.6 (or whatever you like) to
Python3K; it will only take seven lines of P3K code.
How about 'import classic'
... or
from __past__ import __mistakes__
l
Matt Gerrans wrote:
That sounds easy enough, but I imagine the Acive State package requires some
kind of licensing.I'm pre-installing on millions of consumer PCs.
Ah, so your group is responsible for all the "I've found Python on my
computer, what does it do and can I remove it" messages w
Anoop Rajendra wrote:
Hi. I'm trying to resolve an issue with strings.
The command(inclusive of the back-slashes)
condor_q -l -constraint "ProjectId==\"anoopr_samadams.fnal.gov_161903_30209\""
is the only way the command returns the right result.
I'm trying to run this command from inside a python
Luke Skywalker wrote:
On Wed, 01 Dec 2004 17:15:38 -0500, Steve Holden <[EMAIL PROTECTED]>
wrote:
You are right about ActiveState, the copy you download from their web
site is licensed to prohibit redistribution. They might be prepared to
cut you a special license, but you'd have
Donn Cave wrote:
In article <[EMAIL PROTECTED]>,
Gustavo Córdova Avila <[EMAIL PROTECTED]> wrote:
David Bolen wrote:
Jp Calderone <[EMAIL PROTECTED]> writes:
def nonBlockingReadAll(fileObj):
bytes = []
while True:
b = fileObj.read(1024)
bytes.append(b)
Dan Sommers wrote:
On Wed, 1 Dec 2004 20:45:13 -0500,
"chris" <[EMAIL PROTECTED]> wrote:
But when I try to use a variable such as:
###
...
varA = '0'
varB = '1190'
mycursor.execute('Update Categories Set DelStatus = ' varA 'Where Pro
Gustavo Córdova Avila wrote:
Donn Cave wrote:
Depends. I don't believe the original post mentioned
that the file is a pipe, socket or similar, but it's
kind of implied by the use of select() also mentioned.
It's also kind of implied by use of the term "block" -
disk files don't block.
If we are in
Gustavo Córdova Avila wrote:
Steve Holden wrote:
Gustavo Córdova Avila wrote:
Actually the op did mention that he wanted to monitor files.
As was pointed out to me when I made the same assertion, he actually
said "file object which is stdin" or something like that, which means
the ob
Lad wrote:
I would like to set up my website and allow customers to choose
products there, including shopping carts. I would like to use Python
but it would be very complicated to start from nothing.
Why is there not any(?) framework or complete e-commerce solution
written in Python?
There are lots
Ramon Felciano wrote:
Hi --
I'm using the csv module to parse a tab-delimited file and wondered
whether there was a more elegant way to skip an possible header line.
I'm doing
line = 0
reader = csv.reader(file(filename))
for row in reader:
if (ignoreFirstLine
Jive wrote:
I've un-installed Python 2.4, re-installed Python 2.3 and PythonWin for 2.3,
but it's still broke.
When I start PythonWin, sometimes it looks like it is going to be okay. But
as soon as I open a .py file, the interactive window grabs the focus and
will not let go. I am stumped.
Is the
Paul Rubin wrote:
Steven Bethard <[EMAIL PROTECTED]> writes:
IMHO this too easy to accomplish right now to warrant
an "official" implementation:
class Bunch:
pass
b = Bunch()
b.one, b.two, b.three = 1,2,3
works just fine, depending on the problem I might add a few special
operators. For anything
Limin Fu wrote:
To clarify, I mean the internal structure and design
of python interpreter. Any hint? Thanks.
Regards,
Limin
In the open source world, of course, the usual answer from people like
me (who don't delve deeply into the internals most of the time) is "use
the source, Luke".
But I'm s
Peter Hansen wrote:
Matt Gerrans wrote:
"Peter Hansen" <[EMAIL PROTECTED]> wrote:
Only pure Python code can run without change on a newer interpreter.
Is the interpreter smart enough to rebuild a pyc (if the corresponding
py file is there of course) file that was built by a previous version?
Yes
Ishwor wrote:
hi all,
can anyone tell me why this distinction? i mean why it returns False
on floats??
a = 1
b = 1
a is b
True
a = 1.1
b = 1.1
a is b
False
thanx .
There is no guarantee that this will hold in all implementations of Python.
The majority implementation, usually called CPython becaus
Christopher J. Bottaro wrote:
Hello,
I want to be able to say stuff like "import CJB.ClassA" and "import
CJB.ClassB" then say "c = CJB.ClassA()" or "c = CJB.ClassB()". CJB will be
a directory containing files "ClassA.py" and "ClassB.py".
Now that I think about it, that can't work b
the_proud_family wrote:
HELP ME PLEASE!! my email is [EMAIL PROTECTED]
I can't get the ball to go up right side and then I need it to turn
around and keep turning until velocity=0 I have been at it for the
past 2 weeks now i give up and call for help. Please if anyone can
gide me through i will be
Andr? Roberge wrote:
I have the following two files:
#--testexec.py--
def exec_code(co):
try:
exec co
except:
print "error"
#-- test.py--
import thread
import testexec
import time
code = "def a():\n print 'a'\n\n" +\
"def c():\n a()\n\nc()"
code2 = "def a():\n print '
Andreas Volz wrote:
Hi,
I used SGMLParser to parse all href's in a html file. Now I need to cut
some strings. For example:
http://www.example.com/dir/example.html
Now I like to cut the string, so that only domain and directory is
left over. Expected result:
http://www.example.com/dir/
I know how
Vivek wrote:
[third request ...]
Any suggestions?
Thanx.
Well, you could try asking just once and then waiting a bit :-)
regards
Steve
--
http://www.holdenweb.com
http://pydish.holdenweb.com
Holden Web LLC +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
Fuzzyman wrote:
If you're determined enough there are instructions here :
http://www.vrplumber.com/programming/mstoolkit/
These will get you the Visual Studio 7 tools (free releases of) and
tell you how to configure distutils to use it.
Hefty downloads though, do not attempt this without broadband
Chris wrote:
Alas, I dont think that there is much you can do to prevent the
confirmation dialogs with Outlook's MAPI dll. MS added them in a
service pack as an anti-virus measure, so no work-around. Not all
clients show these anoying dialogs though. Thunderbird definately
doesn't.
There is act
Francis Lavoie wrote:
Do we need a special account or something to use the newsgroup instead
of the mailling list?
Yes, you have to find an NNTP server that carries comp.lang.python. It's
possible your Internet service provider runs such a news server and will
let you access it as a part of your
phil wrote:
[...]
> 5. Sorry I can't be more help. You don't give anyone much
> to go on. All that stuff about "Queue(0)" and "listenq"
> is pretty much meaningless to us, you know...
You know, I get this all the time on language support groups.
This might be a clue.
All of my Linux support gr
houbahop wrote:
Thank you everyone, but I still not understand why such a comon feature like
passing parameters byref that is present in most serious programming
languages is not possible in a clean way,here in python.
I have the habit to never use globals as far as possible and this involve
tha
Fuzzyman wrote:
Steve Holden wrote:
Fuzzyman wrote:
If you're determined enough there are instructions here :
http://www.vrplumber.com/programming/mstoolkit/
These will get you the Visual Studio 7 tools (free releases of) and
tell you how to configure distutils to use it.
Hefty downloads t
Donnie Leen wrote:
I had tried already, the doesn't contain the sourcecode.
In python2.3.3, the release pakage contained sourcecode is Python-2.3.3.tar.
Rhubarb. All you had to do was follow Fredrik's instructions.
Since they didn't appear to be explicit enough for you, search in the
page he names
jfj wrote:
Yo.
Why can't we __setitem__ for tuples?
The way I see it is that if we enable __setitem__ for tuples there
doesn't seem to be any performance penalty if the users don't use it
(aka, python performance independent of tuple mutability).
On the other hand, right now we have to use a list i
Fuzzyman wrote:
That's odd - it worked fully *both* times I've done it.
I did the *full* doenload though and downloaded the 13 CAB files
individually and did a local install.
I made the mistake of trying to use the Microsoft installer, which is
frankly a load of crap. As I write it's now canceling
Arnold wrote:
I want to use python to communicate with UART port in my PC, how can I
achieve this? any modules need to be installed?
Thanks
pyserial is the usual solution. See http://pyserial.sourceforge.net/
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web
Steve Holden wrote:
Fuzzyman wrote:
That's odd - it worked fully *both* times I've done it.
I did the *full* doenload though and downloaded the 13 CAB files
individually and did a local install.
I made the mistake of trying to use the Microsoft installer, which is
frankly a load of
messages directly from Outlook.
"""
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
801 - 900 of 4732 matches
Mail list logo