| |
thread by: Colin J. Williams |
last post Jul 18 '05 by: Colin J. Williams
numarray is a package which is under development and intended to replace
Numeric, an efficient and operational package.
One of the classes in numarray is NumArray. As currently implemented,
instances of this class are instantiated using factory functions. This
appears to restrict the sub-classing of NumArray
Examples: a sub-class...
|
thread by: Samuel Schulenburg |
last post Jul 18 '05 by: Michael Hudson
Who should I contact about accessing my account on Starship. I need to
obtain a new password and access process.
I think i am having a memory lapse as it has been over a year sense I
have had a need to access my files.
Sam Schulenburg
|
thread by: Dominik Kaspar |
last post Jul 18 '05 by: Bob Gailer
i'm used to java and its strict way of defining variables. so how is
it possible to reach something like a class variable in python?
with the following code i didn't have much succes...
class Server(threading.Thread):
running = 0 (??)
def run(self):
running = 1
while running:
|
thread by: Sam |
last post Jul 18 '05 by: Terry Reedy
Hello,
I am playing with the nntplib module and would like to know a public
server that I can connect to to get articles from comp.lang.python. If
you could give me the address of a public server that would be great.
Thanks,
Sam.
|
thread by: jwsacksteder |
last post Jul 18 '05 by: Alex Martelli
I have a working COM object that registers and I can 'dispatch' correctly. I
need register a type library for this project to integrate with my
application- Crystal Reports.
I understand I need to compose an IDL file, then process that with MIDL.exe
to produce a .tlb file. That can then be add as a resource to the .dll that
py2exe creates....
|
thread by: Christos TZOTZIOY Georgiou |
last post Jul 18 '05 by: Christos TZOTZIOY Georgiou
I got my hands on a Itanium2 machine, and gcc builds 64-bit
executables by default. (sys.maxint = 9223372036854775807). _tkinter,
audioop and imageop didn't compile at first, and I believe it's a
problem of configure.
I changed Modules/Setup and removed the hashes from the relevant
modules, and a recompilation worked fine; so did running...
|
thread by: Denis S. Otkidach |
last post Jul 18 '05 by: Bengt Richter
I've noticed that the order of attribute lookup is inconsistent
when descriptor is used. property instance takes precedence of
instance attributes:
>>> class A(object):
.... def _get_attr(self):
.... return self._attr
.... attr = property(_get_attr)
....
>>> a=A()
|
| |
thread by: N |
last post Jul 18 '05 by: N
Hi,
I'm new to web services and the like and
i'm trying to create my own server.
The documentation for SOAP in general on python seems to
be very sparse (or i'm looking in the wrong place).
How can i create a method in python to return more than one bit
of data? I'm using the registerObject method in SOAPServer and i have
|
thread by: Toby Donaldson |
last post Jul 18 '05 by: Alex Martelli
Hi all,
I'm designing an educational application that will run Python code and
check the output against a pre-define answer. I want to use the "exec"
statement to run the code, but I don't know how to get output from it.
For instance, exec works like this:
>>> code = """
for i in xrange(1, 5):
|
thread by: Eric Texier |
last post Jul 18 '05 by: Christopher Koppler
On linux, I am parsing the output of an executable
that's returning color and font information, thing like
\x1b[1m\x1b[31m.
It's there a module that will help me clean up those control,
or do I have to do it with regular expression.
Thanks for your help
|
thread by: Anthony Baxter |
last post Jul 18 '05 by: Michael Hudson
On behalf of the Python development team and the Python community, I'm
happy to announce the release of Python 2.3.2 (release candidate 1).
Python 2.3.2 is a bug-fix release, to repair a couple of build problems
and packaging errors in Python 2.3.1. Assuming no major problems crop up,
a final release of Python 2.3.2 will follow later this...
|
thread by: ryan scott |
last post Jul 18 '05 by: Alex Martelli
Hi,
Is it possible to set
Application.Calculation = xlCalculationManual
in Python?
I tried
from win32com.client import *
|
thread by: anuradha.k.r |
last post Jul 18 '05 by: anuradha.k.r
hi,
I have a problem with installing tkinter*.rpm file.I am using a
redhat linux 8.0 machine.I have python2.2 available in my
machine,however tkinter is not present.(i guess it was not checked
during pyton installation)I checked up the net and found one of these
rpm files which seems can be installed "tkinter-2.2.1-17.i386.rpm".
I tried rpm...
|
thread by: rhmd |
last post Jul 18 '05 by: rhmd
Just found Python and I love it. What an elegant language!
I would like to use it for various applications, but the
mathematical calculations are way too slow (a million sines 8 seconds
in Python vs. 2 seconds in Excel VBA), so was thinking of learning
enough C++ to do the number crunching in C++ and integrating the C++
routines with Python....
|
thread by: anuradha.k.r |
last post Jul 18 '05 by: Xavier Martinez
hi,
Have a problem in python installation.I have already installed
python 2.2 in my linux machine,but i guess tkinter packages were not
selected then.Now i want to use tkinter as an interface for my
program(actually i wanted to check if my python program written in
windows side works fine on linux side also).
is there any way i can include...
|
| |
thread by: F. GEIGER |
last post Jul 18 '05 by: F. GEIGER
Hi again,
I'd like to rename a page of a notebook. Deleting the page and adding a new
one is not really an option, because the page is filled with other controls
already. So I looked into Pmw.Notebook. There are quite a few lists and
dicts which were to be changed and I wasn't successful in the first try.
However, if nobody has ever done...
|
thread by: AK |
last post Jul 18 '05 by: AK
Hi, I coded a little game in curses, loosely based on nethack but where
you command the monsters against the hero (and his dog).
I don't have time to develop it further, so I thought someone may look
at it and play wit the code.
It is playable now - and entertaining to an extent - but still very
incomplete.
So far it's got:
|
thread by: Matthew Wilson |
last post Jul 18 '05 by: Tom Hanks
Hi-
I want to print stuff like:
>>> "d1: %s, probability: %0.2f" % (d1, prob)
to a file, but when I do:
>>> str = "d1: %s, probability: %0.2f" % (d1, prob)
>>> outfile = open("out.txt", "w")
|
thread by: Fernando Armenta |
last post Jul 18 '05 by: Gordon Airport
Hello,
I am trying to pass the following command
ssh IP_address "ssh IP_address ls"
|
thread by: Mark Hahn |
last post Jul 18 '05 by: Mark Hahn
I am trying to parse HTML for the first time. I first installed
4Suite-1.0a3.win32-py2.3.exe and then realized I didn't need it. Then I
installed PyXML-0.8.3.win32-py2.3.exe. Now when I try to execute this as
the first line of my module ...
from xml.dom.ext.reader import Sax2
.... I get this Exception ...
Sequence index out of...
|
thread by: Gez |
last post Jul 18 '05 by: Fernando Perez
Hi,
Does anyone know if there is a wavelet package available for Python?
This package should at least have the Daubechy wavelet.
Cheers,
Gez 75
|
thread by: Jean-Sébastien Bolduc |
last post Jul 18 '05 by: Peter Abel
Hello,
I would like to associate a local namespace with a lambda function. To
be more specific, here is exactly what I would want:
def foo():
a = 1
f = lambda x : a*x
return f
|
thread by: Robert Clayton |
last post Jul 18 '05 by: Skip Montanaro
When a Python program declares import _XXXX.
What form is XXXX when the underbar is included (_XXX)?
Thanks
|
| |
thread by: Lucas Raab |
last post Jul 18 '05 by: Alex Martelli
Can I use Python as an extension language to Visual Basic sort of like in C
or C++?
|
thread by: Philippe Grosse |
last post Jul 18 '05 by: David M. Cooke
Hi,
I don't understand this strange behaviour:
I compile this code :
#include <Python.h>
#include"Numeric/arrayobject.h"
static PyObject *
|