| |
thread by: srijit |
last post Jul 18 '05 by: Peter Hansen
Hello,
Can we have a download option for upcoming Python 2.3 without TCL/Tk?
Though I know the extremely popular Tkinter is the default GUI of
Python, I see one immediate advantage of a download option without
TCL/Tk
1) Download size is less and it is a boon for people like me with slow
modem connection.
2) Tkinter with TCL/TK can be a...
|
thread by: Frank Millman |
last post Jul 18 '05 by: Frank Millman
Hi all
I would like some advice, and I hope that the good people on c.l.p
will give me the benefit of their experience.
I am busy developing an accounting package, using Python and wxPython,
together with PostgreSQL on a Unix platform or SQL Server on a Windows
platform. I am a qualified accountant and have been developing
accounting...
|
thread by: Jon Schull |
last post Jul 18 '05 by: Jon Schull
I find that cgitb fails to show error context if I've changed my
default directory, so I tried to subclass cgitb and get it to save the
directory we were in when the program started. Didn't work. I'd
appreciate your eyes.
Problem--this apparently fails to find my sourcefile when #os.chdir is
uncommented from this cgi program...
|
thread by: Andy Jewell |
last post Jul 18 '05 by: Martin v. Löwis
Does anyone know of a way to dynamically reload all the imported modules of a
client module?
I'm writing a program that I have broken down into quite a few submodules, and
the 'configuration' is done with modules too. As I am developing the app, I
need to test bits and pieces here and there. This is what I currently do:
In each...
|
thread by: Paradox |
last post Jul 18 '05 by: Paradox
I am trying to convert some group 4 Tif images to JPG. I can load the
image fine and can read attributes but every method I call raises this
error (IOError: decoder group4 not available). Is there any extra
package that I am needing. I searched the PDF help and the PIL website
and can't find any reference to anything like that.
|
thread by: Andreas Bauer |
last post Jul 18 '05 by: Fredrik Lundh
Hi,
I need some information on how to deal with strings which I have
divided by using split(). I'm new to python and don't know how to
handle these split up strings.
And I some one could recommend a good tutorial I would be very
glad. Can't hardly find any.
Thanks in advance.
|
thread by: A |
last post Jul 18 '05 by: A
Hi,
I use a free webhosting. The problem is that if a user visits my website, together with
index.html( my first webpage) also 2 other web pages with ads are open. Is it possible
somehow to prevent that? Or is it possible to close those 2 web pages (more or less full of
advertisements) and let only mine available?
Thanks for help.
Ladislav
|
| |
thread by: Daniel Holth |
last post Jul 18 '05 by: Daniel Holth
Hello! I am trying to embed Python into an xmms plugin using
Debian/unstable/i386, gcc 3.3.1 and Python 2.2.3+. The plugin is a shared
library loaded by xmms. The plugin is dynamically linked with the python
library.
Running scripts works but when I try to import python extensions I get these
kinds of errors:
Traceback (most recent...
|
thread by: Fuzzyman |
last post Jul 18 '05 by: John J. Lee
What's the score on this (the ASPN python compiler) - is it a true
compiler for python ? - what does it output - binary or C++ for .NET
framework............ if the latter then it could be very cool as it
may work with the PocketPC 2003 SDK.... for producing binaries for
PDAs from python... cool...
(I'm sure my terminology is way out of line...
|
thread by: Jason Whitlark |
last post Jul 18 '05 by: Jason Whitlark
One of the benefits of python always thrown about is how easy it is to
use as a macro language. While this certainly has wide applicably, I
have always been interested in a little more; namely, the ability to
record and then edit macros, as in MS Word, Excel, etc. A recent post...
|
thread by: Duncan Smith |
last post Jul 18 '05 by: Duncan Smith
Greetings. I am struggling to track down what I presume is a bug in my
code. The trouble is that it only raises its head occasionally. I have
managed to prune the code to the following:
shutTest.py
--------------------------------------------------------
import cPickle
def test2(iterations):
for i in range(iterations):
|
thread by: Dan Williams |
last post Jul 18 '05 by: Raymond Hettinger
Is there any interest in adding a "Haskellish" take function to
itertools? I know its easy enough to roll my own, I've been using:
take = lambda iter, n:
which works, but I was wondering if it was common enough to get into
itertools?
-Dan
|
thread by: Roy Smith |
last post Jul 18 '05 by: Evan
Up until recently, Python was the only language I'd ever seen that
used the % operator for string replacement. Today, I was perusing the
C++ Boost libraries, and discoverd that boost::format uses a very
similar syntax. The following lines print the same thing in Python
and C++, respectively.
print "int->%i, string->%s" % (42, "wugga,...
|
thread by: Paul Keating |
last post Jul 18 '05 by: Mark Hammond
I need to call a C++ DLL from Python, for which I'm planning to use
boost.python. But the DLL has been written to a VBA interface, and this
means it expects to get variable length arrays as Windows Variants instead
of lists or tuples.
Anyone know how to construct a convincing Windows Variant in Python?
|
thread by: Carsten Heesch |
last post Jul 18 '05 by: Carsten Heesch
Hi,
I wrote some little python programs which run without problems. Now I'd like
to compile them into byte-code.
What do I have to do?
Platform: SuSE Linux 8.2
|
| |
thread by: Miki Tebeka |
last post Jul 18 '05 by: Adam Twardoch
Hello All,
I'm looking for a PDF parser.
Any pointers?
10x.
Miki
|
thread by: Ruslan Spivak |
last post Jul 18 '05 by: Ruslan Spivak
Hello.
Is it possible to convert python program to linux executable program?
Thanks in advance.
Best regards,
Ruslan
|
thread by: Jinu |
last post Jul 18 '05 by: Jinu
while i worked with xml in zope using python i got the following error.
Error Type: AttributeError
Error Value: documentElement
i've installed pyxml,xmllib ,xmldocument .
|
thread by: Michael Welsh |
last post Jul 18 '05 by: Michael Welsh
In order to learn sockets in Python I am trying to write a simple group chat
server and client. I need a little nudge, please. My question contains some
GUI but only as decoration. The root question is asyncore / asynchat. I
have read that twisted makes this all simple, but, I wanted to get my hands
dirty here for educational purposes.
...
|
thread by: Chris |
last post Jul 18 '05 by: Chris
Is there some way to turn off mysql autocommit when connecting? I see
no reference to "autocommit" in the db api doc. I'm trying to use
transactions with mysql (using innodb tables), and it looks like I can
use "begin", but am wondering if there is some other way to just turn
off autocommit.
Thanks,
Chris
|
thread by: Meyer, Tony |
last post Jul 18 '05 by: Peter Hansen
(I did try to google for an answer to this, but couldn't find anything,
although plenty of instances of the warning).
I don't understand this warning:
>>> import fcntl
C:\Program Files\Python23\lib\fcntl.py:7: DeprecationWarning: the FCNTL
module is deprecated; please use fcntl
DeprecationWarning)
>>>
|
thread by: sujata |
last post Jul 18 '05 by: Aahz
Hi,
I have a query regarding threads.
Is it possible to create thread pools in python.i.e. create threads and then retrieve the memory allocated to it so that the same threads can be used over and over again rather than creating new threads each time i wish to execute functions many times. If its possible plz do let me know how to do so.
Can...
|
thread by: YoTuco |
last post Jul 18 '05 by: Michael Hudson
Does (can) an inheritance scheme like this have any adverse effects
(pitt-falls) for the App class inheriting class 'A' twice?
Thanx in advance for your input.
class A:
A_attr = 'A'
...
def A_methods(self):
...
|
| |
thread by: Graeme Matthew |
last post Jul 18 '05 by: Michael Hudson
Hi all, quick one,
I hope I am explaining this properly, I am wanting to do some introspection
on custom object instances, for example:
import md5
>>> m = md5.new()
>>> type(m)
<type 'md5.md5'>
|
thread by: Psymaster |
last post Jul 18 '05 by: Psymaster
Does anybody know where can I get the html version for offline
browsing? It's cumbersome to use the pdf. I've got dial-up and I
can't connect all the time to see the reference.
|