| |
thread by: Heiko Köhler |
last post Jul 18 '05 by: Heiko Köhler
This version is beta software. CUTE is a QT and Scintilla based code editor,
scriptable with python. CUTE is completely configured with python scripts.
The python API allows to define new commands, which can be mapped to a
shortcut or added to a menu.
There is a handbook for CUTE, but this is still work in progress. The
CUTE/python API is...
|
thread by: Jean-Baptiste Richet |
last post Jul 18 '05 by: Jean-Baptiste Richet
Hello,
weave could be highly usefull to me, but I can't have it work correctly
on my PC, and I can't understand the error message. Could you help me ?
I installed the latest zip package by "python setup.py install", on a
python 2.3 installation (OS = Windows ME), and here is a result when
trying it :
=========================
IDLE 1.0...
|
thread by: Jozsa Boti |
last post Jul 18 '05 by: Jozsa Boti
Hi!
I have a strange problem: I wrote a program in python, and I get an error: ImportError: dynamic module does not define init function (initESSClientAPI) but only if I run the program in certain folders. The same program runs without any error from other folders. Any ideas?
Thanks
|
thread by: Alexander Eisenhuth |
last post Jul 18 '05 by: Alexander Eisenhuth
Hallo,
somehow Installer won't work, even on the simplest python file:
test.py:
---------
import time
print 'time is', time.time()
|
thread by: Peter Hansen |
last post Jul 18 '05 by: Peter Hansen
The next meeting of PyGTA will be held at the usual location and time,
on Tuesday September 23.
Site: 519 Church St. Community Centre
Room no: 31 (signs will be posted)
Address: 519 Church St., near Wellesley
Date: Tuesday, September 23
Time: 8-10 PM
A later announcement will provide details of any presentation which might
|
thread by: Tom |
last post Jul 18 '05 by: Tom
Hi folks,
I need to read information from a file. That is not the problem, BUT
another programm (I have no control about that programm) constantly
writes more information into that specific file. How can I get the new
information that has bee added to that file and that I have not yet
read? I don't want to re-read the entire file, because...
|
thread by: Kali K E |
last post Jul 18 '05 by: Kali K E
Hi,
I am new to Python and excuse me if this problem is very trivial. The
problem is like this.
There is a directory (dirA) that contains files like
mypacakge-2.2.5-15.rpm, mypacakge-2.2.5-90.rpm,
anotherpackage-3.4.25.rpm etc.. As can be seen, some of the files are
new versions of same rpm (mypacakge-2.2.5-15.rpm,
mypacakge-2.2.5-90.rpm in...
|
| |
thread by: Gordon Airport |
last post Jul 18 '05 by: Gordon Airport
I was surprised that I couldn't find enough information out there to get
this to work. Just enough to make a mess ;-). The code below just starts
spitting out what I guess is postscript code, seperated by line feeds
but not carrage returns, so they run right off the page. Certainly
nothing graphical.
....
printerName =...
|
thread by: Ted Holden |
last post Jul 18 '05 by: Ted Holden
This is the little warning to stdout which notes:
** (app1:989): WARNING **: could not find handler `on_......
I'd be grateful if anybody could tell me how to shut those off.
|
thread by: Eric S. Johansson |
last post Jul 18 '05 by: Eric S. Johansson
I'm writing an authentication module for the albatross Web development
system. I am taking the easy way out and implementing an
authentication system designed by people who are hopefully more
skilled with authentication systems than I.
In the process of development, I discovered that pwd.getpwnam() is not
fully functional in that I cannot...
|
thread by: Ron Stephens |
last post Jul 18 '05 by: Ron Stephens
Thanks, Tony, we long term newbies need to stick together ;-))
I just updated a few PythonCard versions of three of the modules from
askMerlin, and posted them in a link right below the askMerlin100.py
command line program. The PythonCard version of election.py in
particular is very easy and illustrates what these programs do. You
will have...
|
thread by: Timo Virkkala |
last post Jul 18 '05 by: Timo Virkkala
Hello.
I'm having some trouble with getting the pyPgSQL module to work. I
installed it and the mxDateTime module into my local directory (I'm
doing this on my university's server and I don't have access to /usr).
When I try to import it I get the following error:
>>> from pyPgSql import libpq
Traceback (most recent call last):
File...
|
thread by: Ravi |
last post Jul 18 '05 by: Ravi
Hi,
I'm looking for a Postgres connection Python module that has good
support for the BYTEA type.
By good support I mean that
-it should have a function to escape the raw binary data as appropriate.
-it must not choke on some rather large 20-30MB files.
-Retrieval using Select statements should be transparent (or pretty simple)
|
thread by: John Hunter |
last post Jul 18 '05 by: John Hunter
When using gdmodule to draw text using true type fonts
im.string_ttf(font, fontsize, angle, (x,y), s, color)
the docs say 'draw string s at (x,y) using the TrueType font at the
given pointsize and angle.' It is not clear to me how gd handles
point size. A fontsize of 12 should be 12/72 = 1/6 inches tall but
how does gd decide what an...
|
thread by: Laura Creighton |
last post Jul 18 '05 by: Laura Creighton
I think it comes from Jeff Sutherland's Agile Programming Methodology,
called Scrum http://jeffsutherland.com/scrum/index.html where work is
planned into month long interations called Sprints. (Jeff must have
terrific stamina if he thinks that the thing to call a month-long race
is a Sprint :-) )
These days we do them shorter -- as in a 4...
|
| |
thread by: Samir Patel |
last post Jul 18 '05 by: Samir Patel
Python comes with huge number of build in libraries. Best way to start python
is to understand this libraries and what it provides by running simple
examples for each libraries. Does anybody know if this is done by anybody? If
not, is test modules are best way to accomplish this? I am interested in
doing something like this in wxPython. My...
|
thread by: python |
last post Jul 18 '05 by: python
Hi-
I have a lot of monthly time series data. I need to be able to compare
two dates and get the number of months that they are apart.
The datetime module is a daily-frequency data type. It has a timedelta
object that returns the difference in days between two dates:
>>> d1 = datetime.date(2002,1,1)
|
thread by: Invalid User |
last post Jul 18 '05 by: Invalid User
How can I specify where the configuration files specfied in the
'data_files' section should go?
For example, if I have:
data_files=)]
How can I have a configuration file placed anywhere else beside the
default '/usr/config' directory?
|
thread by: Luca Calderano |
last post Jul 18 '05 by: Luca Calderano
The Only way is using Com
S.G.A S.p.A.
Nucleo Sistemi Informativi
Luca Calderano
-----Messaggio originale-----
Da: python-list-admin@python.org
Per conto di JZ
|
thread by: Luca Calderano |
last post Jul 18 '05 by: Luca Calderano
I MEAN YOU CAN ACCESS ADO TROUGHT COM
AS EXPLAINED HERE:
import win32com.client
import locale
from os import sys
adCmdStoredProc = 4 # Evaluates CommandText as a stored procedure
name.
|
thread by: Kathleen Kudzma |
last post Jul 18 '05 by: Kathleen Kudzma
I'm having a problem with py2exe for Python 2.3. I got fixed the
Lookuperror no codec search functions registered: can't find encoding by
following the instructions on the py2exe page (added -packages encodings
--force-imports encodings). This resolved the codec error. When I tried to
create an exe with py2exe I still got the following...
|
thread by: Tim Rowe |
last post Jul 18 '05 by: Tim Rowe
Has anybody written a good powerset function for that nice new set
datatype we now have? I've found a powerset operator for Python lists
on the net, but that depends on lists being indexable which sets
aren't. I suppose one answer is to iterate the set into a list, use
the powerset I've got, then iterate the answer back int a set...
|
thread by: Brett C. |
last post Jul 18 '05 by: Brett C.
I have received a few requests since the 'Python Cookbook' was published
to edit my code for a strptime() function in pure Python to run on
Jython 2.1 . I have finally come about and made the necessary changes
and put them online (thanks to Jon Franz for giving the final push).
The code can be found at the Python Cookbook web site at...
|
| |
thread by: Raymond Hettinger |
last post Jul 18 '05 by: Raymond Hettinger
QOTW: "Of course it's still an ugly idiom. But there's a distinction between
ugly-but-works and ugly-and-wrong." -- Michael Chermside commenting on one of
the standard ways to simulate an if-then-else expression.
"This is the nature of Usenet and threaded discussions, where one person makes
several comments, some less on-topic that the...
|
thread by: Steve Williams |
last post Jul 18 '05 by: Steve Williams
The following runs slow, as you might expect. I'm open to advice.
.. . .
def GetTotalPages(self):
self.PPIPrinterWidth = 100 #whatever
self.PPIPrinterHeight = 100 #whatever
self.screenscale = 1.0 #whatever
bitmap = wxEmptyBitmap(
PrinterDefinition * self.PPIPrinterWidth
,PrinterDefinition * self.PPIPrinterHeight)
|