Call for Papers
---
Open Source Developers' Conference 2007 - Brisbane, Australia
Success in Development Business
OSDC is a grass-roots conference providing Open Source developers with
an opportunity to meet, share, learn, and of course show-off. OSDC
focuses on Open Source
SCons is a software construction tool (build tool, or make tool) written
in Python. It is based on the design which won the Software Carpentry
build tool competition in August 2000.
Version 0.97 of SCons has been released and is available for download
from the SCons web site:
On Tue, 29 May 2007, Jon Harrop wrote:
Anyway, are there any libraries to do hardware accelerated vector graphics
in Perl, Python, Lisp, Java or any functional language (except OCaml and F#
and excluding WPF and Silverlight)?
I believe there are OpenGL bindings for quite many languages, here
james_027 wrote:
Hi,
I am using delphi to develop gui application, and wish to make a shift
to python. here are some of my question/concern...
1. is python develop gui application a cross platform? just like java
swing?
My first programming language was Delphi, and (after
Hi,
I am trying to execute some tasks periodically, those familiar with
unix can think of it as equivalent to cron jobs. I have tried looking
around, but couldn't find a way. Would appreciate any pointers or
clues..
Thanks,
-Ram
--
http://mail.python.org/mailman/listinfo/python-list
On May 28, 8:36 pm, Carsten Haese [EMAIL PROTECTED] wrote:
And while
we're at it, it probably should be keyfunc(value), not key(value).
No dice. The itertools.groupby() function is typically used
in conjunction with sorted(). It would be a mistake to call
it keyfunc in one place and not in
On 5月29日, 下午1时34分, Martin v. Lowis [EMAIL PROTECTED] wrote:
人言落日是天涯,望极天涯不见家 schrieb:
I lookup the utf-8 form of delta from the link.
http://www.fileformat.info/info/unicode/char/0394/index.htm
and then I want to print it in the python ( I work under windows)
#!/usr/bin/python
Hello!
i was searching the net for some python video
tutorials (free and payed).
i found some interesting stuff at www.showmedo.com but
i want something more complex.
can someone give me some address for python video
tutorials or companies how made this tutorials, free
or payed.
i search at
yes, it could print to the terminal(cmd.exe), but when I write these
string to file. I got the follow error:
File E:\Tools\filegen\filegen.py, line 212, in write
self.file.write(data)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0394' in
position 0
: ordinal not in
On 5月29日, 下午3时05分, Martin v. Lowis [EMAIL PROTECTED] wrote:
yes, it could print to the terminal(cmd.exe), but when I write these
string to file. I got the follow error:
File E:\Tools\filegen\filegen.py, line 212, in write
self.file.write(data)
UnicodeEncodeError: 'ascii' codec
On 5/29/07, Eric S. Johansson [EMAIL PROTECTED] wrote:
A huge reason why this is important because the vast majority of software
developers who are injured fall off the economic ladder. They leave the
profession and had very few options for work that doesn't involve significant
handy is. The
On 29 mai, 07:22, Frank Millman [EMAIL PROTECTED] wrote:
On May 29, 12:51 am, revuesbio [EMAIL PROTECTED] wrote:
Hi all
I am using odbc to connect to Microsoft Access DB. When I send a
request with a datetime column from the database, odbc returns
something called a DbiDate object.
On 29 Mag, 09:08, Laurentiu [EMAIL PROTECTED] wrote:
Hello!
i was searching the net for some python video
tutorials (free and payed).
i found some interesting stuff atwww.showmedo.combut
i want something more complex.
can someone give me some address for python video
tutorials or
Hi Luke,
you should send this to the scipy user list: [EMAIL PROTECTED]
Bernhard
On May 28, 10:44 am, Luke [EMAIL PROTECTED] wrote:
I'm trying to use Scipy's LU factorization. Here is what I've got:
from numpy import *
import scipy as Sci
import scipy.linalg
A=array([[3., -2., 1., 0.,
Hi all,
I would like to perform regular expression replace (e.g. removing
everything from within tags in a XML file) with multiple-line pattern.
How can I do this?
where = open(filename).read()
multilinePattern = ^tag \/tag$
re.search(multilinePattern, where, re.MULTILINE)
Thanks
Jon == Jon Harrop [EMAIL PROTECTED] writes:
Jon Anyway, are there any libraries to do hardware accelerated
Jon vector graphics in Perl, Python, Lisp, Java or any functional
Jon language (except OCaml and F# and excluding WPF and
Jon Silverlight)?
I guess the OpenGL binding for Erlang
Secondly, Python is nowadays not only used by
programmers,
but also by e.g. Scientific users (former MatLab
users),
who are not interested in the code itself,
but just in the results of that particular code.
For these people a lot of example programs,
for which they can easily see the
--- Carsten Haese [EMAIL PROTECTED] wrote:
On Sun, 2007-05-27 at 07:30 +, OKB (not
okblacke) wrote:
Underscores are harder to type than any
alphanumeric character.
This is a discussion about underscores versus
capital letters denoting
the word boundaries in
Hello!
i was searching the net for some video tutorials (free
and payed).
i found some interesting stuff at www.showmedo.com but
i want something more complex.
can someone give me some address for video tutorials
or companies how made this tutorials, free or payed.
i search at Lynda.com and
On May 29, 2:03 am, Zdenek Maxa [EMAIL PROTECTED] wrote:
Hi all,
I would like to perform regular expression replace (e.g. removing
everything from within tags in a XML file) with multiple-line pattern.
How can I do this?
where = open(filename).read()
multilinePattern = ^tag \/tag$
On May 28, 8:02 pm, Gordon Airporte [EMAIL PROTECTED] wrote:
Each seems to imply uniqueness here.
Doh! This sort of micro-massaging the docs misses the big picture.
If each meant unique across the entire input stream, then how the
heck could the function work without reading in the entire data
Ramashish Baranwal [EMAIL PROTECTED] writes:
I am trying to execute some tasks periodically, those familiar with
unix can think of it as equivalent to cron jobs.
Can you not use cron? If not, why not? Is there an equivalent service
you can use?
I have tried looking around, but couldn't find
On 28 Mag, 09:28, james_027 [EMAIL PROTECTED] wrote:
On May 28, 3:06 pm, Stefano Canepa [EMAIL PROTECTED] wrote:
On 28 Mag, 08:01, james_027 [EMAIL PROTECTED] wrote:
Hi,
I am using delphi to develop gui application, and wish to make a shift
to python. here are some of my
--- Ramashish Baranwal [EMAIL PROTECTED]
wrote:
Hi,
I am trying to execute some tasks periodically,
those familiar with
unix can think of it as equivalent to cron jobs. I
have tried looking
around, but couldn't find a way. Would appreciate
any pointers or
clues..
I'm also interested
I am trying to execute some tasks periodically, those familiar with
unix can think of it as equivalent to cron jobs.
Can you not use cron? If not, why not? Is there an equivalent service
you can use?
I can, but the work I want to do is written in Python. This is not an
issue but I would
Hello pyqt users,
i tried to use signal / slot across threads. With the following example I want
to emit a signal when the thread loop is entered. The connected slot is never
called. Why?
Any help is very welcome ...
Alexander
import time
import sys
import PyQt4
from PyQt4.QtCore import
On Tuesday 29 May 2007 11:58 am, Alexander Eisenhuth wrote:
Hello pyqt users,
i tried to use signal / slot across threads. With the following example I
want to emit a signal when the thread loop is entered. The connected slot
is never called. Why?
Any help is very welcome ...
Alexander
Ben Finney wrote:
Ramashish Baranwal [EMAIL PROTECTED] writes:
I am trying to execute some tasks periodically, those familiar with
unix can think of it as equivalent to cron jobs.
Can you not use cron? If not, why not? Is there an equivalent service
you can use?
I have tried looking
[EMAIL PROTECTED] wrote:
On May 29, 2:03 am, Zdenek Maxa [EMAIL PROTECTED] wrote:
Hi all,
I would like to perform regular expression replace (e.g. removing
everything from within tags in a XML file) with multiple-line pattern.
How can I do this?
where = open(filename).read()
Nope. They don't support that either. I emailed them (again) asking
for these features or at least see if they are in the works sometime
in the future and I keep getting their standard response which is
basically you can do it yourself if you upgrade to our $249/mo
dedicated plan.
I'd go with
hi,
I am new to python and am trying my experimenting with python and
wxpython. I want to use wx.PyBitmapDataObject to get bitmap data form
clipboard. The wx documentation says that 'to be able to provide
bitmap data on demand, derive from this class and overload GetBitmap'.
How do i overload
Ok, thanks.
Phil Thompson schrieb:
On Tuesday 29 May 2007 11:58 am, Alexander Eisenhuth wrote:
Hello pyqt users,
i tried to use signal / slot across threads. With the following example I
want to emit a signal when the thread loop is entered. The connected slot
is never called. Why?
Any
Zdenek Maxa wrote:
[EMAIL PROTECTED] wrote:
On May 29, 2:03 am, Zdenek Maxa [EMAIL PROTECTED] wrote:
Hi all,
I would like to perform regular expression replace (e.g. removing
everything from within tags in a XML file) with multiple-line pattern.
How can I do this?
where =
Od: Zdenek Maxa [EMAIL PROTECTED]
Předmět: Re: multiline regular expression (replace)
Datum: 29.5.2007 13:46:32
[EMAIL PROTECTED] wrote:
On May 29, 2:03 am, Zdenek Maxa [EMAIL PROTECTED] wrote:
Hi all,
I would like to perform regular
On Mon, 2007-05-28 at 23:34 -0700, Raymond Hettinger wrote:
On May 28, 8:36 pm, Carsten Haese [EMAIL PROTECTED] wrote:
And while
we're at it, it probably should be keyfunc(value), not key(value).
No dice. The itertools.groupby() function is typically used
in conjunction with sorted().
How much more complex?
On May 28, 1:20 am, Laurentiu [EMAIL PROTECTED] wrote:
Hello!
i was searching the net for some video tutorials (free
and payed).
i found some interesting stuff atwww.showmedo.combut
i want something more complex.
can someone give me some address for video tutorials
I installed the source code on unix for python 2.5.1. The install went
mainly okay, except for some failures regarding:
_ssl, _hashlib, _curses, _curses_panel.
No errors regarding sqlite3.
However, when I start python and do an import sqlite3 I get:
/ptmp/bin/ python
Python 2.5.1 (r251:54863,
On May 28, 4:54 am, Troels Thomsen nej tak ... wrote:
Hello All
I have trouble printing to stdout from a thread and main program.
Not only will it look strange when they try to print at the same time, that
is ok, but i think i see lock-ups. (strange exceptions in Tkinker etc) Or is
it an
Jon Harrop [EMAIL PROTECTED] wrote:
Anyway, are there any libraries to do hardware accelerated vector graphics
in Perl, Python, Lisp, Java or any functional language (except OCaml and F#
and excluding WPF and Silverlight)?
http://www.cairographics.org/bindings/
That covers all the languages you
If there is a wxPython on Debian user in the house? I am using the
version of the demo that came with the apt-get download of wxPython.
I thought I'd followed the instructions for installing and unpacking
the wxPython demo program. It appears to run after a fashion, but I
also get this at the
On May 28, 10:46 pm, George Sakkis [EMAIL PROTECTED] wrote:
I'm reading the docs on sys.exc_info() but I can't tell for sure
whether I'm using it safely to get a snapshot of an exception and
reraise it later. The use case is a class which acts like a deferred
callable, a callable that will be
On May 29, 8:38 am, BartlebyScrivener [EMAIL PROTECTED] wrote:
If there is a wxPython on Debian user in the house? I am using the
version of the demo that came with the apt-get download of wxPython.
I thought I'd followed the instructions for installing and unpacking
the wxPython demo
On May 29, 4:39 pm, Steve Holden [EMAIL PROTECTED] wrote:
Alternatively, the user could make use of the already-existing sched
module from the standard library. With a little threading that would do
the job fine.
regards
Steve
--
Steve Holden+1 571 484 6266 +1 800 494 3119
On May 29, 11:03 am, Zdenek Maxa [EMAIL PROTECTED] wrote:
Hi all,
I would like to perform regular expression replace (e.g. removing
everything from within tags in a XML file) with multiple-line pattern.
How can I do this?
where = open(filename).read()
multilinePattern = ^tag \/tag$
On Tuesday 29 May 2007 00:08, Carsten Haese wrote:
On Mon, 28 May 2007 23:46:00 -0400, Ron Provost
wrote
[...] python is not happy about my circular
imports [...]
A circular import is not a problem in itself.
I'm guessing you're running into a situation
like this:
Module A imports
On May 29, 5:52 pm, Simon [EMAIL PROTECTED] wrote:
I installed the source code on unix for python 2.5.1. The install went
mainly okay, except for some failures regarding:
_ssl, _hashlib, _curses, _curses_panel.
No errors regarding sqlite3.
However, when I start python and do an import
On Tuesday 29 May 2007 08:52, Simon wrote:
I installed the source code on unix for python
2.5.1. The install went mainly okay, except for
some failures regarding: _ssl, _hashlib,
_curses, _curses_panel.
No errors regarding sqlite3.
However, when I start python and do an import
sqlite3 I
Steve Howell a écrit :
--- Carsten Haese [EMAIL PROTECTED] wrote:
On Sun, 2007-05-27 at 07:30 +, OKB (not
okblacke) wrote:
Underscores are harder to type than any
alphanumeric character.
This is a discussion about underscores versus
capital letters denoting
the word
Dear community,
I want to use the sort function to sort a (nested) list. General information
can be found below.
http://www.python.org/doc/2.4.2/lib/typesseq-mutable.html
http://wiki.python.org/moin/HowTo/Sorting
http://www.python.org/doc/2.4.4/whatsnew/node12.html
I want to solve the
SCons is a software construction tool (build tool, or make tool) written
in Python. It is based on the design which won the Software Carpentry
build tool competition in August 2000.
Version 0.97 of SCons has been released and is available for download
from the SCons web site:
I have created an image hosting site and when a user uploads an image,
I want a service to run on the server to create a few thumbnails while
the user does other things.
My stupid host (pair.com) doesn't have PIL installed and I'm too much
of a stupid newbie to figure out how to get it to
Anyone doing python application authentication using RSA SecurID
tokens? We have a Pylons app that needs this.
I've written code against RSA's API and found the docs terrible and
the libraries painful to use. RSA has a RADIUS server fronting their
server so I expect I could use that
Dear community,
I want to use the sort function to sort a (nested) list. General information
can be found below.
http://www.python.org/doc/2.4.2/lib/typesseq-mutable.html
http://wiki.python.org/moin/HowTo/Sorting
http://www.python.org/doc/2.4.4/whatsnew/node12.html
I want to solve the
Orlando Döhring a écrit :
...
A = [ 3 7 5
0 4 2 ];
# in Python: A = [[3,7,5],[0,4,2]]
[B,IX] = sort(A,2)
# sort by rows
B =
3 5 7
0 2 4
IX =
1 3 2
1 3 2
# first line: 3 was formerly in the first position, 5
eGenix.com mxODBC 3.0 Developer Licenses Available
eGenix is pleased to announce the immediate availability of developer
licenses for our
I found him!
http://programming.reddit.com/info/k9dx/comments
--
http://mail.python.org/mailman/listinfo/python-list
Hi Eric,
You make a compelling argument for underscores. I sometimes help a visually
impaired friend with setting up his computers.
I'm wondering about the aural output to you second example:
link.set_parse_action(emit_link_HTML)
Does it sound like this:
link dot set under parse under action
I haven't followed up. When I last looked, I found the problem space
is too large for one person (or project) to do it all. So the job is to
glue together lots of good OSS tools -- which is a very pythonic task.
The absolute requirement for Knowledge-Based-Engineering is an API which
allows a
I was looking for a function to transform a unicode string into
htmlentities. Not only the usual html escaping thing but all
characters.
As I didn't find I wrote my own:
# -*- coding: utf-8 -*-
from htmlentitydefs import codepoint2name
def unicode2htmlentities(u):
htmlentities = list()
Hi I wonder if you can set what subclass a class should
have at instance creation.
The problem is that I have something like:
class CoreLang():
def AssignVar(self, var, value):
pass
class Lang1(CoreLang):
def AssignVar(self, var, value):
return var, =, value
class
Clodoaldo [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I was looking for a function to transform a unicode string into
htmlentities.
u'São Paulo'.encode('ascii', 'xmlcharrefreplace')
'S#227;o Paulo'
--
http://mail.python.org/mailman/listinfo/python-list
On May 29, 12:57 pm, Richard Brodie [EMAIL PROTECTED] wrote:
Clodoaldo [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I was looking for a function to transform a unicode string into
htmlentities.
u'São Paulo'.encode('ascii', 'xmlcharrefreplace')
'S#227;o Paulo'
That was a
In the file snippet below the value for the global hostName is
determined at runtime. Functions imported from the parent baseClass
file such as logon also need access to this variable but cannot see it
the with the implementation I have attempted here.
Also, functions in this file and in the
HMS Surprise [EMAIL PROTECTED] skrev i en meddelelse
news:[EMAIL PROTECTED]
In the file snippet below the value for the global hostName is
determined at runtime. Functions imported from the parent baseClass
file such as logon also need access to this variable but cannot see it
the with the
On May 29, 9:46 am, [EMAIL PROTECTED] wrote:
On May 28, 10:46 pm, George Sakkis [EMAIL PROTECTED] wrote:
I'm reading the docs on sys.exc_info() but I can't tell for sure
whether I'm using it safely to get a snapshot of an exception and
reraise it later. The use case is a class which acts
Hi,
I am trying to send a mail using smtplib. My server requires me to
authenticate, for this I'm using SMTP.login function. However it
fails-
server = smtplib.SMTP(host='mail.domain', port=25)
server.login('username', 'password')
Traceback (most recent call last):
File stdin, line 1, in ?
Hi,
Is it possible to have different items in a listbox in different
colors? Or is it just one color for all items in a listbox?
Thanks
Rahul
--
http://mail.python.org/mailman/listinfo/python-list
Ramashish Baranwal wrote:
Hi,
I am trying to send a mail using smtplib. My server requires me to
authenticate, for this I'm using SMTP.login function. However it
fails-
server = smtplib.SMTP(host='mail.domain', port=25)
server.login('username', 'password')
Traceback (most recent call
En Tue, 29 May 2007 13:51:09 -0300, George Sakkis
[EMAIL PROTECTED] escribió:
The traceback module is handy if you want a text representation of the
traceback, not the actual traceback. The reason I want to store the
actual traceback is to make the exception transparent to the user,
i.e.
On May 29, 8:52 pm, glomde [EMAIL PROTECTED] wrote:
Hi I wonder if you can set what subclass a class should
have at instance creation.
The problem is that I have something like:
class CoreLang():
def AssignVar(self, var, value):
pass
class Lang1(CoreLang):
def
Why not just have Lang1 and Lang2 inherit from WriteStruct as well?
On May 29, 8:52 am, glomde [EMAIL PROTECTED] wrote:
Hi I wonder if you can set what subclass a class should
have at instance creation.
The problem is that I have something like:
class CoreLang():
def AssignVar(self,
En Tue, 29 May 2007 04:24:15 -0300, 人言落日是天涯,望极天涯不见家
[EMAIL PROTECTED] escribió:
On 5月29日, 下午3时05分, Martin v. Lowis [EMAIL PROTECTED] wrote:
yes, it could print to the terminal(cmd.exe), but when I write these
string to file. I got the follow error:
File E:\Tools\filegen\filegen.py,
On May 29, 8:51 am, [EMAIL PROTECTED] wrote:
The wxPython
website details how to get the latest version of wxPython (2.8.4)
I'm fairly new to Linux, so I probably shouldn't mess with my stable
Etch.
I'll make do with this version of wxPython or go back to puzzling over
Tkinter.
Thanks,
rick
On 29 Maj, 19:27, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Why not just have Lang1 and Lang2 inherit from WriteStruct as well?
This wont work I think since if add antoher Class:
class WriteStruct():
def func1(self);
print Hello2
def Generate(self):
self.func1()
class
On 29 Maj, 19:20, Ramashish Baranwal [EMAIL PROTECTED]
wrote:
On May 29, 8:52 pm, glomde [EMAIL PROTECTED] wrote:
Hi I wonder if you can set what subclass a class should
have at instance creation.
The problem is that I have something like:
class CoreLang():
def AssignVar(self,
On May 29, 8:52 pm, glomde [EMAIL PROTECTED] wrote:
Hi I wonder if you can set what subclass a class should
have at instance creation.
The problem is that I have something like:
class CoreLang():
def AssignVar(self, var, value):
pass
class Lang1(CoreLang):
def
Hi,
yes:
import re
a=
I Am
Multiline
but short anyhow
b=(I[\s\S]*line)
print re.search(b, a,re.MULTILINE).group(1)
gives
I Am
Multiline
Be aware that . matches NO newlines!!!
May be this caused your problems?
regards
Holger
Zdenek Maxa wrote:
[EMAIL PROTECTED] wrote:
On May
hello,
The C++ application uses a python module which wraps commands set for CVS
management:
checkout, checkin and tag.
We used python2.5.1 and Visual C++ 6.0
The problem we get is:
After a good import and definition of python functions we have a random
unhandled exception (from python25.dll)
On May 29, 12:33 pm, BartlebyScrivener [EMAIL PROTECTED] wrote:
On May 29, 8:51 am, [EMAIL PROTECTED] wrote:
The wxPython
website details how to get the latest version of wxPython (2.8.4)
I'm fairly new to Linux, so I probably shouldn't mess with my stable
Etch.
I'll make do with this
On May 29, 1:21 pm, Gabriel Genellina [EMAIL PROTECTED]
wrote:
En Tue, 29 May 2007 13:51:09 -0300, George Sakkis
[EMAIL PROTECTED] escribió:
The traceback module is handy if you want a text representation of the
traceback, not the actual traceback. The reason I want to store the
actual
On May 29, 12:02 pm, [EMAIL PROTECTED] wrote:
Hi,
Is it possible to have different items in a listbox in different
colors? Or is it just one color for all items in a listbox?
Thanks
Rahul
Looks like it has to be the same color and font:
In article [EMAIL PROTECTED],
Erik Max Francis [EMAIL PROTECTED] wrote:
Donn Cave wrote:
Anyone who finds this surprising, might enjoy reading this
article from the time several years ago when the feature
was being considered. When you have some time - it's long,
but interesting.
tis 2007-05-29 klockan 09:05 +0200 skrev Martin v. Lowis:
Yes, when writing to a file, you need to define an encoding, e.g.
self.file.write(data.encode(utf-8))
You can use codecs.open() instead of open(),
so that you can just use self.file.write(data)
If I for some reason can't open the
Hi, i'm new in Python and i'm trying to write some server which can
confirm connection from client.
Here is a part of code:
import sys
import threading
from socket import *
class TelGUI(threading.Thread):
def __init__(self):
threading.Thread.__init__(self)
def
glomde schrieb:
Hi I wonder if you can set what subclass a class should
have at instance creation.
The problem is that I have something like:
class CoreLang():
def AssignVar(self, var, value):
pass
class Lang1(CoreLang):
def AssignVar(self, var, value):
Donn Cave wrote:
Not that it is of no historical interest to review all these
reasonable arguments, but allow me to restore the context quote
from my follow-up:
If the counterpoints are of no historical interest, then the original
point must be of no historical interest either, since it was
On May 29, 7:05 am, vasudevram [EMAIL PROTECTED] wrote:
On May 29, 5:52 pm, Simon [EMAIL PROTECTED] wrote:
I installed the source code on unix for python 2.5.1. The install went
mainly okay, except for some failures regarding:
_ssl, _hashlib, _curses, _curses_panel.
No errors
On May 29, 1:09 pm, [EMAIL PROTECTED] wrote:
The newer versions of wxPython won't make your Debian crash or
anything.
Thanks, mike, i'll try it.
rick
--
http://mail.python.org/mailman/listinfo/python-list
En Tue, 29 May 2007 15:13:33 -0300, George Sakkis
[EMAIL PROTECTED] escribió:
On May 29, 1:21 pm, Gabriel Genellina [EMAIL PROTECTED]
wrote:
A traceback contains a linked list of frames, each with its own globals
and locals and lot of context info.
I'm not sure that moving a traceback
En Tue, 29 May 2007 15:16:52 -0300, Ragnar Ouchterlony
[EMAIL PROTECTED] escribió:
If I for some reason can't open the object myself or needs encoding on
other file-like objects, I think the following wrapper function is of
use (it essentially does what codecs.open() does but takes a
no`name` wrote in news:[EMAIL PROTECTED]
in comp.lang.python:
maybe someone have some ideas how to block first stdin in main
function and get stdin from the thread when here is a new connection?
No, but you could instead use a Queue:
http://docs.python.org/lib/module-Queue.html
so
Warren Stringer wrote:
Hi Eric,
You make a compelling argument for underscores. I sometimes help a visually
impaired friend with setting up his computers.
I'm wondering about the aural output to you second example:
link.set_parse_action(emit_link_HTML)
Does it sound like this:
Hello,
For a personal project, I need to use speex with Python on Win32, but
pyspeex is compiled for python 2.2.
Could somebody try to compile pyspeex for python 2.5 please ?
Thanx a lot for your help.
--
http://mail.python.org/mailman/listinfo/python-list
On 29 mai, 21:28, [EMAIL PROTECTED] wrote:
Hello,
For a personal project, I need to use speex with Python on Win32, but
pyspeex is compiled for python 2.2.
Could somebody try to compile pyspeex for python 2.5 please ?
Thanx a lot for your help.
I forgot to give the url :
I am trying to send a mail using smtplib. My server requires me to
authenticate, for this I'm using SMTP.login function. However it
fails-
server = smtplib.SMTP(host='mail.domain', port=25)
server.login('username', 'password')
Traceback (most recent call last):
File stdin, line
In article [EMAIL PROTECTED],
Erik Max Francis [EMAIL PROTECTED] wrote:
Donn Cave wrote:
Not that it is of no historical interest to review all these
reasonable arguments, but allow me to restore the context quote
from my follow-up:
If the counterpoints are of no historical interest,
glomde wrote:
Hi I wonder if you can set what subclass a class should
have at instance creation.
The problem is that I have something like:
class CoreLang():
def AssignVar(self, var, value):
pass
class Lang1(CoreLang):
def AssignVar(self, var, value):
En Tue, 29 May 2007 15:01:07 -0300, fabien.lyon [EMAIL PROTECTED]
escribió:
hello,
The C++ application uses a python module which wraps commands set for CVS
management:
checkout, checkin and tag.
We used python2.5.1 and Visual C++ 6.0
2.5.1 is compiled with Visual Studio 2005 - I hope you
tis 2007-05-29 klockan 16:08 -0300 skrev Gabriel Genellina:
sys.stdout = filewrapper(sys.stdout, 'utf-8')
print uåäö \N{GREEK CAPITAL LETTER DELTA}
Useful if you don't want to append .encode() to everything you print out
that potentially can contain non-ascii letters.
Isn't the same
On 29 Maj, 22:45, Steve Holden [EMAIL PROTECTED] wrote:
glomde wrote:
Hi I wonder if you can set what subclass a class should
have at instance creation.
The problem is that I have something like:
class CoreLang():
def AssignVar(self, var, value):
pass
class
1 - 100 of 137 matches
Mail list logo