Paul Robson <[EMAIL PROTECTED]> wrote:
>
> I have a wierd thing with a little editor app I'm writing.
>
> I'm using wxStyledTextCtrl ; the wrapper for Scintilla. When I create the
> frame in wxPython, I use self.Editor.SetFocus() to put the focus initially
> on the editor.
>
> This works fine.
On Mon, 29 Nov 2004 01:12:16 -0500, Jeremy Bowers wrote:
> The only punctuation you *need* is whitespace. See Forth (I don't know
> if this is perfect but I'd bet the transform is simple),
: Announce ." Forth has a fair bit of punctuation" ;
--
http://mail.python.org/mailman/listinfo/python-list
Python 2.4 final will probably be released in a few hours so this seems
like a good time to release the standalone email package, version 3.0
final. Unless there's some last second snafu, this will be identical to
the version released with Python 2.4.
email 3.0 is compatible with Python 2.3 and 2
"Bryan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> is there a way to make the Decimal class not print the exponent version of the
> decimal?
>
>
> >>> str(Decimal('1010'))
> '1010'
> >>> str(Decimal((0, (1, 0, 1), 1)))
> '1.01E+3'
> >>>
>
> how do you make the 2nd example pri
I am wondering if there is a light weight Python library for producing
web graphics on-the-fly. There is a C-language library called gd that
can be used in a CGI program to produce gif images. The Library can
be used to produce graphics images that are dynamically generated. I
was wondering if th
if class A(
use threading,thread module
) to produce 100 thread,how to drop its (100 thread) when its running
--
http://mail.python.org/mailman/listinfo/python-list
kent sin <[EMAIL PROTECTED]> wrote:
>
> But that will make too many uncessary connection:
>
>one connection can do a number of search before it
> got timeout, so I want to do as many search as
> possible before it got timeout. I think the connection
> cost is high here, and it also got some
You'll need wxPython. Once you get that, look in the samples for pySketch.
This is a very straightforward program that helped me learn a lot about GUI
with wxPython. Pretty easy to do. Once you get a hang for the basics, then
you might be interested in wxGlade, an interactive GUI designer. wxGl
Can anyone help me to use a python to create an HTML photo gallery
generator. When it's finished, it will be able find all the picture
files (i.e. .jpg, .gif. .png files) in any given folder on the
computer, automatically create smaller thumbnails for each image, and
then generate a complete HTML f
A two-fer.
On Mon, 29 Nov 2004 10:28:42 +0800, Isaac To wrote:
>> "Greg" == Greg Ewing <[EMAIL PROTECTED]> writes:
>
> >> The only punctuation you *need* is whitespace. See Forth
>
> Greg> You don't even need that... see FORTRAN. :-)
Well, I for one don't like reading large program
> "Greg" == Greg Ewing <[EMAIL PROTECTED]> writes:
>> The only punctuation you *need* is whitespace. See Forth
Greg> You don't even need that... see FORTRAN. :-)
And you don't need everything else either... see this.
http://compsoc.dur.ac.uk/whitespace/
:-)
Regard
Jeremy Bowers wrote:
The only punctuation you *need* is whitespace. See Forth
You don't even need that... see FORTRAN. :-)
DOI=1TO10-ly,
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
--
http://mail.python.org/
[EMAIL PROTECTED] (Henrik Holm) writes:
[+]
> I have recently started playing around with Python. Some of the things
> I have done have involved reading files. The way I do this is along the
> lines of
>
> f = file('file.txt')
> lines = f.readlines()
> f.close()
Verbose and readable. A
On Sun, 28 Nov 2004 18:59:31 -0600, [EMAIL PROTECTED] (Henrik Holm) wrote:
>I have recently started playing around with Python. Some of the things
> I have done have involved reading files. The way I do this is along the
> lines of
>
> [snip]
http://www.google.com/search?q=site%3Amail.python.
I have recently started playing around with Python. Some of the things
I have done have involved reading files. The way I do this is along the
lines of
f = file('file.txt')
lines = f.readlines()
f.close()
I have noticed that it is possible to do this in one line:
lines = file('file.txt
Christophe Cavalaria <[EMAIL PROTECTED]> wrote:
> If your programs need that much dynamic_cast to work, then your programs are
> bad.
Wrong. Look at the absolute mess that the Visitor design pattern is,
and how Robert Martin made it much less horrible by turning it into
Dynamic Visitor -- which
Dan Perl <[EMAIL PROTECTED]> wrote:
> I have a question here, as we are discussing now protocol interfaces vs.
> inheritance. Is using a class that implements a protocol without inheriting
> from a base class still "polymorphism"?
``still'' is inappropriate here. It is _fully_ polymorphism, of
Peter Hansen <[EMAIL PROTECTED]> wrote:
> > But the problem is still there: how do you know what
> > it looks like before you treat it as a cat? isinstance(), , as Steve
> > state, is too rigid.
>
> The argument is that you probably don't really need to know
> what it looks like *before* you try
On Sun, 28 Nov 2004, [ISO-8859-1] BJörn Lindqvist wrote:
> In the faq,
> http://www.python.org/doc/faq/general.html#why-are-colons-required-for-the-if-while-def-class-statements,
> it is stated that the colon is there "primarily to enhance readability
> (one of the results of the experimental ABC
On 28 Nov 2004 15:33:13 -0800, [EMAIL PROTECTED] (John Machin) wrote:
>Skip Montanaro <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> > >> > Is there a reason to use sets here? I think lists will do as well.
> > >>
> > >> Sets are implemented using dictionaries, so the "
Martin C.Atkins wrote:
I have (finally!) put a package up on our website that provides a
Python module for sending file descriptors down Unix-domain sockets, on Linux.
See the first item under:
http://www.mca-ltd.com/index.php?PAGE=resources/home.php
Please let me know of any problems, obvi
Je serai absent(e) du 28/06/2004 au 31/12/2004.
A compter du 28/06/04 nouvelle adresse e mail:
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
Skip Montanaro <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> >> > Is there a reason to use sets here? I think lists will do as well.
> >>
> >> Sets are implemented using dictionaries, so the "if w in KEYWORDS"
> >> part would be O(1) instead of O(n) as with lists..
Dang. I forgot the line-wrap again. Sorry about that.
--
http://mail.python.org/mailman/listinfo/python-list
"Peter Hansen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Python, of course, is unsuitable for many hard realtime systems,
> and if you're using Windows you are probably on the wrong platform
> in the first place.
Well, there is that. The platform I'm using is a realtime opera
25 matches
Mail list logo