| |
thread by: Marcus Schneider |
last post Jul 18 '05 by: Marcus Schneider
Sorry if this is an extremely stupid question:
I produced some Python modules with TKinter stuff and now I want to
use that from my main program. The windows have wuite some user
interaction. It's easy to bring them to the screen, but how do I make
the communication (i.e. variables) between the main and the modules
happen?
Currently I...
|
thread by: Norbert Nemec |
last post Jul 18 '05 by: Terry Reedy
Hi there,
is there any simple reason why IEEE special values are so poorly supported
in python? Are there any serious efforts to change that? NaN and Inf are an
extremely useful concept for numerical calculations and they would mix
perfectly with the concepts in NumPy, anyhow, the support seems to be
absolutely minimal.
(The ideas in PEP...
|
thread by: jeff |
last post Jul 18 '05 by: Gerhard Häring
Hiya
I just woundering how would I go about detecting addition, deletion or
change to files in a folder?
Ideally id like to look at a linux directory and say watch all its
contents and then have my script flag up a message when one of these
events occurs
not only would it want to watch the directory, but also the
|
thread by: Michael Peuser |
last post Jul 18 '05 by: Michael Peuser
Hi,
I should like to make a distribution (using Tkinter), with standard DLLs
removed.
pythonXX.dll is no problem.
tcl und tk, which make the mass of mega bytes, cannot be removed because
_tkinter.pyd seems to expect them in the same directory
(Question 1) Is there a configration or path setting in py2exe/distutils I
|
thread by: Helmut Jarausch |
last post Jul 18 '05 by: Peter Otten
Hi,
I cannot find out what I miss with my iterator example.
I have a linked list class Queue which has a 'Head' attribute
and the following
def __iter__(self):
if self.Head == None: raise StopIteration
return self.Head
|
thread by: Rami A. Kishek |
last post Jul 18 '05 by: Rami A. Kishek
Can any Pythonwin guru help me here?
I had this problem with Python 1.5.2 and thought upgrading to 2.2.3
would help, but it didn't. Note I get this error on a win ME machine.
Prior to that, I ran Pythonwin on a Win 98 and never got this problem.
Very frequently, when I try to open Pythonwin it refuses to open and
nothing happens, until I...
|
thread by: Rami A. Kishek |
last post Jul 18 '05 by: Rami A. Kishek
I'm in love with Lundh's Introduction to Tkinter manual, but I couldn't
find in it the answer to this simple question: How do I set the
properties of the main application (such as background color, fonts,
etc)? I know I can do it widget by widget, but since the default for
each widget is to inherit the properties of the Application, I was...
|
| |
thread by: Rami A. Kishek |
last post Jul 18 '05 by: Rami A. Kishek
Hi, I would really appreciate help on this from all ye Win-oriented
people. I have been using python under Linux for quite a while, know
little about windows.
I just upgraded my Python on WinME machine from Python 1.5.2 to 2.2.3
(in a separate directory). Using the Pythowin Pythonpath browser, I
edited the python path to add my scripts...
|
thread by: Marcus Schneider |
last post Jul 18 '05 by: Michael Peuser
I use PythonWin on WinXP. Every time I change a module, I have to
leave PythonWin and re enter to make it notice I have made changes. I
guess this is not the normal way to do that.. do I have to store the
module at a specific place? Is there a kind of "reset" command to make
the main module update specific data?
|
thread by: Glenn Stauffer |
last post Jul 18 '05 by: Glenn Stauffer
Does anyone have a reference to a quick how-to for using the cx_Oracle
prepare and execute methods to pre-parse a sql statement and execute it
in a loop to perform efficient inserts into Oracle tables?
I've been looking around and haven't come across anything. My
assumptions for using this aren't working as expected.
Thanks,
Glenn...
|
thread by: Steven |
last post Jul 18 '05 by: Aahz
I'm writing a Python script which can be called from the command-line, and
I want to use my module doc string as the CL help text, but I don't know
how to access my module object from inside the module.
I've tried searching for an answer, but haven't found anything. Please
excuse me if I'm missing something simple, I'm a newbie to Python.
...
|
thread by: Elf M. Sternberg |
last post Jul 18 '05 by: Donn Cave
I'm having a devil of a time with signal handling under BSD 4.4 with
Python and I was hoping that this might ring a bell with someone. Using
the Webware Application Server (a multi-threaded Python application), I
fork off a process to run independently and do some heavy-duty multi-
threaded I/O churning. The process is launched with...
|
thread by: Steve Lamb |
last post Jul 18 '05 by: Steve Lamb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ok, this one I did try before coming here... :)
I am trying to report the status of what is going on to the status
bar of the main window of my wxPython app. I know I'm on the right
track with SetStatusText() but it doesn't always alter the text. What
the program is doing is taking a...
|
thread by: Sami Viitanen |
last post Jul 18 '05 by: JanC
Hello,
How can I check if a file is binary or text?
There was some easy way but I forgot it..
Thanks in adv.
|
thread by: Tom Cross |
last post Jul 18 '05 by: Terry Reedy
Hello-
I have a function that returns to me a text representation of Unicode
data, which looks like this:
...
|
| |
thread by: Yun Mao |
last post Jul 18 '05 by: John J. Lee
Hi, I'm using emacs now. How to run etags so that I can search into my own
source code as well as those site-packages source? Thanks a million!
Yun
|
thread by: Matt Whelan |
last post Jul 18 '05 by: Matt Whelan
Supposedly, recent versions of SWIG can be made to work with MS VC++'s
non-standard integer data types. According to a recent SWIG ChangeLog
entry:
%apply long long { __int64 };
should make Swig happy. But it doesn't. I get Syntax Errors on each
line where __int64 appears.
Am I missing something? I'm new to SWIG (but not to Python...
|
thread by: Dave |
last post Jul 18 '05 by: Jp Calderone
Hi,
Newbie here. Is there a way to have output from a python program go
to the screen the way it does if I use "set -x" in a shell script?
thanks in advance
|
thread by: Paul Miller |
last post Jul 18 '05 by: Paul Miller
We've run into minidom's inabilty to handle large (20+MB) XML files, and
need a replacement that can handle it. Unfortunately, we're pretty
dependent on a DOM, so a pulldom or SAX replacement is likely out of the
question for now.
Has someone done a more efficient minidom replacement module that we can
just drop in? Preferrably written in C?
|
thread by: Lukas Kasprowicz |
last post Jul 18 '05 by: Christopher Boomer
Hi Folks,
I have a string filled with much text converted from a tuple.
when I try to do someting like this:
exclusion = re.sub("\\xf6", "%F6", exclusion) # ö
exclusion = re.sub("\\xfc", "%FC", exclusion) # ü
exclusion = re.sub("\\xe4", "%E4", exclusion) # ä
exclusion = re.sub("\\xdf", "%DF", exclusion) # ß
|
thread by: bezeee |
last post Jul 18 '05 by: Alan Kennedy
At my work we are in the process of building a tool to test an XML based
API. Basically, XML in and XML out over http. Currently, there are two
engines that do all of the schema validations, xml diffs, sending/receiving,
etc. One of these engines in implemented in C# and the other in Java.
Now the choice comes down to which scripting...
|
thread by: JustSomeGuy |
last post Jul 18 '05 by: Gerrit van Dyk
I use to write C++ Apps that called Tcl/Tk from C++.
I such done with Python?
|
thread by: ywsat |
last post Jul 18 '05 by: ywsat
Has anyone experienced the problem where PythonWin debugger hangs you
stop the debug session?
I'm running Windows 2000. Python 2.3.
I have to kill it through the task manager each time.
Thanks
|
| |
thread by: Doug Farrell |
last post Jul 18 '05 by: Doug Farrell
Hi all,
I just installed the wxPython-2.4.1.2 demo RPM on my RedHat Linux 9.0
machine, which has Python 2.2.2 on it, and I'm having a problem
running the demo.py program. Here is a trace of the results:
python demo.py
The font "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,...
|
thread by: Brandon Michael Moore |
last post Jul 18 '05 by: Bengt Richter
I'm trying to test a web application using a tool written in python. I
would like to be able to generate random values to put in fields. I would
like to be able to generate random dates (in a specified range), random
strings (specifying allowed characters and a distribution of lengths), or
choose randomly between several generators (for better...
|