On 17 Jun 2005 21:10:37 -0700, "Michele Simionato"
<[EMAIL PROTECTED]> wrote:
>Andrea Griffini wrote:
>> Why hinder ?
>
...
>To be able to content himself with a shallow knowledge
>is a useful skill ;)
Ah! ... I agree. Currently for example my knowledge
of Zope is pretty close to 0.00%, but I'm u
Chris Spencer:
"""
Fredrik Lundh wrote:
> Chris Spencer wrote:
> > If an XML parser reads in and then writes out a document without having
> > altered it, then the new document should be the same as the original.
> says who?
Good question. There is no One True Answer even within the XML
standard
The Perl version of the Tree function is posted. It's a bit long.
Please see the code here:
http://xahlee.org/tree/Table.html
the choice of having a string as the first argument to Table is a bit
awkward in Perl. Possibly i'll have to rewrite it so that the first
argument is a function instead, wh
Dear All,
The following way of popen function usage is
wrong or not kindly give me answer regarding this
time = os.popen("echo %s | tai64nlocal" %
line[2]).read()
Actually here I didn't use any file handler and
I didn't close file handler.
regards
Prabahar
OO approach to decision sequence?
-
In a recent thread (Cause for using objects?), Chris Smith replied with (in
part):
>If your table of photo data has several types of photos, and you find
>yourself saying
>
>if is_mugshot:
>#something
>
Quoth Remi Villatel <[EMAIL PROTECTED]>:
| What I'm trying to achieve is a conditionnal loop of which the condition
| test would be done at the end so the loop is executed at least once. It's
| some way the opposite of "while".
|
| So far, all I got is:
|
| while True:
| some(code)
|
selam benim ismim samet bende sizin gruba katilmak istiyorumkabul
ederseniz sevinirim etmeseniz ayrilirim
--
http://mail.python.org/mailman/listinfo/python-list
WOW! Thanks, this looks remarkabley close to what I was talking about.
Len
fraca7 wrote:
> Leonard J. Reder a écrit :
>
>> [snip]
>
>
> http://smc.sourceforge.net/
>
> It's probably not what you're looking for, but it's the closest I can
> think of.
--
http://mail.python.org/mailman/listinfo/
In article <[EMAIL PROTECTED]>,
Leif K-Brooks <[EMAIL PROTECTED]> wrote:
> How do I make a regular expression which will match the same character
> repeated one or more times, instead of matching repetitions of any
> (possibly non-same) characters like ".+" does? In other words, I want a
> patter
Hi there,
There is always a "nice" way to do things in Python but this time I can't
find one.
What I'm trying to achieve is a conditionnal loop of which the condition
test would be done at the end so the loop is executed at least once. It's
some way the opposite of "while".
So far, all I got
Harlin Seritt wrote:
> Am I the only one who wonders this: If Python at runtime runs
> very much like Java and has generally about the same speed (or faster),
> then why in the world isn't Java becoming more archaic and being
> steadily replaced by Python? I ask this not as a rhetorical question,
>
On 2005-06-18, cpunerd4 <[EMAIL PROTECTED]> wrote:
>> I've guessed that python is purely an interpreted language unless its
>> compiled into another language (ie. it needs python installed in order
>> to run programs). Is this correct?
>It's just like Java. It's compiled into bytecode and then
Andrea Griffini wrote:
> Why hinder ?
Suppose you have to accomplish a given task using a framework
which is unknown to you. The manual is 1000 pages long.
In order to get the job done, it is enough to study 50 pages
of it. There are people with the ability to figure out very
quickly which are the
Peter Dembinski wrote:
> "Grigoris Tsolakidis" <[EMAIL PROTECTED]> writes:
>
> > There is tool to generate UML from Python Code...
>
> The best is human brain.
No! It isn't. In fact, it's the worst.
The brain may be fine for generating Python from UML but it is MANY
MANY orders of magnitude harde
> "Leif" == Leif K-Brooks <[EMAIL PROTECTED]> writes:
Leif> How do I make a regular expression which will match the same
Leif> character repeated one or more times, instead of matching
Leif> repetitions of any (possibly non-same) characters like ".+"
Leif> does? In other words,
> "John" == John Heasly <[EMAIL PROTECTED]> writes:
John> Given: [{"mugshot": "nw_gradspeaker4_0608", "width": 67.0,
John> "height": 96.0}, \ {"mugshot": "nw_gradspeaker2_0608",
John> "width": 67.0, "height": 96.0}, \ {"freehand":
John> "b1.developreport.0614", "width": 154.0,
John Reese wrote:
> I now do:
> if isinstance(x, list):
[snip]
>
> I'm not saying I do it a lot, but sometimes it's useful to write
> methods with interfaces like, well, isinstance's, whose second argument
> can be a single type object or a sequence of class objects.
Personally, I'd just write t
[Paul Rubin wrote]
> Try "Dive Into Python", www.diveintopython.org (site is very slow
> right now, try later).
Note that "Dive Into Python" is included in the ActivePython Windows
compiled help file so you can read and search it locally:
http://ftp.activestate.com/ActivePython/etc/ActivePyth
Concurrence is a networked file editing program that enables multiple
people to modify a document simultaneously. It is written entirely in
python, and uses the wxPython library for the GUI and the Twisted
library for networking.
This marks the release of Concurrence 0.0.5.2 Alpha, and it can be
f
On 2005-06-18, cpunerd4 <[EMAIL PROTECTED]> wrote:
> I've guessed that python is purely an interpreted language unless its
> compiled into another language (ie. it needs python installed in order
> to run programs). Is this correct?
It's just like Java. It's compiled into bytecode and then the
b
"cpunerd4" <[EMAIL PROTECTED]> writes:
> I stumbled onto the python language by chance and it looks like a
> great language. Although from what I've read so far (which isn't much)
> I've guessed that python is purely an interpreted language unless its
> compiled into another language (ie. it need
On Wed, 15 Jun 2005 11:50:27 +0200, Riccardo Galli wrote:
Hi.
Thanks to all who answered.
Scott David posted a solution (clever, scott) which was what I asked for,
but I noticed some oddness while using it (about __init__).
I also understood that this way should be avoided.
I ended up using a p
cpunerd4 wrote:
> Hello programmers,
> I stumbled onto the python language by chance and it looks like a
> great language. Although from what I've read so far (which isn't much)
> I've guessed that python is purely an interpreted language unless its
> compiled into another language (ie. it needs
Hello programmers,
I stumbled onto the python language by chance and it looks like a
great language. Although from what I've read so far (which isn't much)
I've guessed that python is purely an interpreted language unless its
compiled into another language (ie. it needs python installed in order
I tried Bash on Cygwin, but did not know enough about setting up the
environment to get it working.
Instead I got an excellent answer from alt.msdos.batch which used the
FOR IN DO command.
My next job is to learn Python.
Ross
--
http://mail.python.org/mailman/listinfo/python-list
"H. S. Lahman" <[EMAIL PROTECTED]> wrote:
> > Never throw an exception. And if someone throws one at you,
> > catch it immediately and don't pass it on.
>
> IMO, this is generally fine advice. Languages provide exception
> handlers so that applications have a chance to respond gracefully
On Fri, 17 Jun 2005 16:40:56 -0600, <[EMAIL PROTECTED]> wrote:
> John Reese wrote:
>> I now do:
>>
>> if isinstance(x, list):
>>
>> It is my understanding that this is what people do nowadays.
>
> I wouldn't go that far. I don't have an isinstance check for lists
> anywhere in my entire cod
On 17 Jun 2005 06:35:58 -0700, "Michele Simionato"
<[EMAIL PROTECTED]> wrote:
>Claudio Grondi:
...
>>From my
>>overall experience I infer, that it is not only possible
>>but has sometimes even better chances for success,
>>because one is not overloaded with the ballast of deep
>>understanding whic
Andrea Griffini <[EMAIL PROTECTED]> wrote:
> Add to the picture the quality of [C++] compile time error messages
> from the primitive template technology and even compile time errors
> often look like riddles;
Yeah, but what they lack in quality, they make up for in quantity.
> if you forget a "
Only thing I know to watch out for is they don't include SSL support - something
the Python 2.4.1 msi file does include. I needed that for something I'm working
on and had to install 2.4.1 over ActivePython to get the SSL support.
-Pete
David Van Mosselbeen <[EMAIL PROTECTED]> wrote:
> James wr
[EMAIL PROTECTED] wrote:
> That is nice. I didn't know iPython can do whos. Will try it.
>
> iPython seems to infinitely configurable. Hope it will not suck too
> much of my time into it.
It is. It probably will. It did to me :)
At least, I hope it will have been time well spent.
Best,
f
I am trying to make a copy of a certain Python object using the
copy.copy() function. When I try to perform this operation I get an
error like the following:
copy.Error: un(shallow)copyable object of type ...
What factors determine whether an object can be copied?
--
http://mail.python.org/mai
John Reese wrote:
> I now do:
>
> if isinstance(x, list):
>
> It is my understanding that this is what people do nowadays.
I wouldn't go that far. I don't have an isinstance check for lists
anywhere in my entire codebase. Why do you think you need to check to
see if something is of type
Python's current scoping differs from that in versions 2.1 and earlier
- statically nested (lexical) scoping was introduced under PEP 227.
I don't know what differences, if any, remain between Python's and
Perl's scoping rules, or if there is any tutorial concerning Python
scoping thats aimed spec
Oops! John points out that comp.lang.python.announce is where these
things belong. Sorry guys. My fault.
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, 17 Jun 2005 08:40:47 -0400, Peter Hansen <[EMAIL PROTECTED]>
wrote:
>And the fact that he's teaching C++ instead of just C seems to go
>against your own theories anyway... (though I realize you weren't
>necessarily putting him forth as a support for your position).
He's strongly advocat
John Reese wrote:
> Why hello there ha ha.
[snip]
Just looking through the types declared in types, the
> following are builtins:
> [snip]
> ... NoneType,
> NotImplementedType
>
> And the following are not:
> [snip]
> ... NoneType, NotImplementedType
>
> So for any in the latter batch, I have
In <[EMAIL PROTECTED]> bill <[EMAIL PROTECTED]> writes:
>I have to learn Python in a hurry.
My apologies. I found what I needed. I don't understand it how
I missed it in my first round of searching.
Thanks,
bill
--
http://mail.python.org/mailman/listinfo/python-list
bill <[EMAIL PROTECTED]> writes:
> I have to learn Python in a hurry. I learn fastest by reading the
> specs/reference manual, or something like it (e.g. "C: A Reference
> Manual", by Harbison and Steel).
>
> Is there a Python book that fits this description?
The official reference manual is at:
rbt wrote:
> On Fri, 2005-06-17 at 09:18 -0400, Peter Hansen wrote:
>
>>rbt wrote:
>>
>>>The script is too long to post in its entirety. In short, I open the
>>>files, do a binary read (in 1MB chunks for ease of memory usage) on them
*ONE* MB? What are the higher-ups constraining you to run this
I have to learn Python in a hurry. I learn fastest by reading the
specs/reference manual, or something like it (e.g. "C: A Reference
Manual", by Harbison and Steel).
Is there a Python book that fits this description?
Many thanks in advance,
bill
P.S. I avoid tutorials like the plague, and I
On 17 Jun 2005 05:30:25 -0700, "Michele Simionato"
<[EMAIL PROTECTED]> wrote:
>I fail to see the relationship between your reply and my original
>message.
>I was complaining about the illusion that in the old time people were
>more
>interested in programming than now. Instead your reply is about l
Steven D'Aprano wrote:
> On Thu, 16 Jun 2005 11:47:10 -0700, Rahul wrote:
>
> > Hi.
> > I am part of a group in my univ where we organize a programming
> > contest. In this contest we have a UDP based server. The server
> > simulates a game and each contestant is to develop a team of virtual
> > pl
The : is used in Python for slice notation, which is explained pretty
thoroughly in the Python tutorial, specifically at:
http://www.python.org/doc/2.4/tut/node5.html
--
http://mail.python.org/mailman/listinfo/python-list
Hi.
I will look into it..thanks
rahul
Jeremy Sanders wrote:
> On Thu, 16 Jun 2005 11:47:10 -0700, Rahul wrote:
>
> > If you have a python script and you want that 75 copies of the script be
> > run simultaneously how will you do it? Is there anyway to do so without
> > running 75 copies of the pyt
Sébastien Boisgérault wrote:
> Hi,
>
> Imagine that you have a PyObject pointer 'object'
> pointing to a Python integer ... let's say 42.
>
> How would do you attach the variable "answer" to
> it so that the code
>
> PyRun_SimpleString("print answer");
>
> works as expected ?
>
> My current so
That is nice. I didn't know iPython can do whos. Will try it.
iPython seems to infinitely configurable. Hope it will not suck too
much of my time into it.
--
http://mail.python.org/mailman/listinfo/python-list
Why hello there ha ha.
I have got in the habit of testing the types of variables with
isinstance and the builtin type names instead of using the types
module, as was the style back around Python 2.1. That is, rather than
if type(x) == types.ListType:
I now do:
if isinstance(x, list):
It
George Sakkis wrote:
> During the last 18 months or so I have indulged in the joy of learning
> and using python for almost everything, but I may have to go back to
> C/C++ at work. Suddenly I found myself transliterating (or translating
> at least) common python idioms and patterns, looking for li
whos.py as a module would not work for global scope, as it hides the
function whos in the module scope.
I have fixed the string bug.
--
http://mail.python.org/mailman/listinfo/python-list
(I don't know if this is the right place to make an announcement but
I've seen other projects doing it so I thought why not?)
I've now released version 0.6.9 of the IssueTrackerProduct
http://www.issuetrackerproduct.com/News/0.6.9
It's a issue/bug tracker built on top of Zope (Python) that is kno
Peter Hansen wrote:
>> But apparently some guru I greatly respect thinks so
>> (I'm not kidding, http://www.spellen.org/youcandoit/).
>
>
> With respect to the author, and an understanding that there is probably
> much that didn't go into his self-description (add "about.htm" to the
> above URL
On 2005-06-17, George Sakkis <[EMAIL PROTECTED]> wrote:
> So, I wonder what have others who have gone the same path done and
> learned in similar situations. How one can avoid the frustration of
> having to work with a low level language once he has seen the Light ?
This project:
http://ast
Peter Hansen wrote:
> D H wrote:
>
>> Peter Hansen wrote:
>>
>>> With a case statement, on the other hand, you *know* that it must be
>>> just simple conditionals (a series of x == some_constant tests), so
>>> you don't need to look at all the cases, just the one that interests
>>> you.
>>
>>
>
"Matthias Kluwe" <[EMAIL PROTECTED]> writes:
> The server accepts and delivers my messages, but the last command
> raises
>
> socket.sslerror: (8, 'EOF occurred in violation of protocol')
>
> Did I miss something? Any hint is welcome.
Looks like the module didn't send an TLS Close Notify message
Thanks all,
My problem came when I set PYTHONHOME, apparently that is a bad thing
(in this case). I know that I set it to the directory that python was
in, but something about that was "bad". now everything works.
DLC
Robert Kern <[EMAIL PROTECTED]> wrote:
: Dennis Clark wrote:
: > This is a
Hello,
I am a programmer, but not a python guy. So I am a little confused with
the following python code. Specifically what does the ":" do in the
array arithmetic?
new_page = map[opage]
old_page = map[opage^1]
center = new_page[1:-1,1:-1]
origcenter = array(center)
center[:]
Simply use the internal table SQLite_Master:
select name from SQLite_Master
will return all existing tables.
Regards,
Matthias
--
http://mail.python.org/mailman/listinfo/python-list
Oops, I probably should have tried searching the list first. My
background is strictly academic. I was switching languages so often I
never got really familiar with any of them. Maybe C for a while, but
I've forgotten alot. I'm hoping python will be the last language I ever
need. :) I don't know wh
Dennis Clark wrote:
> This is a total newb question, you have been warned...
>
> I've been all over the www.python.org site and googled, but I've not
> found just how to add new modules. I've tried setting PYTHONPATH,
> I've tried putting the new module directories into the site-packages
> direct
Hi!
After getting a @gmail.com address, I recognized I had to use TLS in my
python scripts using smtplib in order to get mail to the smtp.gmail.com
server.
Things work well so far, apart from an unexpected error. Here's my
sample code:
import smtplib
server = smtplib.SMTP('smtp.gmail.com', 587)
Andrew wrote:
> Newb here... For one of my programs I want to initialize a variable for
> each letter of the alphabet. For example, a,b,c = 0,0,0.
Why do you want to do this? This looks like a particularly bad idea to
me. Can't you just use a dict of the "variables", e.g.:
py> d = dict.fromkeys
Dennis Clark wrote:
> This is a total newb question, you have been warned...
>
> I've been all over the www.python.org site and googled, but I've not
> found just how to add new modules. I've tried setting PYTHONPATH,
> I've tried putting the new module directories into the site-packages
> direct
Title: Message
I have posed a more complete
answer to your question, however, it is quite a large and It is awaiting
approval. For now, xlRight = -4152. You can find this out by opening
up Excel and typing the ALT-F11 combination. From there use the
ObjectBrowser. For example if you type
Andrew wrote:
> Newb here... For one of my programs I want to initialize a variable for
> each letter of the alphabet. For example, a,b,c = 0,0,0. I don't think
> this works, but I'm wondering if I can do something similar to this:
>
> from string import ascii_lowercase
>
> class Blah:
> def
This is a total newb question, you have been warned...
I've been all over the www.python.org site and googled, but I've not
found just how to add new modules. I've tried setting PYTHONPATH,
I've tried putting the new module directories into the site-packages
directory, I've tried creating the .pt
Question
please:
In the post, "How to
operate the excel by python," where did you find the codes for
HorizontalAlignment and VerticalAlignment (Center = -4108 and Bottom =
-4107)? I need the code for HorizontalAlignment = xlRight. Is there
a table somewhere that shows these codes?
Tha
Newb here... For one of my programs I want to initialize a variable for
each letter of the alphabet. For example, a,b,c = 0,0,0. I don't think
this works, but I'm wondering if I can do something similar to this:
from string import ascii_lowercase
class Blah:
def __init__(self):
for le
This link seems to be about Closures in Python, but I am not feeling
sharp enough at the moment to evaluate the correctness of the
discussion.
http://en.wikipedia.org/wiki/Python_programming_language#Closures
As others have said, you might get more useful responses if you can
elaborate upon what
Thanks, I will keep that in mind.
Chad
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Steven D'Aprano
Sent: Friday, June 17, 2005 11:06 AM
To: python-list@python.org
Subject: RE: Overcoming herpetophobia (or what's up w/ Python scopes)?
On Fri, 17 Jun 2
[EMAIL PROTECTED] wrote:
> I have been a long time Matlab user. I Python, I miss Matlab's whos
> command.
you might want to look at ipython. whos, and a bit more come for free:
planck[~]> ipython -pylab
Python 2.3.4 (#1, Feb 2 2005, 12:11:53)
Type "copyright", "credits" or "license" for more
On Fri, 17 Jun 2005 10:22:05 -0700, Hughes, Chad O wrote:
> Are you sure about the lower-case thing. The original post states
> "Perlhead" and there are many instances at www.Perl.com where O'REILLY
> spells perl as Perl.
I did say "usually" :-)
But in fact it seems that the creator of Perl/per
Try this..
#!/usr/bin/env python
# Upload a file to a FTP server
from sys import argv, exit
from ftplib import FTP
if len(argv) != 6:
print 'Incorrect number of parameters'
print 'USAGE: upload.py
'
exit(0)
server = argv[1]
username = argv[2]
password = argv[3]
upfile = argv
Take a look at: http://dirssync.sourceforge.net/
See if that gives you any direction.
--
http://mail.python.org/mailman/listinfo/python-list
Are you sure about the lower-case thing. The original post states
"Perlhead" and there are many instances at www.Perl.com where O'REILLY
spells perl as Perl.
Chad
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Steven D'Aprano
Sent: Friday, June 17, 2005
Hi,
I wonder if anyone knows how to programmatically make a python window
get focus and bring it to front. Here a python window means the
Tkinter Toplevel widget. Thanks.
Zhen
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I am starting to play with pysqlite, and would like to know if there is
a function to determine if a table exists or not.
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
bruno modulix <[EMAIL PROTECTED]> wrote:
>George Sakkis wrote:
.
.
.
>> learned in similar situations. How one can avoid the frustration of
>> having to work with a low level language once he ha
kj wrote:
> I'm a Perlhead (there, I said it). Years ago I made a genuine
> attempt to learn Python, but my intense disappointed with the way
> Python deals with scopes ultimately sapped my enthusiasm. I couldn't
> live without closures and without the fine control over scopes that
> Perl provide
On Fri, 17 Jun 2005 09:36:55 -0700, Hughes, Chad O wrote:
> I am very familiar with Python, but I don't know Pearl.
The language is *always* spelt without the "a", and usually all in
lower-case: perl.
Now that I've taught you everything I know about perl, you can be an
expert like me
--
Steve
On Thu, 16 Jun 2005 11:47:10 -0700, Rahul wrote:
> If you have a python script and you want that 75 copies of the script be
> run simultaneously how will you do it? Is there anyway to do so without
> running 75 copies of the python interpreter simultaneously?
If you're running on Linux (and other
On Thu, 16 Jun 2005 11:47:10 -0700, Rahul wrote:
> Hi.
> I am part of a group in my univ where we organize a programming
> contest. In this contest we have a UDP based server. The server
> simulates a game and each contestant is to develop a team of virtual
> players. Each team is composed of 75 s
I am very familiar with Python, but I don't know Pearl. In order to
answer your question, you will have to tell me about your statement, "I
couldn't live without closures and without the fine control over scopes
that Pearl provides." I don't know what these things are to Pearl. If
you tell me wha
"Grigoris Tsolakidis" <[EMAIL PROTECTED]> writes:
> There is tool to generate UML from Python Code...
The best is human brain.
--
http://mail.python.org/mailman/listinfo/python-list
I'm a Perlhead (there, I said it). Years ago I made a genuine
attempt to learn Python, but my intense disappointed with the way
Python deals with scopes ultimately sapped my enthusiasm. I couldn't
live without closures and without the fine control over scopes that
Perl provides.
I've been wan
In article <[EMAIL PROTECTED]>,
Kay Schluehr <[EMAIL PROTECTED]> wrote:
>Sorry, Cameron, if I twist meanings.
>
>Thomas argues that Python programmers are more expensive than Java
>ones. But if one needs more Java programmers to fit into the project
>plan one needs probably more managenment/admistr
Well, I'm a total python n00b, but I was playing around with exception handling
yesterday, and was stricken by how incredibly easy it is to use the op system
to create nice scripts... I did the following:
import sys
lines = sys.stdin.readlines()
lines.sort()
for stuff in lines:
print stuff ,
George Sakkis wrote:
> During the last 18 months or so I have indulged in the joy of learning
> and using python for almost everything, but I may have to go back to
> C/C++ at work.
(snip)
> So, I wonder what have others who have gone the same path done and
> learned in similar situations. How one
Thanks Brian & Martin for the links.
I actually found another good one:
http://linuxgazette.net/107/pai.html
Cheers.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Imagine that you have a PyObject pointer 'object'
pointing to a Python integer ... let's say 42.
How would do you attach the variable "answer" to
it so that the code
PyRun_SimpleString("print answer");
works as expected ?
My current solution is:
__main__ = PyImport_ImportModule("__main__"
On Thu, 16 Jun 2005 16:20:23 -0400, Peter Hansen wrote:
> Maxwell Hammer wrote:
>> This is related to an earlier post 'Help with thread related
>> tracebacks'...for which I have had no feedback yet :-(
>
> If the question was well formulated, and it's been more than a couple of
> days, you shoul
Daniel Dittmar wrote:
> Rahul wrote:
> > Hi.
> > I am part of a group in my univ where we organize a programming
> > contest. In this contest we have a UDP based server. The server
> > simulates a game and each contestant is to develop a team of virtual
> > players. Each team is composed of 75 simi
> - Original Message -
> From: "Tom Anderson" <[EMAIL PROTECTED]>
>
> >
> > AIUI, you won't be stopping and restarting ipfw - the ipfw command just
> > modifies the ruleset being used by a continuously-running instance of
the
> > ipfw kernel module or daemon or whatever. How long it takes
On Fri, 2005-06-17 at 09:18 -0400, Peter Hansen wrote:
> rbt wrote:
> > The script is too long to post in its entirety. In short, I open the
> > files, do a binary read (in 1MB chunks for ease of memory usage) on them
> > before placing that read into a variable and that in turn into a list
> > tha
"Richard Lewis" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> On Thu, 16 Jun 2005 12:06:50 -0600, "John Roth"
> <[EMAIL PROTECTED]> said:
>> "Richard Lewis" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]
>> > Hi there,
>> >
>> > I'm having a problem with unicode f
Claudio Grondi:
>I am personally biased towards trying to understand
>anything as deep as possible and in the past was quite
>certain, that one can not achieve good results
>without a deep insight into the underlying details.
>I have now to admit, that I was just wrong. From my
>overall experience
During the last 18 months or so I have indulged in the joy of learning
and using python for almost everything, but I may have to go back to
C/C++ at work. Suddenly I found myself transliterating (or translating
at least) common python idioms and patterns, looking for libraries to
replace python's "
Hallöchen!
Peter Hansen <[EMAIL PROTECTED]> writes:
> [...]
>
> What's your use case for del?
Every instance represents a "session" to a measurement instrument.
After the instance is deleted, the session should be closed to free
resources.
If the program exists, this is actually not necessary,
On 6/17/05, Brian <[EMAIL PROTECTED]> wrote:
> Hi KV,
>
> Here's a site that provides an easy, beginners example of how to do
> threading. You might find this useful too... :-)
>
> http://www.codesampler.com/python.htm
> (Look for the "Spawning Threads" section.)
Thank you, but that doesn't a
rbt wrote:
> The script is too long to post in its entirety. In short, I open the
> files, do a binary read (in 1MB chunks for ease of memory usage) on them
> before placing that read into a variable and that in turn into a list
> that I then apply the following re to
>
> ss = re.compile(r'\b\d{3}
1 - 100 of 138 matches
Mail list logo