python2.4
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld:
\
cannot find -l/lib/python2.4
I have a _directory_ /lib/python2.4, but it sounds like gcc is looking
for some kind of library file.
Suggestions?
Mike Maxwell
--
http://mail.python.org/mailman/listinfo/python-list
Thanks, that explains why the CygWin Python will not import the .pyd
files:
>>> imp.get_suffixes()
[('.dll', 'rb', 3), ('module.dll', 'rb', 3), ('.py', 'U', 1), ('.pyc',
'rb', 2)]
Doesn't look like there's a way to get the CygWin Python to load .pyd
files. So I guess I have to figure out why the
Peter Otten wrote:
> Perhaps your configuration files contain bad data:
>
> # IDLE reads several config files to determine user preferences.
This
> # file is the default config file for general idle settings.
...
> # On Windows2000 and Windows XP the .idlerc directory is at
> # Documents and
Thanks, guess I misunderstood--I thought "pythonw" _was_ IDLE. Now I
see what IDLE is, and I wasn't actually wanting to run that.
And as it turns out, my _real_ problem was that my path was making me
run the CygWin version of Python from the "DOS" command prompt--which
understandably dies with a
Was doing some string formatting, noticed the following:
>>> x = None
>>> "%s" % x
'None'
Is there a reason it maps to 'None'? I had expected ''.
--
http://mail.python.org/mailman/listinfo/python-list
> c = None (result of an assignment after the os.environ.get()
returned a KeyError).
Why not trap the KeyError?
--
http://mail.python.org/mailman/listinfo/python-list
An application I am developing executes many threads and then has a
"monitor" part that waits for certain events. One of these events causes
the application to have to shutdown. On shutdown the monitor part
notifies the threads of a shutdown, and the threads must cleanup and exit.
When all threads
On Sat, 19 Mar 2005 22:35:39 -0500, Peter Hansen wrote:
> When you say "only one thread running", did you mean only
> one monitor thread in addition to the main thread, or did
> you really mean only the main thread was active at this time?
I meant there was the main app and one thread. The proble
I did a source code build of Python 2.4.1 on OS X (10.3.8) and the
executable produced was 'python.exe'. Can someone tell me whether this
is a bug, feature, or UserError?
% ./configure
% make
% ./python.exe
Python 2.4.1 (#1, Apr 17 2005, 12:14:12)
[GCC 3.3 20030304 (Apple Computer, Inc. build 14
>> executable produced was 'python.exe'. Can someone tell me whether
this
>> is a bug, feature, or UserError?
> I'm not sure. Why don't you grab the binary?
> http://www.python.org/ftp/python/2.4.1/MacPython-OSX-2.4.1-1 .dmg
Because I need to keep multiple versions of Python on this machine, and
> The default file system on MacOSX is case insensitive. As a result
the .exe
> extension is required to disambiguate the generated executable from
the
> Python directory in the source distro.
OK. I got it.
--
http://mail.python.org/mailman/listinfo/python-list
On 28 Dec 2005 05:51:50 -0800, "Luis M. González" <[EMAIL PROTECTED]>
wrote:
>This question comes up in this mailing list every two or three days...
>I suggest taking some time to read previous threads (use Google Groups
>for en easier experience) and you'll find thousands of opinions and
>suggest
In Python 2.4.1:
>>> None = 99
SyntaxError: assignment to None
>>> True = 99
>>> False = 99
>>> True == False
True
---
So why is 'None' special?
--
http://mail.python.org/mailman/listinfo/python-list
On 8 Nov 2006 11:49:07 -0800, "John Henry" <[EMAIL PROTECTED]>
wrote:
>
>John Salerno wrote:
>> Dan Lenski wrote:
>>
>> > So, is there another toolkit I should be looking at?
>>
>> I highly recommend wxPython. It's very mature, full-featured, and
>> portable, and fairly easy to learn as well. I ca
e the code.
>***
>
>So, it works.
Thanks for looking into it. It sounds like either it has been fixed in
the newer version -- or I didn't do something correctly. It's been a
long time, and I was just going by the notes I made back then.
>
>
On 8 Nov 2006 03:42:09 -0800, "king kikapu" <[EMAIL PROTECTED]>
wrote:
>
>I see...So, if these are the only options, the only "safe" bet is to
>install the language on the machine (beeing Win, Linux or Mac)
>and execute the .py files, right ??
No, those are not the only options.
Check out PyI
On 22 Jun 2006 12:02:14 -0700, [EMAIL PROTECTED] wrote:
>I am a newbie in python. I want to learn and implement a small
>networking concept. Please help me. Every help is appreciated.
>
>I have one Linux Box and one Windows PC. I want to have a daemon
>running on Windows PC which listens on some s
On 16 Nov 2006 13:09:03 -0800, "sturlamolden" <[EMAIL PROTECTED]>
wrote:
...SNIP...
>To compare Matlab with NumPy we can e.g. use the D4 discrete wavelet
>transform. I have here coded it in Matlab and Python/NumPy using Tim
>Swelden's lifting scheme.
>
>First the Matlab version (D4_Transform.m):
On Sun, 3 Dec 2006 23:31:56 -0500, Jean-Paul Calderone
<[EMAIL PROTECTED]> wrote:
>On 3 Dec 2006 17:23:49 -0800, Russ <[EMAIL PROTECTED]> wrote:
>>
>>> Rather, they (like I) will encourage to OP to submit a patch that fixes the
>>> problem.
>>
>>Now, that would be rather silly. I would have to fa
On Fri, 3 Mar 2006 07:19:34 -0500, "Peter Decker" <[EMAIL PROTECTED]>
wrote:
>I started with wxPython and struggled with it for a long time. I was
>able to get the job done, but using it never seemed natural. Then I
>found the Dabo project, whose ui module wraps wxPython into a much
>more Pythonic
On Sat, 4 Mar 2006 13:08:35 -0500, "Peter Decker" <[EMAIL PROTECTED]>
wrote:
>On 3/4/06, Bill Maxwell <[EMAIL PROTECTED]> wrote:
>
>> Dabo does look really nice, but seems like it has a ways to go yet.
>>
>> I downloaded it a couple of weeks ago, and
On Fri, 10 Jun 2005 04:52:12 -0700, wooks wrote:
>
> Your understanding of Usenet is that a post has to "appeal" (for the
> want of a better word) to the majority of the NG readership.
>
> Look over a hundred people took a look (and the hits are steadily
> going up whether despite or because of
Hope someone can help with a problem I'm having.
A python program I wrote terminates with the following traceback.
*** start traceback ***
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib/python2.4/atexit.py", line 22, in _run_exitfuncs
func(*targs, **kargs)
Hi all,
This is related to an earlier post 'Help with thread related
tracebacks'...for which I have had no feedback yet :-(
How should a thread complete i.e. how should it exit?
Reading the python online docs one gets the idea that simply returning is
OK - but I'm not sure.
Is it ok to do a sys.e
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 bee
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
On 19 Mar 2007 10:40:03 -0700, [EMAIL PROTECTED] wrote:
...
>You might want to submit this to the wxpython news-group.
...
What is the name of this newsgroup? I can't seem to locate it on my
news server.
Thanks,
Bill
--
http://mail.python.org/mailman/listinfo/python-list
The following are apparently legal Python syntactically:
L[1:3, 8:10]
L[1, ..., 5:-2]
But they don't seem to work on lists:
>>> l = [0,1,2,3]
>>> l[0:2,3]
Traceback (most recent call last):
File "", line 1, in
TypeError: list indices must be integers
>>> l[...]
Traceback (most recent call
On Sep 13, 5:50 pm, James Stroud <[EMAIL PROTECTED]> wrote:
> Rodney Maxwell wrote:
> > The following are apparently legal Python syntactically:
> >L[1:3, 8:10]
> >L[1, ..., 5:-2]
>
> > But they don't seem to work on lists:
> >>>>
On Sep 13, 5:50 pm, James Stroud <[EMAIL PROTECTED]> wrote:
> Rodney Maxwell wrote:
> > The following are apparently legal Python syntactically:
> >L[1:3, 8:10]
> >L[1, ..., 5:-2]
>
> > But they don't seem to work on lists:
> >>>>
On 28 Apr 2006 10:16:57 -0700, [EMAIL PROTECTED] wrote:
>What I'm wondering is, perhaps it has something to do with the wx.pth
>file? I can't seem to find anything in the documentation about what the
>path should be, which file it should be pointing to.
Mine has this in it:
wx-2.6-msw-un
On 08/30/2010 05:05 PM, Bradley Hintze wrote:
I may be having a brain fart, but is it at all possible to have a
function first return a value then continue its calculation. Like this
simple example:
my_var = 5
def my_function():
return my_var
my_var +=1
This obviously won't work as wr
32 matches
Mail list logo