> Original Message
> From: Oleg Broytmann <[EMAIL PROTECTED]>
>
>http://www.egenix.com/files/python/mxCGIPython.html
>
> > doesn't involve downloading & unpacking a file.
>
>It is unpackable, ready-to-run python binary.
>
> PS. I am neither author nor maintain
On Mon, Feb 14, 2005 at 08:06:03AM -0800, EP wrote:
> I'm unschooled in non-Windows binaries. Does this mean it may be
> possible to download this package onto a (for example) SunOS system,
> unpack and have Python up and running? That would be sweet...
Almost. You also need *.py from the sta
"EP" <[EMAIL PROTECTED]> wrote:
>http://www.egenix.com/files/python/mxCGIPython.html
> I'm unschooled in non-Windows binaries. Does this mean it may be possible
> to download this package onto a (for example) SunOS system, unpack and
> have Python up and running?
yes.
(that's the whole poi
I've been having some problems with gyach, when trying to open the
PyVoice chat portion of it.
Following error is received
***
/usr/local/share/gyach/pyvoice/pytsp.py:2: RuntimeWarning: Python C API
version mismatch for m
> Now, it's rather common to accuse people of trolling these days.
> The fact that Markus Wankus said that Ilias is a troll does not mean
> that everybody should reply to him in that tone.
> This is a one .vs many battle and it sucks.
Just because someone says somebody else is a troll surely is no
Wow! I must say, I'm less than impressed with the responses so far. I
know Ilias can give the impression that he is just trolling, but I can
assure you he is not. At least, not in this case. ;-)
So in an effort to make some headway, I'm going to try to summarize the
current state of affairs.
Hi, I'm using nested lists as arrays and having some problems with
that approach. In my puzzle class there is a swapelement method which
doesn't work out. Any help and comments on the code will be
appreciated. Thanks.
# Puzzle.py
# class for a sliding block puzzle
# an starting state of a 8-puzzl
"Eric Brunel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Sun, 13 Feb 2005 15:31:18 -0700, Bob Greschke <[EMAIL PROTECTED]>
> wrote:
> [snip]
>> Root.option_add("*Radiobutton*selectColor", "black")
>>
>> also works fine for regular radiobuttons. What I can't
>> do is get the
On 2005-02-14, Christopher Culver <[EMAIL PROTECTED]> wrote:
> I am offering for sale a copy of O'Reilly's _Python Pocket Reference_.
> It is the second edition, covering Python 2. It is in fine condition,
> with no broken spine or dog-earned pages. One might even believe it
> just came out of the
"Pat" wrote:
> The bottom line is that compiling C extension modules on the
> Windows platform for Python 2.4 is, today, a royal pain in the
> ass.
really?
> python setup.py install
works for me.
--
http://mail.python.org/mailman/listinfo/python-list
Jeremy Sanders wrote:
It occurs to me that webbrowser could be more intelligent on Linux/Unix
systems. Both Gnome and KDE have default web browsers, so one could use
their settings to choose the appropriate browser.
I haven't been able to find a freedesktop common standard for web browser,
however
Hi,
is this a bug or "feature" that I have to use float() to make int() autoconvert
from it?
$ python
Python 2.3.4 (#1, Feb 14 2005, 10:00:27)
[GCC 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
a = 1
"%5.
Diez B. Roggisch wrote:
> [EMAIL PROTECTED] wrote:
>
> > Hi,
> >
> > why can't I do this:
> >
> > dummy = self.elements[toy][tox]
> >
> > self.elements[toy][tox] = self.elements[fromy][fromx]
> > self.elements[fromy][fromx] = dummy
> >
> > after initialising my nested list
"naturalborncyborg" <[EMAIL PROTECTED]> wrote:
> Hi, I'm using nested lists as arrays and having some problems with
> that approach. In my puzzle class there is a swapelement method which
> doesn't work out.
what happens, and what do you expect?
> Any help and comments on the code will be apprec
Guy Machlev wrote:
> I have a problem with the socket recv() function while using it on
> win-2000, the problem accrue while receiving data from socket in a
> constant format (e.g. 1Byte then 4Bytes and then number of bytes
> according to the previous 4Bytes number), this receiving action "fail"
>
naturalborncyborg wrote:
Hi, I'm using nested lists as arrays and having some problems with
that approach. In my puzzle class there is a swapelement method which
doesn't work out.
What "doesn't work out"? On casual inspection that method seems to "work":
>>> p = Puzzle(2)
>>> p.elements[0][0] =
I am a total newbie learning the very basics
I would like to excute a script and upon completion, how can I just a python
prompt with the functions and variables already defined.
I know you can do this in the window gui(IDLE). I was wondering if this can
be done in POSIX systems as well.
--
htt
Fredrik Lundh wrote:
"jfj" <[EMAIL PROTECTED]> wrote:
Wait! second that. We would like to
hmm. are you seconding yourself, and refering to you and yourself as we?
:)
"we" refers to all python users.
no. your foo() function raises B, and is called from the exception
handler in b1. exception han
Martin MOKREJ© wrote:
> is this a bug or "feature" that I have to use float() to make int()
> autoconvert
> from it?
it's by design, of course. "1.00e+00" is not an integer.
if you want to treat a floating point literal as an integer, you have to
use an explicit conversion.
--
On 2005-02-14, Martin MOKREJ© <[EMAIL PROTECTED]> wrote:
> is this a bug or "feature" that I have to use float() to make int()
> autoconvert
> from it?
It's a feature. Integers don't have decimal points...
--
Grant Edwards grante Yow! I just had a NOSE
Thanks for the code.
What I want to do is this:
I want to solve the block puzzle problem. The problem is as follows:
You have a nxn Array of Numbers and one empty space. Now you there are
up to four possible moves: up, right, down and left, so that each
neighbour of the empty slot can be moved the
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
'Having trouble' is too vague to figure out. However, I would delete this:
>def getEmptySlot(self):
>i = 0
>j = 0
>while i <= self.dim-1:
>while j <= self.dim-1:
>if self.eleme
Amit Dhingra wrote:
> I would like to excute a script and upon completion, how can I just a python
> prompt with the functions and variables already defined.
>
> I know you can do this in the window gui(IDLE). I was wondering if this can
> be done in POSIX systems as well.
does "python -i" do wha
In article <[EMAIL PROTECTED]>,
Dave Brueck <[EMAIL PROTECTED]> wrote:
> Donn Cave wrote:
[... re stackless inside-out event loop ]
> > I put that together with real OS threads once, where the I/O loop was a
> > message queue instead of select. A message queueing multi-threaded
> > architecture c
"Diez B. Roggisch" <[EMAIL PROTECTED]> wrote in message >
>And use xrange instead of range.
For small dimensions like 3,4,5, xrange is way overkill and perhaps takes
both more space and time. Since dim is a constant for a given puzzle, I
would set self._range = range(dim) in __init__() and us
I'd like to write a Python-based commandline tool that will scan pages with
SANE, applying CCITT Group 4 compression during scanning, and produce a
single PDF file. I would release it under GPL. Right now, I'm relying on a
workable but inflexible shell script that pipes stuff between scanimage,
tif
Kamilche wrote:
> To avoid pathname headaches, I've taken to including the following 3
> lines at the top of every script that will be double-clicked:
>
> import os, sys
> pathname, scriptname = os.path.split(sys.argv[0])
> pathname = os.path.abspath(pathname)
> os.chdir(pathname)
Putting the sys
hi jean :)
thanks for your help :)
i'll try it :)
i missed your message... did a search in google and found your reply :)
thanks a lot :)
best regards,
James
--
http://mail.python.org/mailman/listinfo/python-list
Ed Suominen <[EMAIL PROTECTED]> writes:
> What's the best way currently to do CCITT4 compression (e.g., of
> intermediate TIFF-format images) from Python? PIL doesn't seem to support
> CCITT4 compression, and the read-only patch [1] that's available won't help
> in my case. I'd like to incorporate
"Martin MOKREJ©" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
int(somestring) without a radix argument requires that somestring be an
decimal integer literal and nothing more and nothing else.
>>> int('1')
1
>>> int('1.0')
Traceback (most recent call last):
File "", line 1, in
Terry Reedy wrote:
> int(somestring) without a radix argument requires that somestring be an
> decimal integer literal
> and nothing more and nothing else.
but specifying a radix won't help you, though:
>>> int("1.0", 10)
Traceback (most recent call last):
File "", line 1, in ?
ValueError: i
Hello,
John Fabiani wrote:
> Are there others using Python to connect MsSQL? At the moment I'd
> accept even a windows solution - although, I'm looking for a Linux
> solution.
You'll need to get one out of each category:
1) ODBC manager: unixOdbc or iOdbc
2) Python ODBC wrapper: mxOdbc (www.e
Thanx Fredrik, that works and thats what I wanted.
Amit
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Amit Dhingra wrote:
>
> > I would like to excute a script and upon completion, how can I just a
python
> > prompt with the functions and variables already defined.
In article <[EMAIL PROTECTED]>,
Tonino <[EMAIL PROTECTED]> wrote:
>HI,
>
>I have a 2 phase question:
>
>Phase 1 is I am needing to automate a report generation from a
>proprietary product. Currently a person sits and input's the data into
>a GUI frontend and clicks's the appropriate buttons to sta
In article <[EMAIL PROTECTED]>,
Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
>> One of the most funny things within open-source is that switching:
>>
>> first:
>> "we have powerfull solutions which beat this and that"
>>
>> then:
>> "hey, this is just volunteer work"
>>
>
>I don't see the contrad
So what if someone appears to be a troll? Suck it up and rise above
it. This thread started with legitimate questions. Unfortunately,
almost every response has been dismissive, petty, and a complete waste
of time and effort. Please respond to the issue or simply ignore it.
The issue is real and
Allright. What difference in runtime and space would it make using
dictionaries instead?
Do you have a pointer for me concerning runtime of standard
manipulations in Pythons?
Thanks for tip.
--
http://mail.python.org/mailman/listinfo/python-list
Allright. What difference in runtime and space would it make using
dictionaries instead?
Do you have a pointer for me concerning runtime of standard
manipulations in Pythons?
Thanks for the tip.
--
http://mail.python.org/mailman/listinfo/python-list
Hi everyone,
I was curious to know: does the functionality of webbrowser._iscommand()
live anywhere else in the Standard Library?
webbrowser._iscommand() is a helper function that searches through
PATH, and seems useful enough that I was surprised that it didn't live
in a more public place like
I thought I was being as clear and specific as I needed to be.
Apparently not. I'm talking about compiling the original source code,
per the recommendations made by Mike Fletcher and documented here:
Python 2.4 Extensions w/ the MS Toolkit Compiler
http://www.vrplumber.com/programming/mstoolkit/
#The following Python code:
class X:
def __cmp__(self, y):
print "cmp", self, y
return cmp(self, y)
x = X()
print x < 10
# gives interesting results under different Python version.
The most common sense in the result in Python 2.4: recursion
limit reached.
Python 2.3 tries 20+ times and t
Nick Coghlan <[EMAIL PROTECTED]> wrote:
>
> a) Patches are more likely to be looked at if placed on the SF patch tracker.
>
> b) I don't quite see the point, given how easy these are to spell using the
> basic safe_substitute. You're replacing one liners with one-liners.
c) add a documentati
Pat wrote:
Wow! I must say, I'm less than impressed with the responses so far. I
know Ilias can give the impression that he is just trolling, but I can
assure you he is not. At least, not in this case. ;-)
So in an effort to make some headway, I'm going to try to summarize the
current state of
In message <[EMAIL PROTECTED]>, Pat
<[EMAIL PROTECTED]> writes
Wow! I must say, I'm less than impressed with the responses so far. I
know Ilias can give the impression that he is just trolling, but I can
assure you he is not. At least, not in this case. ;-)
He deserves what he gets. He appears
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Does Python provide some sort of mechanism for answering the question:
> what method am I in?
I believe that Python, the language defined in the Ref Manual, does not.
The CPython implementation adds enough introspection into its work
[EMAIL PROTECTED] wrote:
> Allright. What difference in runtime and space would it make using
> dictionaries instead?
is this for an interactive game? if so, the answer is "none at all".
(on my machine, you can make about 600 dict[x,y] accesses per
second, compared to 750 list[x][y] acc
Stefan Behnel wrote:
Hi!
This somewhat puzzles me:
Python 2.4 (#1, Feb 3 2005, 16:47:05)
[GCC 3.3.4 (pre 3.3.5 20040809)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
.>>> class test(object):
... def __init__(self):
... self.__call__ = self.__call1
... d
In message <[EMAIL PROTECTED]>, Stephen Kellett
<[EMAIL PROTECTED]> writes
Studio Express (downloadable from the Microsoft's website). This DLL is
(to my understanding) part of Visual Studio 7.1 and Visual Studio
Express.
My mistake. Visual Studio Express is going to be part of Version 8
(2005)
In message <[EMAIL PROTECTED]>, Pat
<[EMAIL PROTECTED]> writes
now it feels like I'm in the company of a bunch of hell-bent school
bullies.
From my experience of bully behaviour that isn't what is happening here.
Bullying usually involves abusive behaviour and language and isn't much
to do with
Actually, no. We ran into some issues with Python 2.4 that caused us
to return to Python 2.3.5. But I would really like to upgrade to
Python 2.4. So I started researching the subject before I did
anything.
If you are telling me that minGW can compile extensions that are
compatible with the Pyth
Grant Edwards wrote:
On 2005-02-14, Ilias Lazaridis <[EMAIL PROTECTED]> wrote:
Fredrik Lundh wrote:
Ilias Lazaridis wrote
The idea that the Python Foundation cares about user needs would affect that.
please let the users speak for themselves.
I have.
I've review several threads,publications, action
Roman Suzi wrote:
> #The following Python code:
>
> /.../
>
> # gives interesting results under different Python version.
> The most common sense in the result in Python 2.4: recursion
> limit reached.
>
> Python 2.3 tries 20+ times and then give up.
>
> Python1.5 gives segmentation fault...
is t
Stephen,
I appreciate your responses. Maybe "school bullies" was an
exaggeration on my part. At the same time, I'm not sure it is good for
the Python community to expect everyone to roll up their sleeves and
hack at something to make it work. (And I don't mean to imply that you
hold that opinio
jfj a écrit :
bruno modulix wrote:
Ilias Lazaridis wrote:
I'm a newcomer to python:
[EVALUATION] - E01: The Java Failure - May Python Helps?
http://groups-beta.google.com/group/comp.lang.python/msg/75f0c5c35374f553
My trollometer's beeping...
When person 'A' calls person 'B' a troll, these are t
In message <[EMAIL PROTECTED]>, Pat
<[EMAIL PROTECTED]> writes
Actually, no. We ran into some issues with Python 2.4 that caused us
to return to Python 2.3.5. But I would really like to upgrade to
Python 2.4. So I started researching the subject before I did
anything.
Pat, could you include som
Stephen Kellett a écrit :
In message <[EMAIL PROTECTED]>, Simon
Brunning <[EMAIL PROTECTED]> writes
On Mon, 14 Feb 2005 14:12:57 +0100, bruno modulix <[EMAIL PROTECTED]> wrote:
Why do you hate Perl and Ruby community that much ?
Oh, I don't. But fair's fair - we've carried our share of the burden,
"Pat"wrote:
> I thought I was being as clear and specific as I needed to be.
> Apparently not. I'm talking about compiling the original source code
the python source or the extension source?
> The bottom line is that compiling C extension modules
would indicate the latter. setup.py handle
>>users. I can't expect them to purchase a .NET compiler or go through
a
>See above.
That answers the cost question (assuming that your interpretation of
the licensing is correct, since I'm not a lawyer nor qualified to
render much of an opinion on that). But there is still the issue of
going t
Stephen Kellet said:
Pat, could you include some context in your replies? I have no idea if
you are replying to my comments about Visual Studio Express or someone
else? The only text I see in your replies is what you write, no text
from the posting you are replying to. As it is I've ignored all y
In message <[EMAIL PROTECTED]>, Pat
<[EMAIL PROTECTED]> writes
That answers the cost question (assuming that your interpretation of
the licensing is correct, since I'm not a lawyer nor qualified to
render much of an opinion on that). But there is still the issue of
going through a bunch of config
Is it true that a datetime object can convert itself into a
string, but not the other way around? IOW, there's no simple
way to take the output from str(d) and turn it back into d?
So, I tried to create a class that knows how to do that, but I
don't seem to be able to subclass datetime.datetime:
Are there any ways to use Python (rather than JavaScript) for controlling
DHTML? I don't mind writing
JavaScript stubs which can be called by Python, so long as I need to do so only
once for a particular
feature. I'm running Mac OS X 10.3, so comments as to the best browser for
testing this woul
Fredrik Lundh wrote:
> "Pat"wrote:
>
> > I thought I was being as clear and specific as I needed to be.
> > Apparently not. I'm talking about compiling the original source
code
>
> the python source or the extension source?
>
> > The bottom line is that compiling C extension modules
>
> would
In message <[EMAIL PROTECTED]>, Pat
<[EMAIL PROTECTED]> writes
if I have both versions of Python installed - 2.3.5 and 2.4? Is there
an easy way to detect this and switch between the two dlls?
Easy? Depends what you call easy.
a) You just need to detect if pythonNN.dll is implicitly linked to
ms
Grant Edwards wrote:
Is it true that a datetime object can convert itself into a
string, but not the other way around? IOW, there's no simple
way to take the output from str(d) and turn it back into d?
I assume this is true because there is not one standard format for a
date-time string. But I d
Stephen Kellett wrote:
> In message <[EMAIL PROTECTED]>,
Pat
> <[EMAIL PROTECTED]> writes
> >That answers the cost question (assuming that your interpretation of
> >the licensing is correct, since I'm not a lawyer nor qualified to
> >render much of an opinion on that). But there is still the issue
Le Sun, 13 Feb 2005 13:19:03 -0500, Hans Nowak a écrit :
> Stefan Behnel wrote:
>> Hi!
>>
>> This somewhat puzzles me:
>>
>> Python 2.4 (#1, Feb 3 2005, 16:47:05)
>> [GCC 3.3.4 (pre 3.3.5 20040809)] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>>
>> .>>> c
Pat wrote:
> There have been extensive discussions about these issues on the
> Python-Dev mailing list over the past couple of months (mostly in
> December, but continuing to the present - see
> http://mail.python.org/pipermail/python-dev/2004-December/thread.html
> as a starting point), which seem
Grumman <[EMAIL PROTECTED]> writes:
> If running on a Mac really is a goal, ditch Access, its windows
> only. You'd want to look into MySQL, PostgreSQl or some such for
> inter-platform use.
Depending on how large the dataset is likely to get, SQLite may be
a good choice for the data-handling bac
Neil Benn wrote:
Scott David Daniels wrote:
Kind of fun exercise (no good for British English).
what's American about it? If anything, it's more French than American ;-)
Well, actually this started with scaling integers, and I was worried
about a billion / billionth (and up / down). In mid-task I
"Pat" wrote:
> Okay, I think we are pretty much talking about the same thing. My
> problem is not that I'm unable or unwilling to purchase a good
> compiler. My problem is that I don't want to make it a requirement of
> my users. The twist is that my users will be working out of a
> Subversion
Hi,
one of my colleagues got some trouble with a program handling large
amounts of data. I figured out that a 32 bit application on HP-UX
cannot address more than 1 GB of memory. In fact (I think due to the
overhead of memory management done by python) a python application
cannot use much more th
"Pat" wrote:
> If you are telling me that minGW can compile extensions that are
> compatible with the Python 2.4 that uses msvcr71.dll, then that is good
> news indeed. Is there anything that needs to be configured or patched
> to make this happen? And how does minGW know which dll to link? Wha
"Pat" wrote:
> Having to tell users that they need to download, install, and configure
> all this additional compiler stuff is asking too much from my potential
> user base, since I'm also targeting novices and developers from other
> languages for whom C compiler stuff is going to be a barrier to
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> > Pickle and marshal are not safe. They can do harmful things if fed
> > maliciously constructed data. That is a pity, because marshal is fast.
>
> I think marshal could be fixed; the only unsafety I'm aware of is that
> it doesn't always act rati
Hi,
the following code (just taken on the example) blocks on recv unless I
uncomment the 'send' function. I tested it with stunnel. Select seems to
tell that there is something to read whereas there is nothing. Moreover
why does it block since I am in non blocking mode ?
-
from OpenSSL impo
Le dimanche 13 FÃvrier 2005 23:58, Terry Reedy a ÃcritÂ:
> Iterators are a subgroup of iterables. ÂBeing able to say iter(it) without
> having to worry about whether 'it' is just an iterable or already an
> iterator is one of the nice features of the new iteration design.
>
> Terry J. Reedy
Hi,
I
Stephen Kellett wrote:
>>if I have both versions of Python installed - 2.3.5 and 2.4? Is there
>>an easy way to detect this and switch between the two dlls?
>
> Easy? Depends what you call easy.
in the context of "building a C extension when you have multiple versions
installed", the answer is "
>> In addition, there are some unresolved licensing questions
>> concerning the .NET runtime file for extensions (msvcr71.dll):
[...]
> msvcr71.dll is a redistributable for applications written using their
> compiler. You can redistribute that.
If (and only if) you own a copy of the (non-free) M
Mmm. This very much look like a homework from school. Right ?
Francis Girard
Le lundi 14 Février 2005 04:03, Chad Everett a écrit :
> Hey guys,
>
> Hope you can help me again with another problem. I am trying to learn
> Python on my own and need some help with the following.
>
> I am writing a pr
In message <[EMAIL PROTECTED]>, Stephen Kellett
<[EMAIL PROTECTED]> writes
In message <[EMAIL PROTECTED]>, Pat
<[EMAIL PROTECTED]> writes
if I have both versions of Python installed - 2.3.5 and 2.4? Is there
an easy way to detect this and switch between the two dlls?
Easy? Depends what you call
In message <[EMAIL PROTECTED]>, Pat
<[EMAIL PROTECTED]> writes
What configuration hassle? Can't be any harder than specifying a
different CRT surely?
I don't want to have to ask users of my code to have to go through
this:
http://www.vrplumber.com/programming/mstoolkit/
OK. I misunderstood your or
Fredrik Lundh wrote:
> "Pat" wrote:
>
> > Okay, I think we are pretty much talking about the same thing. My
> > problem is not that I'm unable or unwilling to purchase a good
> > compiler. My problem is that I don't want to make it a requirement
of
> > my users. The twist is that my users will
F. Petitjean wrote:
Le Sun, 13 Feb 2005 13:19:03 -0500, Hans Nowak a écrit :
Note that it works just fine if you don't use a new-style class:
class Test:
... def __init__(self):
... self.__call__ = self.foobar
... def foobar(self, *args, **kwargs):
... print "Called with:",
On 2005-02-14, Steven Bethard <[EMAIL PROTECTED]> wrote:
> Grant Edwards wrote:
>> Is it true that a datetime object can convert itself into a
>> string, but not the other way around? IOW, there's no simple
>> way to take the output from str(d) and turn it back into d?
>
> I assume this is true be
Grant Edwards wrote:
Is it true that a datetime object can convert itself into a
string, but not the other way around? IOW, there's no simple
way to take the output from str(d) and turn it back into d?
According to this thread, a patch has been checked in that adds strptime() to datetime. So there
Le lundi 14 Février 2005 11:02, David Fraser a écrit :
> Erik Johnson wrote:
> > I am wanting to generate dynamic graphs for our website and would
> > rather not invest the time in developing the code to draw these starting
> > from graphics primitives. I am looking for something that is... "fa
Title: RE: two questions - no common theme
[EMAIL PROTECTED]
#- Any help will be greatly appreciated.
It's always better to address two different questions in two different mails, with appropiate subjects.
. Facundo
Bitácora De Vuelo: http://www.taniquetil.com.ar/plog
PyAr - Python
oldName=/backup/backups/data/WWW_httpd.conf_backups/20050204.httpd.conf
newName=/backup_old/data/WWW_httpd.conf_backups/20050204.httpd.conf
os.rename(oldName,newName) gives:
OSError: [Errno 18] Invalid cross-device link
mv from the shell works fine.
This is Python 2.2.3 from RedHat 9.0.
Any s
Scott Whitney wrote:
> os.rename(oldName,newName) gives:
>
> OSError: [Errno 18] Invalid cross-device link
>
> mv from the shell works fine.
>
> This is Python 2.2.3 from RedHat 9.0.
>
> Any suggestions (other than os.system('mv %s %s')?)
catch exception and copy if error == errno.EXDEV.
(this i
Nope, I am trying to learn it on my own. I am using the book by Michael
Dawson.
Thanks,
"Francis Girard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Mmm. This very much look like a homework from school. Right ?
Francis Girard
Le lundi 14 Février 2005 04:03, Chad Everett a écri
See Pamie :
http://pamie.sourceforge.net
@-salutations
--
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
Replying to my own post, this looks like a very promising tool:
"Pytiff is a library for using TIFF files and advanced imaging in Python."
http://pubweb.northwestern.edu/~omh221/software_projects/pytiff/pytiff.html
Ed Suominen wrote:
> I'd like to write a Python-based commandline tool that will
Mathias Waack wrote:
amounts of data. I figured out that a 32 bit application on HP-UX
cannot address more than 1 GB of memory. In fact (I think due to the
overhead of memory management done by python) a python application
cannot use much more than 500 MB of "real" data. For this reason
I don't thi
In message <[EMAIL PROTECTED]>, Tony
Meyer <[EMAIL PROTECTED]> writes
There are also other conditions, to do with what you are redistributing it
with (it can't be alone), and including a particular type of license with
your redistribution. (It appears that Python 2.4 doesn't correctly follow
this
> "Francis" == Francis Girard <[EMAIL PROTECTED]> writes:
Francis> PyX might also be interesting, depending on your needs.
While pyx is a very nice package, it is probably not a good choice for
web app developers simply because it generates postscript, which is
not very browser friendly.
Oh, Sorry, I had read too fast.
I see, now, the word "Mac".
Apologies.
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
Sorry.
You have my cheers.
I'm suggesting you to use the python debugger through some GUI ("Eric3"
http://www.die-offenbachs.de/detlev/eric3.html for example is a nice and easy
to use GUI). It will greatly help you appreciate Python control flow in
execution and you will learn a lot more trying
In message <[EMAIL PROTECTED]>, Ilias Lazaridis
<[EMAIL PROTECTED]> writes
I like to synchronize any efforts with the existing ones.
I assume the reason for doing that would be to avoid duplicating effort?
If that is the case why do you want lots of people all to answer your
questionnaire. Thats
"Pat" wrote:
> A few things. Primarily the fact that I'm not very experienced in C
> (the extensions that I need to have compiled are not written by me).
> Secondarily, the fact that the discussion threads I read made it seem
> much more complicated than what you just described.
from two posts a
101 - 200 of 316 matches
Mail list logo