Pyparsing 1.3.3 contains mostly bugfixes and minor enhancements over
previous releases, including some improvement in Unicode support. Here
are the change notes:
Version 1.3.3 - September 12, 2005
--
- Improved support for Unicode strings that would be returned
Hi,
This is to announce the availability of the MayaVi Data Visualizer
version 1.5.
MayaVi is a free, easy to use, scientific data visualizer. It is
written in Python, uses the Visualization Toolkit (VTK) for the
graphics and provides a GUI written using Tkinter. MayaVi is
distributed under a
The next meeting of BayPIGgies will be Thurs, September 15 at 7:30pm at
Google, Bldg 40, room Temp Tech Talk. You need to go to the lobby of
Bldg 43 first to get a badge.
Ben Bangert will do SQLObject FormEncode, A Practical Introduction
- Using SQLObject to integrity check legacy databases
-
Erich Schreiber [EMAIL PROTECTED] wrote:
In the Python Library Reference the explanation of the time.sleep()
function reads amongst others:
The actual suspension time may be less than that requested because
any caught signal will terminate the sleep() following execution
of that
Frank Millman wrote:
Steven D'Aprano wrote:
On Mon, 12 Sep 2005 08:33:10 -0700, Frank Millman wrote:
My problem is that, if someone has access to the network and to a
Python interpreter, they can get hold of a copy of my program and use
it to knock up their own client program that makes a
Steve M wrote:
[...]
1. Based on your description, don't trust the client. Therefore,
security, whatever that amounts to, basically has to happen on the
server.
That's the right answer. Trying to enforce security within your
software running the client machine does not work. Forget the
Terry Reedy wrote:
Will McGugan [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
You may be right. I always use plural nouns for collections.
ditto
To me 'line' would suggest there was just one of them,
so I assumed it was string.
I did too.
i'm sorry ;) it was a list
Hi Timothy
i'm looking for ocr librarys with reasonably free licensing and the
ablity to use python with them. c library's that i can call from python
are acceptable.
This thread may give you an start:
http://groups.google.ch/group/comp.lang.python/browse_frm/thread/362ac64a3c3aece2/
It
Is there a similar function to sys.getwindowsversion() for Macs?
Many thanks!
--
http://mail.python.org/mailman/listinfo/python-list
Mark Dufour wrote:
In general it's considered quite pythonic to catch exceptions :-)
It's a particularly useful way of implementing duck typing for example.
I'm not sure if I've got *any* code that doesn't use exceptions
somewhere
Hehe. Okay. It will probably always be the case that you
Grant Edwards wrote:
On 2005-09-12, Jacek Pop?awski [EMAIL PROTECTED] wrote:
ready = select.select(tocheck, [], [], 0.25) ##continues after 0.25s
for file in ready[0]:
try:
text = os.read(file, 1024)
How do you know here, that you should read 1024
Only solution which works for now is to redirect stderr to stdout, and
read stdout on thread.
Code without thread or with read() or read(n) (when n1) can block.
Code with select() and read(1) works, but it is very slow.
--
http://mail.python.org/mailman/listinfo/python-list
rbt wrote:
Is there a similar function to sys.getwindowsversion() for Macs?
platform.mac_ver()
(And while we're at it: platform.win32_ver() might be prefered to
sys.getwindowsversion())
--
Robert Kern
[EMAIL PROTECTED]
In the fields of hell where the grass grows high
Are the graves of
Terry Hancock wrote:
On Monday 12 September 2005 10:09 pm, [EMAIL PROTECTED] wrote:
I like to keep my classes each in a separate file with the same name of
the class. The problem with that is that I end up with multiple imports
in the beginning of each file, like this:
from foo.Bar import
Vinay Sajip [EMAIL PROTECTED] writes:
OK, it's not right at the top of the docs, but the example at
http://docs.python.org/lib/minimal-example.html
has been there for a while, and if you think it can be made clearer,
please suggest how.
Maybe I'm missing something, but the code from the
[EMAIL PROTECTED] wrote:
I like to keep my classes each in a separate file with the same name of
the class.
Let me guess: you have a C++ or Java background ?-)
--
bruno desthuilliers
python -c print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in '[EMAIL PROTECTED]'.split('@')])
Rod W wrote:
I'm just starting out on Python but my primary goal is to provide
applications with some user interface (GUI).
Can someone point me to a good comparison of whether I should use
wxPython (with wxGlade I assume) or PyGTK (with Glade I assume)?
I'd prefer open source (not
Thomas Heller wrote:
OK, it's not right at the top of the docs, but the example at
http://docs.python.org/lib/minimal-example.html
has been there for a while, and if you think it can be made clearer,
please suggest how.
Maybe I'm missing something, but the code from the example doesn't
Dennis Lee Bieber wrote:
On 12 Sep 2005 08:33:10 -0700, Frank Millman [EMAIL PROTECTED]
declaimed the following in comp.lang.python:
My problem is that, if someone has access to the network and to a
Python interpreter, they can get hold of a copy of my program and use
it to knock up
I am hoping someone may be able to help.
I am using Python and TKinter to create a GUI program that will
eventually create an XML file for a project I am working on. Now, the XML
file contents changes depending on the type of file it represents - so I
am dynamically creating the TK Entry
Bugs wrote:
As a side question Frank, how was your experiences using wxPython for
your GUI?
Any regrets choosing wxPyton over another toolkit?
Was it very buggy?
How was it to work with in general?
Any other real-world wxPython feedback you have is appreciated.
Frank Millman wrote:
I am
Steve M wrote:
This is a heck of a can of worms. I've been thinking about these sorts
of things for awhile now. I can't write out a broad, well-structured
advice at the moment, but here are some things that come to mind.
[snip lots of interesting stuff]
Thanks for the reply, Steve. My
Andrew MacIntyre [EMAIL PROTECTED] writes:
On Fri, 09 Sep 2005 08:36:00 +0200, Thomas Heller [EMAIL PROTECTED]
wrote:
{...}
(I have released and announced this 3 weeks ago, but haven't got a
single feedback. So it seems the need to access custom interfaces is
very low.)
I have downloaded
Joakim Persson [EMAIL PROTECTED] writes:
On Fri, 09 Sep 2005 08:36:00 +0200, Thomas Heller [EMAIL PROTECTED]
wrote:
Sounds like a perfect job for comtypes, which is a COM library
implemented in pure Python, based on ctypes. comtypes should make it
easy to access custom (non-dispatch derived)
I'm trying to make a checked tree based on TreeCtrl. I've subclassed
the control such that checkmarks appear in the left hand side of the
treeitems. So far so good. The challenge appears when I programmaly
want to check the tree items since I don't know the hitem id which I
should send an update
I don't want to require the users to have python installed so I
don't think distutils would work here.
Recent versions of OS X include Python - there's a pretty good chance
that the users have Python already, so you could possibly use
distutils after all.
=Tony.Meyer
--
chris wrote:
This is my first attempt at undertaking a C extension module. I want
to wrap an existing C library so I can call the functions from Python.
There are only two functions I'm interested in calling. I did mess
with Pyrex a bit and Swig, to no avail, so I turned to doing it by
Hello. Where might I find python binaries for ARM7 (Linux 2.4)?
I don't have an ARM7 compiler, and I probably don't have enough disk
space (about 3MB of flash available) for the complete build anyway.
My plan is to just copy the files I need. This approach seems to work
on Windows XP, where I
Peter Otten [EMAIL PROTECTED] writes:
Thomas Heller wrote:
OK, it's not right at the top of the docs, but the example at
http://docs.python.org/lib/minimal-example.html
has been there for a while, and if you think it can be made clearer,
please suggest how.
Maybe I'm missing something,
Hello all,
My apologies to everyone who has tried Shed Skin under Windows or OSX,
and could not get it to run. I have to stress that it really is
experimental software, and certainly not ready for production use at
this point. However, that is not an excuse for a vague and/or too
difficult
On 13 Sep 2005 08:51:47 +0100, Ian Vincent [EMAIL PROTECTED] wrote:
I am hoping someone may be able to help.
I am using Python and TKinter to create a GUI program that will
eventually create an XML file for a project I am working on. Now, the XML
file contents changes depending on the type
Hehe. Okay. It will probably always be the case that you have to lose
some Python features if you want the code to run really fast. I
suppose PyPy's restricted Python subset doesn't support duck typing
either. Luckily not all code is performance critical, or you could
just try and optimize
(I do not use/program/own any McOS system, so I cannot
tell you anything about the Apple Platform).
WxPython _can_ give you a native Mac look and feel, if you are
willing to take into account certain issues (such as e.g. menu bars not
tied to windows, no MDI, no multi-pane etc.). It is afaik
Ian Vincent [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
I have looked at using a dictionary but I cannot get my head around
how to do that either.
I have tried this now but the Entry field just does not seem to work:
def add_variable(self, root, varname):
Label(root,
Ken Seehart enlightened us with:
Hello. Where might I find python binaries for ARM7 (Linux 2.4)?
Check http://www.vanille.de/projects/python.spy
If I absolutely have to build my own python, I would probably use a
cygwin (or maybe linux) cross-compiler for ARM7, but that seems like a
Mark Dufour wrote:
You're right, I don't feel safe about that. It's a bad example. I just
prefer error codes, because the code usually becomes cleaner (at least
to me). I would really like it if I could do something like this:
f = file(name)
if not f:
print 'error opening file %s:
Dnia Mon, 12 Sep 2005 16:51:48 +0200, Jaroslaw Zabiello napisał(a):
Another ZPT file try to fill one slot:
div metal:use-macro=context/base
div metal:fill-slot=goraSearch|Read|Compare|History/div
/div
When I try to open it, I get the error mentioned above. Any idea?
Solution was
You forgot to check for an error when:
o when you wrote f.error [attribute error might not exist e.g. f is
None]
o you called str(f.error) [might contain unicode characters that can't
be converted to a string using the default
On 13 Sep 2005 01:16:52 -0700, geire [EMAIL PROTECTED] wrote:
I'm trying to make a checked tree based on TreeCtrl.
[...]
Not directly an answer, but:
there exists already such a CheckTreeCtrl.
I have uploaded it at:
http://mitglied.lycos.de/drpython/CheckTreeCtrl.tar
HTH
I've subclassed
the
Mark Dufour wrote:
[Brian Quinlan wrote:]
You forgot to check for an error when:
o when you wrote f.error [attribute error might not exist e.g. f is
None]
o you called str(f.error) [might contain unicode characters that can't
be converted to
Jaroslaw Zabiello wrote:
Dnia Mon, 12 Sep 2005 16:51:48 +0200, Jaroslaw Zabiello napisał(a):
Another ZPT file try to fill one slot:
div metal:use-macro=context/base
div metal:fill-slot=goraSearch|Read|Compare|History/div
/div
When I try to open it, I get the error mentioned above. Any
Vinay Well, it seems a little too late now, for unittest, threading,
logging
Vinay and probably a few more.
Correct, as I indicated.
I realize I'm playing the devil's advocate here Still, a dual
naming scheme with the non-PEP-8 names deprecated should be possible.
Mark Dufour wrote:
You forgot to check for an error when:
o when you wrote f.error [attribute error might not exist e.g. f is
None]
o you called str(f.error) [might contain unicode characters that can't
be converted to a string using the
Laszlo, I can't reply your mails, your address doesn't work, please try
jacekpoplawski-at-gmail.com
--
http://mail.python.org/mailman/listinfo/python-list
I would like to lauch macro from another zpt file. It is easy, of course,
but the problem is I would like the macro could has access to title_or_id
attribute of its caller. I read API, tried template/id, context/id and
container/id but without results.
span tal:content=template/id/ displays only
Jacek Popławski wrote:
Grant Edwards wrote:
On 2005-09-12, Jacek Pop?awski [EMAIL PROTECTED] wrote:
ready = select.select(tocheck, [], [], 0.25) ##continues
after 0.25s
for file in ready[0]:
try:
text = os.read(file, 1024)
How do you know here,
Sybren Stuvel wrote:
Ken Seehart enlightened us with:
Hello. Where might I find python binaries for ARM7 (Linux 2.4)?
Check http://www.vanille.de/projects/python.spy
If I absolutely have to build my own python, I would probably use a
cygwin (or maybe linux) cross-compiler for ARM7,
Hello,
I catch SIGINT signals with a handler.
In the handler, I use fd's to write some data to a child process.
Is this valid?
Because the data never arrives, and I wonder what I'm doing wrong.
Can filedescriptors still be used when you're in the signal
handling of SIGINT?
Thanks,
Bram
--
Fits perfectly to my needs! Thanks. :-)
Geir Arne
--
http://mail.python.org/mailman/listinfo/python-list
Pyparsing 1.3.3 contains mostly bugfixes and minor enhancements over
previous releases, including some improvement in Unicode support. Here
are the change notes:
Version 1.3.3 - September 12, 2005
--
- Improved support for Unicode strings that would be returned
If you're talking about a Python function registered as a handler by
signal.signal, then there should not be any restrictions on what you do
in that function.
Here's a small program I wrote:
#
import os, signal, time
def
Why did round() change in Python 2.4?
$ python2.3
Python 2.3.5 (#2, Jun 19 2005, 13:28:00)
[GCC 3.3.6 (Debian 1:3.3.6-6)] on linux2
round(0.0225, 3)
0.023
%.3f % round(0.0225, 3)
'0.023'
$ python2.4
Python 2.4.1 (#2, Jul 12 2005, 09:22:25)
[GCC 4.0.1 (Debian 4.0.1-1)] on linux2
round(0.0225,
Nils Grimsmo wrote:
Why did round() change in Python 2.4?
It the usual floating point representation problem. 0.0225 cannot be
represented exactly:
xpc20:~ python
Python 2.3.4 (#1, Mar 14 2005, 16:47:22)
[GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)] on linux2
Type help, copyright, credits or
Ken Seehart enlightened us with:
1. How do I know whether to use sharprom or modern?
If it works, use it.
2. What do I do with ipk files? I surfed around and found that in
one example, the command is ipkg install foo.ipk, but ipkg doesn't
seem to exist on my hardware.
ipkg doesn't have
[EMAIL PROTECTED] wrote:
If you're talking about a Python function registered as a handler by
signal.signal, then there should not be any restrictions on what you do
in that function.
Here's a small program I wrote:
#
Beside this, wxPython (and wxWidgets) is often told to be more complete,
better documented and better supported than GTK/PyGTK.
Is wxPython often told to be more documented? By who?
Several months ago I wanted to choose a nice GUI for Python (Tkinter
was out of question). I choosed PyGTK for
Ken Seehart [EMAIL PROTECTED] wrote:
2. What do I do with ipk files? I surfed around and found that in one
example, the command is ipkg install foo.ipk, but ipkg doesn't seem to
exist on my hardware.
ipk files are basically in two flavours, one of them is a plain tar.gz
file, use tar xvzj
On 2005-09-13, Jacek Pop³awski [EMAIL PROTECTED] wrote:
ready = select.select(tocheck, [], [], 0.25) ##continues after 0.25s
for file in ready[0]:
try:
text = os.read(file, 1024)
How do you know here, that you should read 1024 characters?
What will
In my website, the user connect in HTTPS whith a client certificate.
I would like to get the email in the certificate.
I'm trying to get the client certificate presented to the server.
--
http://mail.python.org/mailman/listinfo/python-list
Grant Edwards wrote:
You're right. I must have been remembering the behavior of a
network socket. Apparently, you're supposed to read a single
byte and then call select() again. That seems pretty lame.
I created another thread with single read(), it works, as long as I have
only one PIPE
Hi Dennis, unfortunately I can only use SER class and not 'serial'
class.
This because my emebedded phyton version don't show any import
possibility to this class. It run on the Trizium modem.
Serial I attached above, was coming from the 'simulator' code installed
on my PC.
How I can simulate your
Genius!
Thanks guys that was exactly the help I was looking for. I'll be
implementing this later today. I don't forsee any problems, so if I
don't post anything else, thank you so much for the help.
--
http://mail.python.org/mailman/listinfo/python-list
On 2005-09-13, Jacek Pop?awski [EMAIL PROTECTED] wrote:
Grant Edwards wrote:
You're right. I must have been remembering the behavior of a
network socket. Apparently, you're supposed to read a single
byte and then call select() again. That seems pretty lame.
I created another thread with
How can I safely append a crontab entry to a crontab file
progammatically with Python?
I need to handle crontabs that currently have entries and crontabs that
are empty. Also, I'd like this to work across Linux and BSD systems.
Any pointers?
--
Jeremy Sanders wrote:
Nils Grimsmo wrote:
Why did round() change in Python 2.4?
It the usual floating point representation problem. 0.0225 cannot be
represented exactly:
That's not what he's asking about. He's asking why his Python 2.3 rounds
0.0225 *up* to 0.023 while his Python 2.4
How could I simplify the code to get libs out of LDFLAGS
or vice versa automatically in the following python/scons code?
if sys.platform[:5] == 'linux':
env.Append (CPPFLAGS = '-D__LINUX')
env.Append (LDFLAGS = '-lglut -lGLU -lGL -lm')
env.Append(CPPPATH=['include',
John wrote:
How could I simplify the code to get libs out of LDFLAGS
or vice versa automatically in the following python/scons code?
if sys.platform[:5] == 'linux':
env.Append (CPPFLAGS = '-D__LINUX')
env.Append (LDFLAGS = '-lglut -lGLU -lGL -lm')
On 9/13/05, Rod W [EMAIL PROTECTED] wrote:
I'm just starting out on Python but my primary goal is to provide
applications with some user interface (GUI).
Can someone point me to a good comparison of whether I should use
wxPython (with wxGlade I assume) or PyGTK (with Glade I assume)?
I'd
John a écrit :
How could I simplify the code to get libs out of LDFLAGS
or vice versa automatically in the following python/scons code?
if sys.platform[:5] == 'linux':
env.Append (CPPFLAGS = '-D__LINUX')
env.Append (LDFLAGS = '-lglut -lGLU -lGL -lm')
That's an interesting idea, Tony. My program uses things like
wxPython, PythonCard, etc, so would distutils know to package that
stuff? Do you know what distutils commands I would use? If
not, I'll look it up later today.
Thanks,
Greg
Recent versions of OS X include Python - there's a pretty
Jaroslaw Zabiello wrote:
I would like to lauch macro from another zpt file.
(snip - tech answer in private)
Please stop posting Zope and ZPT related questions here. There are
mailing-lists dedicated to Zope. That's where you'll get the good answers.
--
bruno desthuilliers
ruby -e print
Peter Decker a écrit :
On 9/13/05, Rod W [EMAIL PROTECTED] wrote:
I'm just starting out on Python but my primary goal is to provide
applications with some user interface (GUI).
Can someone point me to a good comparison of whether I should use
wxPython (with wxGlade I assume) or PyGTK (with
Rob Conner wrote:
Genius!
Nope. Just common Python idioms...
Thanks guys that was exactly the help I was looking for. I'll be
implementing this later today. I don't forsee any problems, so if I
don't post anything else, thank you so much for the help.
You're welcome.
--
bruno
Nils Grimsmo [EMAIL PROTECTED] wrote:
Why did round() change in Python 2.4?
$ python2.3
Python 2.3.5 (#2, Jun 19 2005, 13:28:00)
[GCC 3.3.6 (Debian 1:3.3.6-6)] on linux2
round(0.0225, 3)
0.023
%.3f % round(0.0225, 3)
'0.023'
$ python2.4
Python 2.4.1 (#2, Jul 12 2005, 09:22:25)
[GCC 4.0.1
On 2005-09-13, Peter Decker [EMAIL PROTECTED] wrote:
[regarding wxGTK vs wxPython]
I looked at both, and preferred wxPython's look. I hated its
C-like feeling, with some very un-Pythonic code that failed to
hide its C roots very well, but I used it because the results
were so good.
Since
[EMAIL PROTECTED] wrote:
Vinay Well, it seems a little too late now, for unittest, threading,
logging
Vinay and probably a few more.
Correct, as I indicated.
...
Vinay What would you suggest for threading, unittest etc. in terms of
Vinay binding more unix_like_names and
Gregory Piñero wrote:
That's an interesting idea, Tony. My program uses things like wxPython,
PythonCard, etc, so would distutils know to package that stuff? Do you
know what distutils commands I would use? If not, I'll look it up later
today.
Sure. bdist_mpkg, which is provided with
I am trying to use Win Python to ftp files from an AS/400 IFS directory
down to my Windows machine.
I seem to get stuck when I am trying to send a command to the AS/400 to
switch file systems from native to IFS and then to issue a cd to my
folder. I get the error below.
If anyone has had
http://www.paysatwarning.com
--
http://mail.python.org/mailman/listinfo/python-list
bruno modulix wrote:
Let me guess: you have a C++ or Java background ?
You're right, I come from Java :). I'm still learning the Pythonic
approach. Thank you guys
Chapolim
--
http://mail.python.org/mailman/listinfo/python-list
I'm writing a program in python to sort the mail in standard Unix
email boxes. In my prof of concept example I am coping a letter to a
second mailbox if the letter was send from a particular email
address. When I read the destination mailbox with cat, I can see that
something is getting copied to
Paul McGuire wrote:
I still don't know the BNF you are working from
Just to satisfy any curiosity you might have, it's the Penn TreeBank
format: http://www.cis.upenn.edu/~treebank/
(Except that the actual Penn Treebank data unfortunately differs from
the format spec in a few ways.)
1. I'm
I am trying to execute a win python script that connects to an AS/400;
changes from the native lib to the IFS file system; then, changes to a
directory in IFS; gets a file.
Any help would be greatly appreciated.
I cannot get the script to switch from native to IFS. I get the
following error:
Hi Tim,
On Tuesday 13 September 2005 17:31, Tim G. wrote:
I cannot get the script to switch from native to IFS.
Yes you can...
Traceback (most recent call last):
File C:\Python24\Tools\scripts\ftp400.py, line 9, in ?
ftp.cwd(path)
It's the cwd which is having a problem
here is the
Thanks Frank, I appreciate the feedback.
--
http://mail.python.org/mailman/listinfo/python-list
A certain DAV server reports a time stamp as Tues, 30 Aug 2005 20:48:31
( but not Tue, ... as usual)
This produces the error below.
time.strptime(Tue, 30 Aug 2005 20:48:31,%a, %d %b %Y %H:%M:%S)
(2005, 8, 30, 20, 48, 31, 1, 242, -1)
time.strptime(Tues, 30 Aug 2005 20:48:31,%a, %d %b %Y
Frank Millman wrote:
Hi all
I am writing a multi-user accounting/business system.
Good!
The client program contains all the authentication and business logic.
Not good. You lose...if it's *only* in the client.
Of course, there is no such thing as a safe system, and you need
a pragmatic
Ernesto wrote:
Thanks! How do you add Python in Linux to the path?
This works out of the box in most modern Linux distributions.
If you're open to suggestions, I'd suggest that you have a
look at Ubuntu. It's a user friendly Linux distribution with
rather close ties to the Python community.
I've used DOS FTP to hit AS/400 systems before and usually have to completely
qualify the file name or ensure that I'm in the correct directory. When you use
command-line FTP to get the file, do these commands mimic your commands?
What version of python are you using?
If you issue PWD on the
I'm confused, I want to read/write XML files but I don't really understand
what library to use.
I've used DOM-based libraries in other languages, is PyXML the library to
use?
--
http://mail.python.org/mailman/listinfo/python-list
THANKS !!!
--
http://mail.python.org/mailman/listinfo/python-list
Terry Hancock [EMAIL PROTECTED] wrote:
On Monday 12 September 2005 10:09 pm, [EMAIL PROTECTED] wrote:
I like to keep my classes each in a separate file with the same name of
the class. The problem with that is that I end up with multiple imports
in the beginning of each file, like this:
Does anyone know of a way to make the wxPython StyledTextCtrl expand
tabs into spaces? (yes, I'm trying to use it to edit Python code :P)
--
http://mail.python.org/mailman/listinfo/python-list
gabor [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
i'm sorry ;) it was a list of strings...
the code was something like:
for line in open('x.y'):
line = line.split('\t')
a better naming would be better it seems :)
Like 'fields', for a list of fields ;-?
Or your question
Robert wrote:
A certain DAV server reports a time stamp as Tues, 30 Aug 2005 20:48:31
( but not Tue, ... as usual)
I also don't see how to alter the pattern for strptime to be tolerante for
more long weekday strings?
Any ideas?
why bother parsing the day name at all? (just split the
I would have to say that never having done any OO programming before in
my life, I found _Learning_Python_ by Lutz Ascher had a great couple
of chapters on it. The diagrams about inheritance and subclassing
really helped a lot and they describe the purpose of using OOP quite
well. I see you
On Mon, 12 Sep 2005 20:09:31 -0700, chapolim-colorado wrote:
I like to keep my classes each in a separate file with the same name of
the class. The problem with that is that I end up with multiple imports
in the beginning of each file, like this:
from foo.Bar import Bar
from foo.Blah
Fredrik Lundh wrote:
os.link(tempfile, lockfile) # atomic!
Fredrik, thanks for replying - I monitored python-list but didn't see
anything. Gotta get a proper Usenet feed...
Are you sure os.link() will be atomic over NFS?
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for the reply; I somehow missed this entire thread in
python-list. I'm going to give it a whirl, after digging a bit into
the status quo of Linux' NFSv3 implementation.
--
http://mail.python.org/mailman/listinfo/python-list
On Tuesday 13 September 2005 12:46 pm, George Sakkis wrote:
Terry Hancock [EMAIL PROTECTED] wrote:
On Monday 12 September 2005 10:09 pm, [EMAIL PROTECTED] wrote:
I like to keep my classes each in a separate file with the same name of
the class.
Apparently foo is already a package
1 - 100 of 165 matches
Mail list logo