eGenix.com mxODBC 3.0 Developer Licenses Available
eGenix is pleased to announce the immediate availability of developer
licenses for our
Announcing PyTables 2.0rc2
PyTables is a library for managing hierarchical datasets and designed to
efficiently cope with extremely large amounts of data with support for
full 64-bit file addressing. PyTables runs on top of the HDF5
BlueJ774 wrote:
Can someone please explain to me the difference between the is
keyword and the == boolean operator. I can't figure it out on my own
and I can't find any documentation on it.
I can't understand why this works:
if text is None:
and why this always returns false:
On May 30, 12:57 am, Erik Max Francis [EMAIL PROTECTED] wrote:
BlueJ774 wrote:
Can someone please explain to me the difference between the is
keyword and the == boolean operator. I can't figure it out on my own
and I can't find any documentation on it.
I can't understand why this works:
Frank Swarbrick [EMAIL PROTECTED] wrote:
Then you'd really love COBOL!
:-)
Frank
COBOL programmer for 10+ years
Hey, did you hear about the object-oriented version of COBOL? They call it
ADD ONE TO COBOL.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza Boekelheide, Inc.
--
On 29 May 2007 19:14:33 -0700, Mike [EMAIL PROTECTED] wrote:
Are there key listeners for Python? Either built in or third party?
--
http://mail.python.org/mailman/listinfo/python-list
I'm pretty sure pygame's got some, don't know about built-ins.
--
Mike wrote:
Are there key listeners for Python? Either built in or third party?
(As always on forums like this, you're most likely to get answers if you
define your terms. A little Goggling informs me that in Java a key
listener is a Java term for a component that generates an event when
Brandon McGinty wrote:
Hi All,
My goal is to be able to read the www.gutenberg.org
http://www.gutenberg.org/ rdf catalog, parse it into a python
structure, and pull out data for each record.
The catalog is a Dublin core RDF/XML catalog, divided into sections for
each book and details
Anthony Jones wrote:
[...]
At its foundation, this course will address the basics of foundation,
corporation, and government grant research. However, this course will
teach a strategic funding research approach that encourages students to
see research not as something they do before they
samwyse wrote:
I'm a relative newbie to Python, so please bear with me. After seeing
how varargs work in parameter lists, like this:
def func(x, *arglist):
and this:
x = func(1, *moreargs)
I thought that I'd try this:
first, *rest = arglist
Needless to say, it didn't work.
Prefix, Infix, Postfix notations in Mathematica
2000-02-21, 2007-05
[In the following essay, I discuss prefix, infix, postfix notations
and Mathematica's syntax for them. The full HTML formatted article is
available at:
http://xahlee.org/UnixResource_dir/writ/notations.html
]
THE HEAD OF
On 5月30日, 下午1时23分, Martin v. Lowis [EMAIL PROTECTED] wrote:
人言落日是天涯,望极天涯不见家 schrieb:
Who could explain the follow issue ?
print u'\u0394'
Δ
print u'\u20ac'
Traceback (most recent call last):
File stdin, line 1, in module
UnicodeEncodeError: 'gbk' codec can't encode character
I created an object that inherits from file and was a bit surprised to
find that print seems to bypass the write method for objects
inheriting from file. An optimization I suppose. Does this surprise
anyone else at all or am I missing something?
import sys
class FromObject(object):
def
Ramashish Baranwal 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..
Thanks,
-Ram
Have a look at Kronos, a
[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
You specify text and foreground colour when you make the box,
so I don't think its possible.
- Hendrik
--
Maric Michaud [EMAIL PROTECTED] wrote:
Is typist ok ? It's the google's translation for dactylo.
Typist is fine, although MCP that I am, I tend to think of
typist as female...
I would call a male one a typer, but I dont think it is correct English.
- Hendrik
--
MisterPete wrote:
I created an object that inherits from file and was a bit surprised to
find that print seems to bypass the write method for objects
inheriting from file. An optimization I suppose. Does this surprise
anyone else at all or am I missing something?
No, your analysis is
Clodoaldo [EMAIL PROTECTED] wrote:
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',
On 30 mai, 04:14, Mike [EMAIL PROTECTED] wrote:
Are there key listeners for Python? Either built in or third party?
What is a key listener ?
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I have a file with a long list of hex characters, and I want to get a
file with corresponding binary characters
here's what I did:
import binascii
f1 = 'c:\\temp\\allhex.txt'
f2 = 'c:\\temp\\allbin.txt'
sf = open(f1, 'rU')
df = open(f2, 'w')
slines = sf.readlines()
for line in
Hi,
Thanks a lot for useful hints to all of you who replied to my question.
I could easily do now what I wanted.
Cheers,
Zdenek
Holger Berger wrote:
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
On Tue, 29 May 2007 19:02:03 +0200, [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
AFAIK, this is not possible with a listbox. You can however quite easily
emulate the
Vishal wrote:
I have a file with a long list of hex characters, and I want to get a
file with corresponding binary characters
here's what I did:
import binascii
f1 = 'c:\\temp\\allhex.txt'
f2 = 'c:\\temp\\allbin.txt'
sf = open(f1, 'rU')
df = open(f2, 'w')
slines = sf.readlines()
for
as i understand there are two ways to write data to a file: using
f.write(foo) and print f, foo.
what i want to know is which one is faster (if there is any difference
in speed) since i'm working with very large files. of course, if there
is any other way to write data to a file, i'd love to hear
I am using Python 2.4 and Postgresql 8.2 database server.
On the database I have created a stored function, example,
CREATE OR REPLACE FUNCTION calculateaverage()
I created a new python script and would like to call my database
stored function.
How can I call a database stored
On 30 mai, 02:30, momobear [EMAIL PROTECTED] wrote:
I forgot to give the url http://www.freenet.org.nz/python/pySpeex/
I Couldn't Open the website.
Maybe it was a temporary shutdown, I have no problem here.
--
http://mail.python.org/mailman/listinfo/python-list
In article [EMAIL PROTECTED],
momobear [EMAIL PROTECTED] wrote:
I forgot to give the url :http://www.freenet.org.nz/python/pySpeex/
I Couldn't Open the website.
It works if you knock the colon off the front of the URL as given.
--
David Wild using RISC OS on broadband
www.davidhwild.me.uk
was up man does this stuff realy works
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
as i understand there are two ways to write data to a file: using
f.write(foo) and print f, foo.
well print will add a '\n' or ' ' if you use ',' after it
what i want to know is which one is faster (if there is any difference
there shouldn't be any noticable
Gary Herron wrote:
samwyse wrote:
I'm a relative newbie to Python, so please bear with me. After seeing
how varargs work in parameter lists, like this:
def func(x, *arglist):
and this:
x = func(1, *moreargs)
I thought that I'd try this:
first, *rest = arglist
Needless to say,
[EMAIL PROTECTED] schreef:
On 30 mai, 04:14, Mike [EMAIL PROTECTED] wrote:
Are there key listeners for Python? Either built in or third party?
What is a key listener ?
I thought it was a rather straightforward name.
Something that listens for a key. In other words, a piece of software
that
George Sakkis wrote:
On May 29, 11:33 pm, Matimus [EMAIL PROTECTED] wrote:
Your attemtp:
[code]
first, rest = arglist[0], arglist[1:]
[/code]
Is the most obvious and probably the most accepted way to do what you
are looking for. As for adding the fucntionality you first suggested,
it isn't
Hello,
I am new (very) to Python and have just down loaded the latest version
of Python (2.5) and WXPython (2.8).
For some reason I cannot get the WXPython demo to run at all. I run
windows XP and it can't find a program to run the demo. Any advice?
(apologies if this has been posted before).
George Sakkis wrote:
The time machine did it again: http://www.python.org/dev/peps/pep-3132/.
Uhm, John Swartzwelder, right?
:D
/W
--
http://mail.python.org/mailman/listinfo/python-list
Andrew P wrote:
Hello,
I am new (very) to Python and have just down loaded the latest version
of Python (2.5) and WXPython (2.8).
For some reason I cannot get the WXPython demo to run at all. I run
windows XP and it can't find a program to run the demo. Any advice?
(apologies if this has
Andrew P wrote:
Hello,
I am new (very) to Python and have just down loaded the latest version
of Python (2.5) and WXPython (2.8).
For some reason I cannot get the WXPython demo to run at all. I run
windows XP and it can't find a program to run the demo. Any advice?
(apologies if this has
[EMAIL PROTECTED] schrieb:
as i understand there are two ways to write data to a file: using
f.write(foo) and print f, foo.
what i want to know is which one is faster (if there is any difference
in speed) since i'm working with very large files. of course, if there
is any other way to write
Matimus a écrit :
(snip)
Remember, in Python there is only one way to do it.
Actually, it's :
There should be one-- and preferably only one --obvious way to do it..
... Which is quite different. Please notice the should, preferably
and obvious.
--
For those who may also work with Prolog :
http://code.google.com/p/pyswip/
--
http://mail.python.org/mailman/listinfo/python-list
Benedict Verheyen a écrit :
[EMAIL PROTECTED] schreef:
On 30 mai, 04:14, Mike [EMAIL PROTECTED] wrote:
Are there key listeners for Python? Either built in or third party?
What is a key listener ?
(snip)
In google, the first link is a link to the java sun home page.
The first sentence on
On 29 maj 2007, at 17.52, Clodoaldo wrote:
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
On May 28, 7:56 am, kilnhead [EMAIL PROTECTED] wrote:
I am trying to use pyAntTasks in Eclipse. I have followed the example
in the ibm doc, but I get the following error:
[taskdef] Could not load definitions from resource
pyAntTasks.properties. It could not be found.
I have added
On May 29, 2:02 pm, [EMAIL PROTECTED] wrote:
Hi,
Is it possible to havedifferentitems in alistboxindifferentcolors? Or is it
justonecolor for all items in alistbox?
Thanks
Rahul
from Tkinter import *
root = Tk()
l = Listbox(root)
l.pack()
for x in range(10):
l.insert(END, x)
samwyse a écrit :
George Sakkis wrote:
On May 29, 11:33 pm, Matimus [EMAIL PROTECTED] wrote:
Your attemtp:
[code]
first, rest = arglist[0], arglist[1:]
[/code]
Is the most obvious and probably the most accepted way to do what you
are looking for. As for adding the fucntionality you
On 5/30/07, Bruno Desthuilliers
[EMAIL PROTECTED] wrote:
Benedict Verheyen a écrit :
[EMAIL PROTECTED] schreef:
On 30 mai, 04:14, Mike [EMAIL PROTECTED] wrote:
Are there key listeners for Python? Either built in or third party?
What is a key listener ?
(snip)
In google, the first
Alchemist schrieb:
I am using Python 2.4 and Postgresql 8.2 database server.
On the database I have created a stored function, example,
CREATE OR REPLACE FUNCTION calculateaverage()
I created a new python script and would like to call my database
stored function.
How can I call a
Steve Howell wrote:
Thanks. Here are two links, not sure those are
exactly what are being referenced here, but look in
the ballpark:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/413137
http://docs.python.org/lib/module-sched.html
You're welcome.
The ActiveState recipe you
Wildemar Wildenburger wrote:
Andrew P wrote:
Hello,
I am new (very) to Python and have just down loaded the latest version
of Python (2.5) and WXPython (2.8).
For some reason I cannot get the WXPython demo to run at all. I run
windows XP and it can't find a program to run the demo. Any
samwyse [EMAIL PROTECTED] wrote:
samwyse wrote:
I thought that I'd try this:
first, *rest = arglist
Needless to say, it didn't work.
[ ... ]
My use-case is (roughtly) this:
first, *rest = f.readline().split()
return dispatch_table{first}(*rest)
first, rest =
On May 30, 10:14 am, Mike [EMAIL PROTECTED] wrote:
Are there key listeners for Python? Either built in or third party?
try pykeylogger, that's maybe u want.
--
http://mail.python.org/mailman/listinfo/python-list
To help debug this, you may want to try the following.
1) Copy smptlib.py into your local directory. On my
box, you can find it here, or import sys; print
sys.path to help find it on your box:
/usr/local/lib/python2.3
2) Go the login() method, add some print statements
there to see
On May 30, 3:05 pm, 人言落日是天涯,望极天涯不见家 [EMAIL PROTECTED] wrote:
On 5月30日, 下午1时23分, Martin v. Lowis [EMAIL PROTECTED] wrote:
人言落日是天涯,望极天涯不见家 schrieb:
Who could explain the follow issue ?
print u'\u0394'
Δ
print u'\u20ac'
Traceback (most recent call last):
File stdin, line 1,
On May 30, 8:53 am, Tommy Nordgren [EMAIL PROTECTED] wrote:
On 29 maj 2007, at 17.52, Clodoaldo wrote:
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:
# -*-
On May 30, 3:05 pm, 人言落日是天涯,望极天涯不见家 [EMAIL PROTECTED] wrote:
On 5月30日, 下午1时23分, Martin v. Lowis [EMAIL PROTECTED] wrote:
人言落日是天涯,望极天涯不见家 schrieb:
Who could explain the follow issue ?
print u'\u0394'
Δ
print u'\u20ac'
Traceback (most recent call last):
File stdin, line 1,
On May 30, 4:25 am, Duncan Booth [EMAIL PROTECTED] wrote:
Clodoaldo [EMAIL PROTECTED] wrote:
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
Hi All,
Pydev and Pydev Extensions 1.3.4 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 May 29, 2:33 pm, 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..
Thanks,
??? wrote:
But the string contained the u'\u20ac' is get from remote host. Is
there any method to decode it to the local 'mbcs'?
remote_string = u'\u20ac'
try:
local_string = remote_string.encode('mbcs')
except:
# no mbcs equivalent available
print encoding error
else:
tsuraan wrote:
Python enters some sort of infinite loop when attempting to read data from a
malformed file that is big5 encoded (using the codecs library). This
behaviour can be observed under Linux and FreeBSD, using Python 2.4 and 2.5.
A really simple example illustrating the bug follows:
I'm sorry to keep bumping my request, but I've been working on this
problem for several months now and am stuck. Perhaps you do not have a
direct answer, but know someone or someforum where I could ask these
XML-RPC or TCP/IP package questions.
Thanks,
Arno.
Arno Stienen wrote:
Perhaps I
HMS Surprise wrote:
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.
Use a class
On May 30, 7:29 am, stef [EMAIL PROTECTED] wrote:
Wildemar Wildenburger wrote:
Andrew P wrote:
Hello,
I am new (very) to Python and have just down loaded the latest version
of Python (2.5) and WXPython (2.8).
For some reason I cannot get the WXPython demo to run at all. I run
I've been looking for a Windows version of a library to interface to
PostgreSQL, but can only find ones compiled under Python version 2.4.
Is there a 2.5 build out there?
--
Ben Sizer
--
http://mail.python.org/mailman/listinfo/python-list
kaens a écrit :
On 5/30/07, Bruno Desthuilliers
[EMAIL PROTECTED] wrote:
Benedict Verheyen a écrit :
[EMAIL PROTECTED] schreef:
On 30 mai, 04:14, Mike [EMAIL PROTECTED] wrote:
Are there key listeners for Python? Either built in or third party?
What is a key listener ?
(snip)
In
kaens schreef:
snip
What, he wants to know if there's a way in python to capture
keystrokes, and do something with them depending on what they are.
I mean, it's very unlikely that you would ask for something called a
key listener if you didn't want to do something like:
if keypress ==
Hi
My question is about how special methods are stored internally in
Python objects.
Consider a new-style class which implements special methods such as
__call__ and __new__
class C(type):
def __call__(...):
body
class B:
__metaclass__ = C
stuff
b=
On May 30, 4:15 pm, Ben Sizer [EMAIL PROTECTED] wrote:
I've been looking for a Windows version of a library to interface to
PostgreSQL, but can only find ones compiled under Python version 2.4.
Is there a 2.5 build out there?
--
Ben Sizer
Is this what you are looking for?
I see that the weapon of choice for google maps is javascript... Is
there anything for python?
Kev
--
http://mail.python.org/mailman/listinfo/python-list
On May 30, 1:41 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] schrieb:
what i want to know is which one is faster (if there is any difference
in speed) since i'm working with very large files. of course, if there
is any other way to write data to a file, i'd love to hear
Arno Stienen wrote:
Arno Stienen wrote:
Perhaps I should be a bit more specific. When using this code to connect
to a remote XML-RPC server (C++, xmlrpc++0.7 library):
import xmlrpclib
server = xmlrpclib.Server(http://10.10.101.62:29500;)
print
Raj B [EMAIL PROTECTED] wrote:
Hi
My question is about how special methods are stored internally in
Python objects.
Consider a new-style class which implements special methods such as
__call__ and __new__
class C(type):
def __call__(...):
body
class B:
On 5月30日, 下午9时03分, Tijs [EMAIL PROTECTED] wrote:
??? wrote:
But the string contained the u'\u20ac' is get from remote host. Is
there any method to decode it to the local 'mbcs'?
remote_string = u'\u20ac'
try:
local_string = remote_string.encode('mbcs')
except:
# no
samwyse [EMAIL PROTECTED] wrote:
...
Actually, I'm surprised that the PEP does as much as it does. If tuples
are implemented as S-expressions, then something like this:
Tuples are implemented as compact arrays of pointer-to-PyObject (so are
lists, BTW). So, for example, a 10-items tuple
人言落日是天涯,望极天涯不见家 wrote:
Yes, it works, thank you.
But I doubt this way may not work on linux. Maybe I should write some
additional code for supporting both windows and linux OS.
Depends on what you want to do. Printing to a DOS terminal is hard in
Linux :-) If you write server code, best to
On May 30, 4:53 pm, sturlamolden [EMAIL PROTECTED] wrote:
import numpy
byte = numpy.uint8
desc = numpy.dtype({'names':['r','g','b'],'formats':[byte,byte,byte]})
mm = numpy.memmap('myfile.dat', dtype=desc, offset=4096,
shape=(480,640), order='C')
red = mm['r']
green = mm['g']
blue =
On 30 May, 15:42, Frank Millman [EMAIL PROTECTED] wrote:
On May 30, 4:15 pm, Ben Sizer [EMAIL PROTECTED] wrote:
I've been looking for a Windows version of a library to interface to
PostgreSQL, but can only find ones compiled under Python version 2.4.
Is there a 2.5 build out there?
Is
I am creating a distro of Python to be licensed as GPL am
wondering, what would anyone suggest as to 3rd party modules being put
into it (non-commercial of course!)? I know I'd put MySQLdb into it at
the very least. Any suggestions?
Thanks,
Fark Simmons
[insert clever tagline here /]
--
+1 QOTW
On Wed, 30 May 2007 06:18:36 GMT, Tim Roberts [EMAIL PROTECTED] wrote:
Frank Swarbrick [EMAIL PROTECTED] wrote:
Then you'd really love COBOL!
:-)
Frank
COBOL programmer for 10+ years
Hey, did you hear about the object-oriented version of COBOL? They call it
ADD ONE TO COBOL.
--
Hello,
Ctrl+C is not passed to the interpreter (i guess it) while I'm executing a
script. Instead i get:
forrtl: error (200): program aborting due to control-C event
If I start python in interactive mode Ctrl+C is passed:
bash-3.2$ python
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC
Hello friends!
I am looking for a Ruby Champion to lead the race in Website
development within Java environment...
Who loves programming, with new techniques as well as old.
Who also enjoys hand coding open source technologies with in-depth
knowledge of statistical methods
Has a practical
John DeRosa wrote:
+1 QOTW
Hey, did you hear about the object-oriented version of COBOL? They call it
ADD ONE TO COBOL.
actually it is ADD 1 TO COBOL GIVING COBOL
http://en.wikipedia.org/wiki/COBOL#Aphorisms_and_humor_about_COBOL
--
http://mail.python.org/mailman/listinfo/python-list
I'm using the contract.py library, running Python 2.4.4.
Now I'm confronted with the following exception backtrace:
(...)
File /usr/lib/python2.4/site-packages/contract.py, line 1265, in
_check_preconditions
p = f.__assert_pre
AttributeError: 'function' object has no attribute
Yes, special methods populate the slots in the structures which
Python
uses to represent types. Objects/typeobject.c in the Python source
distribution does the hard work, particularly in function type_new
Thanks for that quick response. I am quite comfortable with C code
and am
Using camel case instead of the under_score means less typing. I am lazy.
fooBar
foo_bar
--
http://mail.python.org/mailman/listinfo/python-list
IT Recruiter wrote:
Hello friends!
I am looking for a Ruby Champion to lead the race in Website
development within Java environment...
Who loves programming, with new techniques as well as old.
Who also enjoys hand coding open source technologies with in-depth
knowledge of
On May 30, 9:33 am, Alexander Eisenhuth [EMAIL PROTECTED]
wrote:
Hello,
Ctrl+C is not passed to the interpreter (i guess it) while I'm executing a
script. Instead i get:
forrtl: error (200): program aborting due to control-C event
If I start python in interactive mode Ctrl+C is passed:
On May 30, 12:36 am, Hendrik van Rooyen [EMAIL PROTECTED]
wrote:
Maric Michaud [EMAIL PROTECTED] wrote:
Typist is fine, although MCP that I am, I tend to think of
typist as female...
- Hendrik
What does being a Microsoft Certified Professional(MCP) have to do
with thinking of a typist as
On 30 May, 16:25, [EMAIL PROTECTED] wrote:
I am creating a distro of Python to be licensed as GPL am
wondering, what would anyone suggest as to 3rd party modules being put
into it (non-commercial of course!)? I know I'd put MySQLdb into it at
the very least. Any suggestions?
What you put
Nebur wrote:
I'm using the contract.py library, running Python 2.4.4.
Now I'm confronted with the following exception backtrace:
(...)
File /usr/lib/python2.4/site-packages/contract.py, line 1265, in
_check_preconditions
p = f.__assert_pre
AttributeError: 'function' object has no
Nebur wrote:
I'm using the contract.py library, running Python 2.4.4.
Now I'm confronted with the following exception backtrace:
(...)
File /usr/lib/python2.4/site-packages/contract.py, line 1265, in
_check_preconditions
p = f.__assert_pre
AttributeError: 'function' object has no
Alexander Eisenhuth wrote:
Hello,
Ctrl+C is not passed to the interpreter (i guess it) while I'm executing a
script. Instead i get:
forrtl: error (200): program aborting due to control-C event
I don't know what forrtl is, but I think it is hijacking your SIGINT signal
handler. Python
I see that the weapon of choice for google maps is javascript... Is
there anything for python?
I wrote the following for finding the latitude/longitude of a
location. You need to set the variable 'key' to the actual key you got
from google.
(Indentation might get mixed up on the way.)
On 30 May 2007 08:25:48 -0700, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I am creating a distro of Python to be licensed as GPL am
wondering, what would anyone suggest as to 3rd party modules being put
into it (non-commercial of course!)? I know I'd put MySQLdb into it at
the very least.
On May 30, 6:04 am, [EMAIL PROTECTED] wrote:
On May 29, 2:02 pm, [EMAIL PROTECTED] wrote:
Hi,
Is it possible to havedifferentitems in alistboxindifferentcolors? Or is it
justonecolor for all items in alistbox?
Thanks
Rahul
from Tkinter import *
root = Tk()
l = Listbox(root)
On May 30, 4:53 pm, sturlamolden [EMAIL PROTECTED] wrote:
However, numpy has a properly working memory mapped array class,
numpy.memmap.
It seems that NumPy's memmap uses a buffer from mmap, which makes both
of them defunct for large files. Damn.
mmap must be fixed.
--
This is for Windows only, but since your target audience is newbies,
that might be fine.
Python Sumo-Distribution for Windows - Freely downloadable Python
distributions for Windows with many extra packages already installed and
ready for use.
-- http://code.enthought.com/enthon/
BJörn
Joe Riopel wrote:
Using camel case instead of the under_score means less typing. I am lazy.
fooBar
foo_bar
camel case makes source code extremely ugly in weird disturbing way
YMMV
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I've been trying to write a PAM module using ctypes. In the
conversation
function (my_conv in the script below), you're passed in a
pam_response**
pointer. You're supposed to allocate an array of pam_response's and
set
the pointer's value to the new array. Then you fill in the array
En Wed, 30 May 2007 04:24:30 -0300, Peter Otten [EMAIL PROTECTED]
escribió:
I created an object that inherits from file and was a bit surprised to
find that print seems to bypass the write method for objects
inheriting from file. An optimization I suppose. Does this surprise
anyone else
On May 30, 12:24 pm, Steve Holden [EMAIL PROTECTED] wrote:
Andrew P wrote:
Hello,
I am new (very) to Python and have just down loaded the latest version
of Python (2.5) and WXPython (2.8).
For some reason I cannot get the WXPython demo to run at all. I run
windows XP and it can't find
1 - 100 of 191 matches
Mail list logo