| |
thread by: Alessandro Crugnola *sephiroth* |
last post Jul 18 '05 by: Alessandro Crugnola *sephiroth*
Hi,
i'm using wxPython and wxTextStyled.
How can I intercept document changes for active documents (for example modified with others external editors)?
thanks in advance
--
Alessandro Crugnola
Flash | PHP Developer
http://www.sephiroth.it
|
thread by: Scott Holmes |
last post Jul 18 '05 by: Greg McFarlane
I'm experiencing what seems to be strange behaviour. I don't know if
it's Pmw, Tkinter on Python. I have a button, defined in a
Pmw.buttonbox, that I would like to configure to "sunken" after it has
been clicked/released. Using the example style coding:
self.buttonBox1.add('Add', command = self.addCalendar)
the button remains "sunken"....
|
thread by: dmbkiwi |
last post Jul 18 '05 by: John J. Lee
I have a problem. I have written a python based theme for a linux app
called superkaramba, which is effectively an engine for desktop applets
that utilises python as its theming language. The script basically parses
weather websites, and displays the info in a visually appealing way.
A couple of other people have contributed code to this...
|
thread by: Jeff Epler |
last post Jul 18 '05 by: Jeff Epler
Hello.
Recently, Generator Comprehensions were mentioned again on python-list.
I have written an implementation for the compiler module. To try it
out, however, you must be able to rebuild Python from source, because it
also requires a change to Grammar.
1. Edit Python-2.3/Grammar/Grammar and add an alternative to the
"listmaker"...
|
thread by: Fahd Khan |
last post Jul 18 '05 by: poiboy
The web-based Python software I've written thus far lacks a consistent
approach to generating output. After reading Graham Fawcett's
endorsement of Zope Template Pages in the recent web programming
thread, I looked up TAL and found it to be quite nice. Going through
recent postings on Google it seems SimpleTAL is the standalone TAL
module in...
|
thread by: Mark Carter |
last post Jul 18 '05 by: John J. Lee
I am using Windows 98, python 2.3, ClientCookie 0.4.3a.
When I do:
import ClientCookie
import os
c = ClientCookie.MSIECookieJar(delayload=1)
c.load_from_registry()
I get the response:
Traceback (most recent call last):
|
thread by: John Hunter |
last post Jul 18 '05 by: Robert Kern
I have been playing around with ezPyCrypto. I generated and printed a
key with
>>> import ezPyCrypto
>>> k = ezPyCrypto.key(2048)
>>> print k.exportKey()
I noticed there were a lot of N's and M's, too many to occur by chance
s=k.exportKeyPrivate()
|
| |
thread by: simon place |
last post Jul 18 '05 by: Michael Hudson
is the code below meant to produce rubbish?, i had expected an exception.
f=file('readme.txt','w')
f.write(' ')
f.read()
( PythonWin 2.3 (#46, Jul 29 2003, 18:54:32) on
win32. )
I got this while experimenting, trying to figure out the file objects modes,
|
thread by: Michele Simionato |
last post Jul 18 '05 by: dan
I posted this few weeks ago (remember the C Sharp thread?) but it went
unnoticed on the large mass of posts, so let me retry. Here I get Python+
Psyco twice as fast as optimized C, so I would like to now if something
is wrong on my old laptop and if anybody can reproduce my results.
Here are I my numbers for calling the error function a...
|
thread by: InterScan Notification |
last post Jul 18 '05 by: InterScan Notification
This notification has been sent to inform you that a message has been delivered by InterScan MSS for SMTP.
|
thread by: hokiegal99 |
last post Jul 18 '05 by: mackstann
How can I pass the content of one varible into raw_input? See below for
what I'm trying to do:
XXX = raw_input("1. Enter the string that you'd like to find: ")
y = raw_input("2. Enter the string that you'd like to replace XXX with: ")
I'm trying to pass x into y. I tried the "Enter the string that you'd
like to replace", XXX, "with:"...
|
thread by: Tien Nguyen |
last post Jul 18 '05 by: Tien Nguyen
Hi There,
I installed python2.3 (configured with option
--with-libs='lpthread -lcl'), and egenix-mx-base-2.0.5 on an HPUX
B.11.11 machine. Everything seems to be OK. I can start python and
import mx modules successfully.
tnguyen@local_host:/users/denver/tnguyen 71 % python
Python 2.3 (#1, Aug 26 2003, 16:06:40)
on hp-ux11
|
thread by: Russell E. Owen |
last post Jul 18 '05 by: Russell E. Owen
I'm using urllib.urlopen() to retrieve data via ftp. I'm using Tkinter
to display progress and so using a file even handler to read the data.
My question is whether there's some easy way to do a nonblocking read?
Here's a brief summary of the code:
class ftpget:
def __init__(self, url):
self.bytesRead = 0
|
thread by: Rune |
last post Jul 18 '05 by: Raymond Hettinger
Hi,
I've written a very simple 'kill-server' to help me shut down
processes through Telnet or HTTP. The kill-server is a function and is
launched as a thread. I use the module socket.py on Python v2.3
(Windows)
I can use telnet host:port and enter the secret killword or
use a broser with http://host:port/secret_killword
The...
|
thread by: tjland |
last post Jul 18 '05 by: A. Lloyd Flanagan
Ignore those last two messages accidently sent. Who else has been getting
messages returned that you didnt send. Mail scanners saying their is a
virus? The list i think has been infected with the W32/Sobig.f-MM virus,
anyone else experiencing problems? Also i havent been able to post to the
list its been saying post returned after four hours,...
|
| |
thread by: Christoph Lehmann |
last post Jul 18 '05 by: R.Marquez
Hi
I am a newbie and have a very simple python code, doing some calculations.
maybe there is one already having a code snippet in wxPython for what I need:
(i) simple dialog box, where the user can enter an integer. after
closing the dialog I get this integer. nothing more
(ii) similar for getting a file-name (with a file-dialog)
|
thread by: Tony C |
last post Jul 18 '05 by: Michael Hudson
Is there a default value for PYTHONPATH ?
I've installed Python on both Windows and Linux, and was surprised to see that
this variable is empty.
IS this normal ?
|
thread by: Trader |
last post Jul 18 '05 by: Trader
Hi,
I'm trying to use Mark Hammond's win32clipboard module to extract more
complex data than just plain ASCII text from the Windows clipboard.
For instance, when you select all the content on web page, you can
paste it into an app like Frontpage, or something Rich Text-aware, and
it will preserve all the formatting, HTML, etc. I'd like to...
|
thread by: Krzysztof Kaczkowski |
last post Jul 18 '05 by: Jarek Zgoda
Hello
Im having problem, wxTreeCtrl generate 3 x EVT_TREE_SEL_CHANGED on click
item right button mouse. This problem only win32. Why?
Simple example:
from wxPython.wx import *
class MyApp(wxApp):
def OnInit(self):
|
thread by: jbi130 |
last post Jul 18 '05 by: jbi130
I've built a small curses app with an IRC like interface (not for IRC
tho). The last remaining item is to handle resizing the terminal on
SIGWINCH.
I've tried a few things and everything is failing. I first try to
resize my root window using resize() but then my calls to resize other
windows usually fail..
Whats the proper or common...
|
thread by: Dave |
last post Jul 18 '05 by: Paul Rubin
Hi,
This is doubtless a really dumb question but is there an elegant way
of reading numbers formatted as hex from a datgram?
I get a datgram which contains values like this:
---DATAGRAM---
2aef2d43etc...
---/DATAGRAM--
|
thread by: Berthold Höllmann |
last post Jul 18 '05 by: Berthold Höllmann
Hello,
I'm trying to compile Python 2.3 on Solaris 8, but can't get _tkinter
to work. I got errors about the ancient tcl/tk installed under
/usr/local and installed an new one into the path where Python shall
go. But now the install test after compilation fails with:
*** WARNING: renaming "_tkinter" since importing it failed: ld.so.1:...
|
thread by: Erik Lechak |
last post Jul 18 '05 by: Jack Diederich
Hello all,
I wrote the code below. It is simply a dictionary that uses regular
expressions to match keys. A quick look at _test() will give you an
example.
Is there a module that already does this? Is there a way and would it
be better to use list comprehension? (using python 2.3)
Just looking for a better or more pythonic way to do...
|
| |
thread by: Andrew Dalke |
last post Jul 18 '05 by: Hannu Kankaanpää
Here's a proposed Q&A for the FAQ based on a couple recent
threads. Appropriate comments appreciated
X.Y: Why doesn't Python have macros like in Lisp or Scheme?
Before answering that, a clarification on what 'macro' means.
A Lisp macro is a way of modifying code when that code is first
defined. It can rearrange the structure of the...
|
thread by: PieterB |
last post Jul 18 '05 by: Nick Vargish
I noticed the URL http://starship.python.net/~da/commontasks/
gives a 404 ERROR. That page is quite usefull. It's still in Google's
Cache BTW,
http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=site:starship%2Epython%2Enet+commontasks
I something wrong with the starship, or is the page removed?
PieterB
--
|