Duncan Booth wrote:
> "Chris Lasher" <[EMAIL PROTECTED]> wrote:
>
>> I noticed that I absolutely cannot jump back to the first statement
>> (line 3, "a = 1") using the jump command. I can jump to any other line
>> BUT the first statement's using the "jump " command. I
>> experience the same behav
Hello Pythoners! I would like to announce the first release of a Gas table
module for Python, to perform compressible flow calculations.
python-gastables includes python modules for compressible gas flow
calculations. It includes python modules for Isentropic Relations, Normal
Shock Relations, Ob
Sourceforge's Project of the Month (an IT monitoring system written
using Zope and Twisted) is a good advert for Python:
http://sourceforge.net/potm/potm-2007-03.php
--
http://mail.python.org/mailman/listinfo/python-list
"Chris Lasher" <[EMAIL PROTECTED]> wrote:
> I noticed that I absolutely cannot jump back to the first statement
> (line 3, "a = 1") using the jump command. I can jump to any other line
> BUT the first statement's using the "jump " command. I
> experience the same behavior with Winpdb and rpdb2. Wh
In <[EMAIL PROTECTED]>, David Nicolson
wrote:
> Hi,
>
> I wasn't exactly sure where to send this, I don't know if it is a bug
> in Python or not. This is rare, but it has occurred a few times and
> seems to be reproducible for those who experience it.
>
> Examine this code:
> >>> try:
> >>
"Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> Nick Craig-Wood wrote:
>
> > Did anyone write a contextmanager implementing a timeout for
> > python2.5?
> >
> > I'd love to be able to write something like
> >
> > with timeout(5.0) as exceeded:
> > some_long_running_stuff()
> >
Wow! I'll have to read through that tomorrow when I'm (hopefully) less
tired. :D
Anyway, I somehow already managed to get this working. I'm calling it
DoublePy.
Here's the alpha or proof-of-concept or whatever we're to call it.
http://adamatlas.org/2007/03/doublepy-0.1.tar.gz
Not bad for an 0.1 w
On Mar 27, 2007, at 1:07 AM, 李现民 wrote:
> thanks for your help, but that is not what I am looking for. My
> question is: I need to determine whether another process is running
> now ---in my problem, that is 'tomcat5.exe' ---that determines what
> should I do next.
Maybe this can help:
htt
Kevin Walzer wrote:
> I'm trying to avoid a *lot* of typing in my Tkinter application by
> associating image names with items in a list. Here is my sample list:
>
> self.catlist = [
> 'all', 'installed', 'base', 'crypto', 'database', 'devel',
> 'editors', 'games', 'gnome', '
thanks for your help, but that is not what I am looking for. My question is:
I need to determine whether another process is running now ---in my problem,
that is 'tomcat5.exe' ---that determines what should I do next.
thanks !
On 3/27/07, Shane Geiger <[EMAIL PROTECTED]> wrote:
I believe you
Sang Park wrote:
> how do I select radionbutton by default?
> for my school project, I need to have 10 radio buttons and have half of
> them selected
> I have
> for i in range(10):
> x = IntVar()
> if i < 5:
> rb = Radiobutton(buttonFrame, variable=x, value=1,state=DISABLED)
> else:
> rb = Radiob
Marco wrote:
> In C, a signal handler function has only one parameter, that is
> signal number. But in Python(import signal), a signal handler
> function has two parameters, the first is signal number, the
> second is "frame"?
>
> What is "frame", please?
Did you bother using help()?
>>> help(s
James Stroud <[EMAIL PROTECTED]> wrote:
> Nick Craig-Wood wrote:
> > Did anyone write a contextmanager implementing a timeout for
> > python2.5?
> >
> > I'd love to be able to write something like
> >
> > with timeout(5.0) as exceeded:
> > some_long_running_stuff()
> > if exceede
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On Mar 26, 3:16 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> > But to make that work reliably, it has to be ensured that no sideeffects
> > occur while being in some_long_running_stuff. which doesn't only extend to
> > python itself, but also e
Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
> On Mon, 26 Mar 2007 16:50:33 +0200, Thomas Dybdahl Ahle <[EMAIL PROTECTED]>
> wrote:
> >Den Mon, 26 Mar 2007 06:30:04 -0500 skrev Nick Craig-Wood:
> >> Under linux the only priviledge you need is CAP_NET_RAW. It is possible
> >> to give this to a
Chris Lasher wrote:
> On Mar 26, 10:48 pm, Christian <[EMAIL PROTECTED]> wrote:
>> Traceback (most recent call last):
>> File "setup.py", line 89, in ?
>> setup_package()
>> File "setup.py", line 59, in setup_package
>> from numpy.distutils.core import setup
>> File "/mnt/home/ck/prog
I believe you are looking for os.getpid()
李现民 wrote:
hi ,all
any one knows how to enumerate the current running processes , or
how to obtain a specific process by its name or process id. I know I
can do this in many programming languages , but how in python? any
one know?
Thanks for an
On Mar 26, 10:48 pm, Christian <[EMAIL PROTECTED]> wrote:
> Traceback (most recent call last):
> File "setup.py", line 89, in ?
> setup_package()
> File "setup.py", line 59, in setup_package
> from numpy.distutils.core import setup
> File "/mnt/home/ck/prog/scipy/numpy-1.0.1/numpy/__i
On Mar 26, 8:10 pm, David Nicolson <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I wasn't exactly sure where to send this, I don't know if it is a bug
> in Python or not. This is rare, but it has occurred a few times and
> seems to be reproducible for those who experience it.
>
> Examine this code:
> >
Thanks, but it's definitely not the print. In original the code the
print statements are replaced by a call to a log method.
Besides, the exception would be different if it was thrown outside of
the try block.
On 27/03/2007, at 2:42 PM, Justin Ezequiel wrote:
> On Mar 27, 11:10 am, David Ni
how do I select radionbutton by default?
for my school project, I need to have 10 radio buttons and have half
of them selected
I have
for i in range(10):
x = IntVar()
if i < 5:
rb = Radiobutton(buttonFrame, variable=x,
value=1,state=DISABLED)
else
On Mar 27, 11:10 am, David Nicolson <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I wasn't exactly sure where to send this, I don't know if it is a bug
> in Python or not. This is rare, but it has occurred a few times and
> seems to be reproducible for those who experience it.
>
> Examine this code:
> >>>
hi ,all
any one knows how to enumerate the current running processes , or how to
obtain a specific process by its name or process id. I know I can do this in
many programming languages , but how in python? any one know?
Thanks for any guidance.
--
li xianmin
[EMAIL PROTECTED]
--
ht
On Mar 26, 12:21 am, durumdara <[EMAIL PROTECTED]> wrote:
> Hi!
>
> As I experienced in the year 2006, the Python's zip module is not
> unicode-safe.
I'd rather say unicode file names are not supported. Why? Because zip
format didn't support unicode file names upto 2006.
> With the hungarian file
Carl Banks wrote:
> On Mar 26, 10:11 am, "Andy Dingley" <[EMAIL PROTECTED]> wrote:
>
>>On 26 Mar, 14:20, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>>
>>
>>>what are the advantages of using Python for
>>>creating number crunching apps over Fortran??
>>
>>If you have to ask, you've not experien
Hi,
I'm having problems with python 2.4.4 built on a Celeron D. I had problems
earlier with that processor which I think has understands some 64 bit
instructions (whatever that means) but is still 32 bit. Thus when e.g. trying to
build numpy with the self built python I get that error:
Traceback (
On Mar 26, 3:47 pm, Jaroslaw Zabiello <[EMAIL PROTECTED]> wrote:
> Dnia Mon, 26 Mar 2007 20:06:28 + (UTC), David E. Konerding DSD staff
> napisa³(a):
>
> > Try fixing your WSDL, then try again.
>
> The problem is I see no errors in my WSDL. Pythonic implementation of SOAP
> is just crapy.
>
> -
Kevin Walzer wrote:
> I'm trying to avoid a *lot* of typing in my Tkinter application by
> associating image names with items in a list. Here is my sample list:
>
> self.catlist = [
> 'all', 'installed', 'base', 'crypto', 'database', 'devel',
> 'editors', 'games', 'gnome', '
Hi,
I wasn't exactly sure where to send this, I don't know if it is a bug
in Python or not. This is rare, but it has occurred a few times and
seems to be reproducible for those who experience it.
Examine this code:
>>> try:
>>> shutil.copy("/file.xml","/Volumes/External/file.xml")
>>>
On Mar 26, 6:49 pm, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
>
> class Test(object):
> pass
> def greet(x):
> print "hello"
> Test.func = greet
> print Test.func
> t = Test()
> print t.func
> def sayBye(x):
> print "bye"
> t.bye = sayBye
> print t.bye
On Mar 27, 12:41 pm, "Graham Dumpleton" <[EMAIL PROTECTED]>
wrote:
> On the other hand, it might be useful in a standalone Python based
> WSGI web server which you have more direct control over. It might
> take a bit of design work as to how to do it in practice, but you
> could create different s
On Mar 27, 11:02 am, "Adam Atlas" <[EMAIL PROTECTED]> wrote:
> On Mar 26, 4:55 pm, "Matimus" <[EMAIL PROTECTED]> wrote:
>
> > I think that is what the "code" module is for. Maybe not exactly what
> > you were expecting, but the capability you describe is already there.
> > Being able to access its
I'm trying to avoid a *lot* of typing in my Tkinter application by
associating image names with items in a list. Here is my sample list:
self.catlist = [
'all', 'installed', 'base', 'crypto', 'database', 'devel',
'editors', 'games', 'gnome', 'graphics', 'kde', 'languages',
Robert Kern wrote:
> ZMY wrote:
>
>>I am trying to convert some old Fortran code into Python program and
>>get them work on a QNX 4.25 system. Since the program requires speed,
>>I think using Numpy is really necessary. But I haven't found anything
>>on web about using numpy on QNX 4.25 (especiall
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I've been told that Both Fortran and Python are easy to read, and are
> quite useful in creating scientific apps for the number crunching, but
Incidentally, and a bit outside what you asked: if your "number
crunching" involves anything beyond linear
Hi,
In C, a signal handler function has only one parameter, that is signal number.
But in Python(import signal), a signal handler function has two
parameters, the first is signal number, the second is "frame"?
What is "frame", please?
Thank you!
--
LinuX Power
--
http://mail.python.org/mailm
Cameron Laird <[EMAIL PROTECTED]> wrote:
...
> >If you're just trying to learn and check things out, it might be better
> >to get a more recent Python from python.org (2.5 or 2.4.4) and the
> >various other packages as and when you need them (you can use the
> >MacEnthon list as a guide:-). You
On Mar 26, 3:30 am, Nick Craig-Wood <[EMAIL PROTECTED]> wrote:
> Did anyone write a contextmanager implementing a timeout for
> python2.5?
>
> I'd love to be able to write something like
>
> with timeout(5.0) as exceeded:
> some_long_running_stuff()
> if exceeded:
> print "O
On Mar 26, 10:16 am, [EMAIL PROTECTED] (Cameron Laird) wrote:
> In article <[EMAIL PROTECTED]>,[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >Is there a mac version??
> >Thanks
> >Chris
>
> Yes.
>
> Several, in fact--all available at no charge. The Python
> world is different from what experienc
Hi All,
Pydev and Pydev Extensions 1.3.1 have been released
Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com
Release Highlights in Pydev Extensions:
--
On Mar 26, 4:55 pm, "Matimus" <[EMAIL PROTECTED]> wrote:
> I think that is what the "code" module is for. Maybe not exactly what
> you were expecting, but the capability you describe is already there.
> Being able to access its own interpreter is one of the things that
> makes Python a dynamic lan
On Mar 26, 10:31 am, "Carl Banks" <[EMAIL PROTECTED]> wrote:
> > You can write programs in Python that do usefully complicated things,
> > and you can get them to work in a reasonable time. Fortran can't do
> > this, for anything more than the trivial. "Classic" Fortran tasks of
> > the past are
James Stroud wrote:
> A "cross platform" work-around might be to grid a frame at the row and
> column of self.Main and pack the Listbox into the Frame. I don't have a
> Mac at work to test this, however. But I would be curious to know your
> results if you try it.
Thank you for the sub-frame su
7stud a écrit :
> On Mar 25, 3:09 pm, Steven Bethard <[EMAIL PROTECTED]> wrote:
>
>>Here's another way of looking at it::
>>
>> >>> class Test(object):
>> ... pass
>> ...
>> >>> def greet():
>> ... print 'Hello'
>> ...
>>
Test.greet = greet
Test.greet
>>
>>
Dnia Mon, 26 Mar 2007 20:06:28 + (UTC), David E. Konerding DSD staff
napisał(a):
> Try fixing your WSDL, then try again.
The problem is I see no errors in my WSDL. Pythonic implementation of SOAP
is just crapy.
--
Jaroslaw Zabiello
http://blog.zabiello.com
--
http://mail.python.org/mailman
On Mar 26, 9:06 am, stef <[EMAIL PROTECTED]> wrote:
> As said by others, "Portability, scalability & RAD" as an advantage of
> Python are probably far more important.
All of those claimed advantages can be debated, although they may
exist for some tasks.
(1) Portability. Fortran has been run on
On Mon, 26 Mar 2007 15:53:56 -0700, sturlamolden wrote:
> Python is a very high-level language. That means there are certain
> things that put constraint on the attained speed. Most importantly:
> keep the number of interpreter evals as scarce as possible. If you
> make a for loop, the interpreter
On Mar 26, 8:42 am, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
> You can get the speed of fortran in Python by using libraries like
> Numeric without losing the readability of Python.
Numeric and Numpy will faster than raw Python for array operations,
but I don't think they will match well-
On Mar 26, 7:13 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Thanks you all for giving a little insight into what Python can
> actually do, I think I've read enough to convince me that Python is
> generally a very flexible, fast, powerful language that can be used in
> a wide variety of ap
jp wrote:
>>> On Mar 26, 10:51 am, "jp" <[EMAIL PROTECTED]> wrote:
I have multiple PMW widgets (EntryFields, ScrolledField etc), how can
I skip over these widgets when using the tab key?
Thank you,
John
What version of Pmw are you using ? Tabbing between widgets works fine
o
jp wrote:
> On Mar 26, 11:27 am, [EMAIL PROTECTED] wrote:
>
>>On Mar 26, 11:17 am, [EMAIL PROTECTED] wrote:
>>
>>
>>>On Mar 26, 10:51 am, "jp" <[EMAIL PROTECTED]> wrote:
>>
I have multiple PMW widgets (EntryFields, ScrolledField etc), how can
I skip over these widgets when using the tab ke
On Mar 26, 8:40 am, [EMAIL PROTECTED] wrote:
> On Mar 26, 8:20 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > OK...
> > I've been told that Both Fortran and Python are easy to read, and are
> > quite useful in creating scientific apps for the number crunching, but
> > then Python is a tad
Nick Craig-Wood wrote:
> Robin Becker <[EMAIL PROTECTED]> wrote:
>> I'm using subprocess to carry out svn commands (probably should use the svn
>> api
.
>>
>> Clearly I need to supply some kind of input filelike object, but is this
>> sort of
>> thing possible.
>
> Yes it is pos
On Mon, 26 Mar 2007 13:21:22 -0400, Josh wrote:
> I have a lot of except Exception, e statements in my code, which poses some
> problems. One of the biggest is whenever I refactor even the triviallest
> thing in my code.
>
> I would like python to abort, almost as if it were a compile-time erro
Matt Garman wrote:
> In my case, I know my input data doesn't have any blank lines.
8)
I work with a (not self-written) perl script that does funny things
with blank lines in input files. Yeah, blank lines "aren't supposed
to" be in the input data ...
> However, I'm glad you (and others) clarif
On Mar 26, 3:20 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> OK...
> I've been told that Both Fortran and Python are easy to read, and are
> quite useful in creating scientific apps for the number crunching, but
> then Python is a tad slower than Fortran because of its a high level
> langua
On Mon, 26 Mar 2007 06:40:49 -0700, kyosohma wrote:
> Fortran also appears to be a compiled language, whereas Python is an
> interpreted language.
Sheesh. Do Java developers go around telling everybody that Java is an
interpreted language? I don't think so.
What do you think the "c" in ".pyc" fi
Hi all,
I have a simple script:
---
#!/usr/bin/env python
a = 1
b = 2
c = a + b
print c
---
I launch said script with pdb:
python -m pdb simple.py
I noticed that I absolutely cannot jump back to the first statement
(line 3, "a = 1") using the jump command. I can jump to any other line
BUT t
Ben Collver wrote:
> I am using Darwin 10.4.9, tcl 8.4.7, tk 8.4, and python 2.3.5. I have
> also tried Python 2.5 on Darwin, Debian, and Fedora Core 6.
>
> I am working on a GUI front-end to a Python program of mine. It is a
> simple grid with labels in the left column and input widgets in th
On 26 mar, 20:58, [EMAIL PROTECTED] wrote:
> On Mar 26, 11:30 am, BH <[EMAIL PROTECTED]> wrote:
>
>
>
> > Yes, absolutely, but try to minimize it, and the scrollbars stays hidden !!!
>
> > [EMAIL PROTECTED] a écrit :
>
> > > On Mar 26, 10:20 am, BH <[EMAIL PROTECTED]> wrote:
> > >> Hi !
>
> > >> I
On Mar 26, 12:21 pm, "Adam Atlas" <[EMAIL PROTECTED]> wrote:
> Does anyone know if it would be possible to create a CPython extension
> -- or use the ctypes module -- to access Python's own embedding API
> (http://docs.python.org/api/initialization.html&c.)? Could a Python
> program itself create a
On Mar 26, 12:29 pm, "Radek" <[EMAIL PROTECTED]> wrote:
> I have tried setting http_proxy environment, played with proxy
> openers, use ntlm proxy server all without success.
So you have already tried NTLM Authorization Proxy Server?
http://ntlmaps.sourceforge.net/
This used to work fine for me bu
> Mapped drives are per-user. Usually, services run under the LOCAL_SYSTEM
> account, not using the currently logged user (because they may start even
> before any user is logged). If you want the service to have access to your
> mapped drives, use the service control panel to make it run under an
On 2007-03-22, Jaroslaw Zabiello <[EMAIL PROTECTED]> wrote:
> I try to connect to web services (written in C#/.NET) with latest ZSI
> 2.0rc3 library. It just does not work.
>
> from ZSI.ServiceProxy import ServiceProxy
> wsdl = 'http://192.168.0.103/NewWebServices/TemplateInsert.asmx?wsdl'
> prin
On Mar 25, 6:36 pm, "ianaré" <[EMAIL PROTECTED]> wrote:
> yeah the subject doesn't really make sense does it?
>
> anyway want I want to do is this:
> if n == 1:
>
> self.operations.insert(pos, operations.Replace.Panel(self, main))
>
> elif n == 2:
>
> self.operations.insert(pos, operations.
On 26 Mart, 00:50, "Stephen Eilert" <[EMAIL PROTECTED]> wrote:
> On Mar 25, 6:23 pm, "gslm" <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Please, can you read again?
> > Yes, I understand that in phyton interpreter, i can't call phyton
> > command.Thanks...
>
> > But how can i run '.py' files from this
Does anyone know if it would be possible to create a CPython extension
-- or use the ctypes module -- to access Python's own embedding API
(http://docs.python.org/api/initialization.html &c.)? Could a Python
program itself create a sub-interpreter, and work with it with all the
privileges and capab
ZMY wrote:
> I am trying to convert some old Fortran code into Python program and
> get them work on a QNX 4.25 system. Since the program requires speed,
> I think using Numpy is really necessary. But I haven't found anything
> on web about using numpy on QNX 4.25 (especially the for python
> versi
In article <[EMAIL PROTECTED]>,
"Chris" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> If a user resizes a Toplevel window, or I set a Toplevel's geometry
> using the geometry() method*, is there any way to have the geometry
> reset to that required for all the widgets?
>
> I think I found what I'm looki
I am trying to convert some old Fortran code into Python program and
get them work on a QNX 4.25 system. Since the program requires speed,
I think using Numpy is really necessary. But I haven't found anything
on web about using numpy on QNX 4.25 (especially the for python
version 2.2).
Do any of y
1. Python is fun!
2. Python is cool!
3. Most of the time you can google a solution, i.e. somebody has already
done nearly everything you can think of.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Behalf Of [EMAIL PROTECTED]
Sent: Monday, March 26, 2007 8:21 AM
To: p
On Mar 26, 11:30 am, BH <[EMAIL PROTECTED]> wrote:
> Yes, absolutely, but try to minimize it, and the scrollbars stays hidden !!!
>
> [EMAIL PROTECTED] a écrit :
>
> > On Mar 26, 10:20 am, BH <[EMAIL PROTECTED]> wrote:
> >> Hi !
>
> >> I have a small problem with wx.Grid and scrollbars.
> >> Scroll
Hi,
is there any possibility to see PEP 3115 implemented for Python 2.6?
AFAICS there's nothing about it that should limit it's implementation
to Python 3000 if backwards compatibility with '__metaclass__' is
preserved. At least the '__prepare__' in metaclasses method would be
very useful. Keyword
On Mar 26, 1:17 pm, "jp" <[EMAIL PROTECTED]> wrote:
> On Mar 26, 12:34 pm, [EMAIL PROTECTED] wrote:
>
>
>
> > On Mar 26, 11:35 am, "jp" <[EMAIL PROTECTED]> wrote:
>
> > > On Mar 26, 11:27 am, [EMAIL PROTECTED] wrote:> On Mar 26, 11:17 am,
> > > [EMAIL PROTECTED] wrote:
>
> > > > > On Mar 26, 10:51
On Mar 26, 12:34 pm, [EMAIL PROTECTED] wrote:
> On Mar 26, 11:35 am, "jp" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Mar 26, 11:27 am, [EMAIL PROTECTED] wrote:> On Mar 26, 11:17 am, [EMAIL
> > PROTECTED] wrote:
>
> > > > On Mar 26, 10:51 am, "jp" <[EMAIL PROTECTED]> wrote:
>
> > > > > I have multiple
On Mar 26, 1:07 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > On Mar 26, 12:21 pm, "Josh" <[EMAIL PROTECTED]> wrote:
> >> I have a lot of except Exception, e statements in my code, which poses some
> >> problems. One of the biggest is whenever I refactor even the trivia
En Mon, 26 Mar 2007 14:21:22 -0300, Josh <[EMAIL PROTECTED]> escribió:
> I have a lot of except Exception, e statements in my code, which poses
> some
> problems.
*many* problems, I'd say. Don't do that :)
> One of the biggest is whenever I refactor even the triviallest
> thing in my code.
>
>
[EMAIL PROTECTED] wrote:
> On Mar 26, 12:21 pm, "Josh" <[EMAIL PROTECTED]> wrote:
>> I have a lot of except Exception, e statements in my code, which poses some
>> problems. One of the biggest is whenever I refactor even the triviallest
>> thing in my code.
>>
>> I would like python to abort, almos
In <[EMAIL PROTECTED]>, Josh wrote:
> I have a lot of except Exception, e statements in my code, which poses some
> problems. One of the biggest is whenever I refactor even the triviallest
> thing in my code.
>
> I would like python to abort, almost as if it were a compile-time error,
> whenev
Josh> I have a lot of except Exception, e statements in my code, which
Josh> poses some problems. One of the biggest is whenever I refactor
Josh> even the triviallest thing in my code.
Josh> I would like python to abort, almost as if it were a compile-time
Josh> error, wheneve
On Mar 26, 12:21 pm, "Josh" <[EMAIL PROTECTED]> wrote:
> I have a lot of except Exception, e statements in my code, which poses some
> problems. One of the biggest is whenever I refactor even the triviallest
> thing in my code.
>
> I would like python to abort, almost as if it were a compile-time e
On Mar 26, 9:13 am, "Matt Garman" <[EMAIL PROTECTED]> wrote:
> On 3/23/07, Jack Diederich <[EMAIL PROTECTED]> wrote:
>
> > If you make the record a new style class (inherit from object) you can
> > specify the __slots__ attribute on the class. This eliminates the per
> > instance dictionary overhe
On Mar 26, 11:35 am, "jp" <[EMAIL PROTECTED]> wrote:
> On Mar 26, 11:27 am, [EMAIL PROTECTED] wrote:> On Mar 26, 11:17 am, [EMAIL
> PROTECTED] wrote:
>
> > > On Mar 26, 10:51 am, "jp" <[EMAIL PROTECTED]> wrote:
>
> > > > I have multiple PMW widgets (EntryFields, ScrolledField etc), how can
> > > >
Hi,
I have been trying several days to get the html page of www.python.org
when behind the corporate MS isa proxy.
I have tried setting http_proxy environment, played with proxy
openers, use ntlm proxy server all without success.
I can get the page using Firefox and IE with proxy settings.
As t
I have a lot of except Exception, e statements in my code, which poses some
problems. One of the biggest is whenever I refactor even the triviallest
thing in my code.
I would like python to abort, almost as if it were a compile-time error,
whenever it cannot find a function, or if I introduced
On 26 Mar, 17:59, "Erik Johnson" <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
>
> > OK...
> > I've been told that Both Fortran and Python are easy to read, and are
> > quite useful in creating scientific apps for the number crunching, but
> > then Pyt
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> OK...
> I've been told that Both Fortran and Python are easy to read, and are
> quite useful in creating scientific apps for the number crunching, but
> then Python is a tad slower than Fortran because of its a high level
> language nat
On Mar 26, 9:42 am, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
> On 26 Mar 2007 06:20:32 -0700, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> >OK...
> >I've been told that Both Fortran and Python are easy to read, and are
>
> Python is hugely easier to read.
>
> >quite useful in creating s
On Mar 26, 5:08 am, Bruno Desthuilliers wrote:
> Most of Python's object model is documented here:
>
> http://www.python.org/download/releases/2.2.3/descrintro/http://users.rcn.com/python/download/Descriptor.htm
>
Thanks. I've looked at both of those, and the second one is very
good.
--
http:/
On Mar 26, 7:15 pm, "7stud" <[EMAIL PROTECTED]> wrote:
> On Mar 25, 3:09 pm, Steven Bethard <[EMAIL PROTECTED]> wrote:
>
> > Here's another way of looking at it::
>
> > >>> class Test(object):
> > ... pass
> > ...
> > >>> def greet():
> > ... print 'Hello'
> >
On Mar 26, 11:27 am, [EMAIL PROTECTED] wrote:
> On Mar 26, 11:17 am, [EMAIL PROTECTED] wrote:
>
> > On Mar 26, 10:51 am, "jp" <[EMAIL PROTECTED]> wrote:
>
> > > I have multiple PMW widgets (EntryFields, ScrolledField etc), how can
> > > I skip over these widgets when using the tab key?
>
> > > Than
Yes, absolutely, but try to minimize it, and the scrollbars stays hidden !!!
[EMAIL PROTECTED] a écrit :
> On Mar 26, 10:20 am, BH <[EMAIL PROTECTED]> wrote:
>> Hi !
>>
>> I have a small problem with wx.Grid and scrollbars.
>> Scrollbars definitively dissapears after resizing the frame.
>>
>> Thx
On Mar 26, 11:17 am, [EMAIL PROTECTED] wrote:
> On Mar 26, 10:51 am, "jp" <[EMAIL PROTECTED]> wrote:
>
> > I have multiple PMW widgets (EntryFields, ScrolledField etc), how can
> > I skip over these widgets when using the tab key?
>
> > Thank you,
> > John
>
> I would probably write some custom eve
On Mar 26, 11:17 am, [EMAIL PROTECTED] wrote:
> On Mar 26, 10:51 am, "jp" <[EMAIL PROTECTED]> wrote:
>
> > I have multiple PMW widgets (EntryFields, ScrolledField etc), how can
> > I skip over these widgets when using the tab key?
>
> > Thank you,
> > John
>
> I would probably write some custom eve
Alex Martelli wrote:
> [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>...
>>> So I'ld suggest to start with downloading the Enthought edition of Python,
>>> and you can judge for yourself within 10 minutes,
>>> if it's fast enough.
>>>
>>> cheers,
>>> Stef Mientki
>> Is there a mac version??
>
On Mar 26, 10:51 am, "jp" <[EMAIL PROTECTED]> wrote:
> I have multiple PMW widgets (EntryFields, ScrolledField etc), how can
> I skip over these widgets when using the tab key?
>
> Thank you,
> John
I would probably write some custom event handling. Something that
could tell it was a key-press eve
On Mar 25, 3:09 pm, Steven Bethard <[EMAIL PROTECTED]> wrote:
> Here's another way of looking at it::
>
> >>> class Test(object):
> ... pass
> ...
> >>> def greet():
> ... print 'Hello'
> ...
>>> Test.greet = greet
>>> Test.greet
>
Interesting. After playi
Matt Garman a écrit :
(snip)
> Also, many folks have suggested operating on only one line at a time
> (i.e. not storing the whole data set). Unfortunately, I'm constantly
> "looking" forward and backward in the record set while I process the
> data (i.e., to process any particular record, I someti
John Nagle <[EMAIL PROTECTED]> wrote:
> htags = soup.findAll({'h2':True, 'H2' : True}) # get all H2 tags,
> both cases
Have you been bitten by this? When I read this, I was operating under
the assumption that BeautifulSoup wasn't case sensitive, and then I
tried this:
>>> import BeautifulSoup
On Mar 26, 10:53 am, Thomas Dybdahl Ahle <[EMAIL PROTECTED]> wrote:
> Hi, I'm writing an application that connects to the internet.
> Something like this:
>
> for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):
> af, socktype, proto, canonname, sa = res
> try:
> self.s
1 - 100 of 173 matches
Mail list logo