Roundup Issue Tracker release 0.8.3

2005-05-02 Thread Richard Jones
Roundup is a simple-to-use and -install issue-tracking system with command-line, web and e-mail interfaces. It is based on the winning design from Ka-Ping Yee in the Software Carpentry Track design competition. This 0.8.3 release adds one feature and fixes some bugs: Feature: - chinese

ANNOUNCE: tclpython-4.0

2005-05-02 Thread jfontain
### CHANGES ### --- version 4.0 --- allowed evaluation of Tcl code in parent Tcl interpreter from Python interpreters (thanks to Daniel Savard) added tclpython.h file for possible use in extensions to tclpython allowed Tcl interpreter access from C code so tclpython can be extended included

PyMoney

2005-05-02 Thread Batista, Facundo
Title: PyMoney People: I'm glad to announce the kick-off of PyMoney project: http://sourceforge.net/projects/pymoney The project goal is to produce a Money module for Python. If yu want to participate, start reading the pep.txt file, which is the result of two Open Sessions in PyCon2005

Re: MRO problems with diamond inheritance?

2005-05-02 Thread Lee Cullens
Michele Simionato: M.E.Farmer: Your answer lies somewhere in this page ;) http://www.python.org/2.2.2/de­scrintro.html Yes, when it refers to http://www.python.org/2.3/mro.html (section Bad Method Resolution Orders). In short, it is a feature, not a bug. I wanted to thank you

Re: Displaying formatted - data with TKinter

2005-05-02 Thread dimitri pater
hello, take a look at the multilistbox: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52266 http://www.haucks.org/download/MultiListbox.py.gz I use it for this purpose, it looks quite nice regards, DimitriOn 1 May 2005 19:10:19 -0700, custard_pie [EMAIL PROTECTED] wrote: Hi,..I found

What's this error then?

2005-05-02 Thread Sara Khalatbari
You remember me asking about running a program in my code...I got a problem here I copied the msgfmt here : [EMAIL PROTECTED] HEADER]$ ls allsamples Backup file-roller.HEAD.fa.po msgfmt.py header.py my code is: #! /usr/bin/env python import os

Re: Design advice for unit test asserters

2005-05-02 Thread Edvard Majakari
Gary [EMAIL PROTECTED] writes: Hi again, First, thanks to both Kent and Edvard for useful comments. I certainly need to consider whether it make sense to switch to py.test at this time; its simplicity is attractive. For what it's worth, I've also coded a simple py.test skeleton generator,

Re: MRO problems with diamond inheritance?

2005-05-02 Thread Michele Simionato
M.E. Farmer: You would be surprised how many answers you can squeeze out of that one URL. That whole page is worth a month of study( for me anyway ). One month only? You must be pretty smart, one could easily extract a book from that page ;) I am still trying to grasp the 'purpose' of

Re: gtk/qt scintilla help !

2005-05-02 Thread fabien
Neil Hodgson wrote: Fabien: There is a lexPOV.cxx file in the package, but I can not find any POV keywords in any file ( there are about 150 POV keywords). Did i miss it, and if not, how do I create one and include it for the library building ? The Scintilla web site, documentation

Re: MRO problems with diamond inheritance?

2005-05-02 Thread Michele Simionato
BTW, what it your use case? I have yet to see a single compelling use case for multiple inheritance, so I am curious of what your design is. Michele Simionato -- http://mail.python.org/mailman/listinfo/python-list

pyFLTK

2005-05-02 Thread Jason Manley
Hello I am very interested in the pyFLTK GUI widget set. Unfortunately the webpage and mailing lists are very quiet, does anyone here use it or know of a resource I can access to help me with some examples? Cheers JM -- http://mail.python.org/mailman/listinfo/python-list

Re: Tripoli: a Python-based triplespace implementation

2005-05-02 Thread Dominic Fox
karouri wrote: Interesting, but I wonder if you are aware of pylinda (http://www-users.cs.york.ac.uk/~aw/pylinda/) and if so, what's the difference? Tripoli trades off some of the generality of PyLinda in order to support some performance tweaks and some additional graph-related operations.

Re: __del__ and logging

2005-05-02 Thread flupke
Vinay Sajip wrote: flupke flupke at nonexistingdomain.com writes: Hi, i have a class and a class attribute log which is a logger object. In the __del__() function i want to log a message but it fails even if i use self.__class__.log. The error i get is this: Traceback (most recent call

Re: Best way to create temporary file?

2005-05-02 Thread Frank Millman
Ok, thanks for the advice. Frank -- http://mail.python.org/mailman/listinfo/python-list

Re: gtk/qt scintilla help !

2005-05-02 Thread fabien
John Ridley wrote: fabien wrote on Sun, 01 May 2005 05:40:05 -0700: Hello John, Hi, Hello Fabien I am writing a POV-RAY editor with Python using either QT or GTK as GUI 'wrapper'. ( I am still trying both ) [snip] I have also downloaded qscintilla-1.62-gpl-1.5.1. As for GTK, I also

PyAuthD Beta 2a

2005-05-02 Thread Heiko Wundram
PyAuthD - Python Authentication Daemon -- PyAuthD is a project to create PAM, NSS and PPPd modules which communicate with a running Python authentication daemon using a Unix Domain socket. The project focusses so far on creating the necessary modules for PAM,

Using wildcards...

2005-05-02 Thread Harlin Seritt
I looked all over the net but could not find if it is possible to insert wildcards into strings. What I am trying to do is this: I am trying to parse text from a Bible file. In case you're not familiar with the way the Bible organizes itself, it is broken down into Books Chapters Verses. The

Re: Displaying formatted - data with TKinter

2005-05-02 Thread Harlin Seritt
I've used multiple listboxes in the past. Also, you can build a widget that contains multiple listboxes as well. As far as there being one ready to go, I don't know of one. -- http://mail.python.org/mailman/listinfo/python-list

Re: Is python support jxta now?

2005-05-02 Thread Diez B. Roggisch
monkey wrote: Hi all, just read from the jxta.org that a python implemention of jxta framework is being developed. But its project page doesn't state whether it can be use now.. I am interested to learn to develop p2p app, that's why I am studying python now. Or there is any lib in python

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread Reinhold Birkenfeld
Dan Christensen wrote: Roel Schroeven [EMAIL PROTECTED] writes: There's no level 12 yet though. Now there's a 12 and a 13 (at least!). Anyone solved 12? Hints? thanks, Reinhold -- http://mail.python.org/mailman/listinfo/python-list

Re: Which IDE is recommended?

2005-05-02 Thread Dave Cook
On 2005-04-29, John J. Lee [EMAIL PROTECTED] wrote: Dave Cook [EMAIL PROTECTED] writes: Pydev has some compelling features, but I wish I didn't have to run eclipse On 2005-04-27, monkey [EMAIL PROTECTED] wrote: What are those compelling features of Pydev, for an emacs user? For me, the code

Re: doctest's ELLIPSIS

2005-05-02 Thread Sébastien Boisgérault
(Forwarded from Python bug tracker) [ 1192554 ] doctest's ELLIPSIS and multiline statements Tim Peters: [...] doctest has few syntax requirements, but the inability to start an expected output block with ... has always been one of them, and is independent of the ELLIPSIS gimmick. I doubt this

Re: Using wildcards...

2005-05-02 Thread Roel Schroeven
Harlin Seritt wrote: I looked all over the net but could not find if it is possible to insert wildcards into strings. What I am trying to do is this: I am trying to parse text from a Bible file. In case you're not familiar with the way the Bible organizes itself, it is broken down into Books

Comparision of GUI framworks

2005-05-02 Thread Florian Lindner
Hello, I've read the chapter in the Python documentation, but I'm interested in a a more in-depth comparision. Especially regarding how pythonic it is and how well it performs and looks under Windows. I've some C++ experiences with Qt, so I'm very interested to have PyQt compared to wxWindows and

Re: Using wildcards...

2005-05-02 Thread Kent Johnson
Harlin Seritt wrote: I looked all over the net but could not find if it is possible to insert wildcards into strings. What I am trying to do is this: I am trying to parse text from a Bible file. In case you're not familiar with the way the Bible organizes itself, it is broken down into Books

Re: MRO problems with diamond inheritance?

2005-05-02 Thread Michele Simionato
Well, writing that book would be a major undertaking that I am not willing to take any soon ;) However, all you are asking for is already in my lectures at ACCU: http://www.reportlab.org/~andy/accu2005/pyuk2005_simionato_wondersofpython.zip From the README: snip Generally speaking these

Re: Using wildcards...

2005-05-02 Thread George Yoshida
Harlin Seritt wrote: {1:1} Random text here. {1:2} More text here. and so on. Of course the {*} can be of any length, so I can't just do .split() based on the length of the bracket text. What I would like to do is to .split() using something akin to this: textdata.split('{*}') # The '*'

ICQ module ?

2005-05-02 Thread Lad
Hello , Is there an ICQ module? I would like to send a message to users in my contact list, check if a user is online etc. Is there a support in Python? Thanks L.B -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread [EMAIL PROTECTED]
Any hints on level 6 ? There is zip in the page source, ZIp in the image data, but have no clue what to do with them - tried many things :). Thanks, Maciek -- http://mail.python.org/mailman/listinfo/python-list

Locale and cookies

2005-05-02 Thread dagurp
I'm doing a small mod_python project and I'm using a locale for my own language. This is not a problem until I start using cookies because the cookie module in mod_python uses time.strftime() to write the expiration times and therefore makes invalid cookies. I tried to fix this by changing the

Python sockets and recvmsg

2005-05-02 Thread Heiko Wundram
Hi all! I've read up on unix domain sockets, and I've seen that you can send out of bound messages such as sending the processes credentials over the socket. Receiving this requires to call recvmsg, which seems to be unavailable on the standard Python socket type. How would you go about

Re: Python sockets and recvmsg

2005-05-02 Thread Heiko Wundram
On Monday 02 May 2005 14:50, Heiko Wundram wrote: How would you go about implementing this functionality? I don't think that a standard recv() does what I want... Okay, looking at google would've been appropriate... There's Python Eunuchs... I wonder why this hasn't made it into the standard

Re: BitKeeper for Python?

2005-05-02 Thread Bruce Stephens
Nick Craig-Wood [EMAIL PROTECTED] writes: [...] You could try Mercurial http://www.selenic.com/mercurial/ Or Codeville, also written in Python. which aims at being a true bk replacement. Its also written in python. Its being developed at the moment... Codeville's said to be pretty

Re: MRO problems with diamond inheritance?

2005-05-02 Thread M.E.Farmer
Well, writing that book would be a major undertaking that I am not willing to take any soon ;) Well at least you didn't say NO, so when you DO write the book I will buy a copy. However, all you are asking for is already in my lectures at ACCU How many people can say ' No book just these lectures

Re: Supercomputer and encryption and compression @ rate of 96%

2005-05-02 Thread km
Hi all, This was posted long ago. I tried to compress a mp3 file but i couldnt get the keycode+.out file which is of size 1 bit. instead it is printed to STDOUT. i am usng python 2.4 . i understand that the keycode is embedded in the filename itself. Is it a problem with python not able to

Re: Locale and cookies

2005-05-02 Thread Klaus Alexander Seistrup
[EMAIL PROTECTED] wrote: I tried to fix this by changing the locale back to English before creating cookies and that works on Windows but not for Linux. If I use en_EN.ISO8859-1 it works on Linux but not on Windows. How about setting locale to C or POSIX? -- Klaus Alexander Seistrup

Re: Which IDE is recommended?

2005-05-02 Thread dcrespo
But I personally recommend DrPython. (Not only, I'm a member of the project). I saw this message and downloaded DrPython. It's very good: I like the class/functions browser while I'm coding... but I can't find the autocompletion feature you talk, and I think this feature is very important.

Re: PyAuthD Beta 2a

2005-05-02 Thread Heiko Wundram
On Monday 02 May 2005 12:58, Heiko Wundram wrote: Current Release --- Sorry for all the posting, but I'm having trouble setting up Subversion properly... Anyway, the release has moved to its final destination: http://193.174.104.108/svn/repos/PyAuthD/tags/beta-2a and of course is

Re: Is python support jxta now?

2005-05-02 Thread monkey
Bittorrent, one of the most actively used p2p protocols is _written_ in python. Diez B. Roggisch Hey man, no, the jxta p2p protocols is not mean the bittorrent stuff. It is a fully decentralized network protocol, not confine to file transfer. --

Re: Comparision of GUI framworks

2005-05-02 Thread monkey
wxPython rules ( ; Go to http://wxpython.org for details... Florian Lindner [EMAIL PROTECTED] ??? news:[EMAIL PROTECTED] ???... Hello, I've read the chapter in the Python documentation, but I'm interested in a a more in-depth comparision. Especially regarding how pythonic it is and how well

Reading output from standard out

2005-05-02 Thread Thierry Lam
Lets say I have a python program which prints output to standard out, lets call it HelloApp. How do I capture these outputs from the python GUI tkinter? For example, I want to call HelloApp from my GUI program and I want to send the output live to a tkinter text area. Thanks Thierry

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread John Hazen
* [EMAIL PROTECTED] [EMAIL PROTECTED] [2005-05-02 05:10]: Any hints on level 6 ? There is zip in the page source, ZIp in the image data, but have no clue what to do with them - tried many things :). Have you found the zip file yet? (I did, and I still can't figure it out. I'm wondering if

Re: Which IDE is recommended?

2005-05-02 Thread Franz Steinhaeusler
On 2 May 2005 06:08:02 -0700, dcrespo [EMAIL PROTECTED] wrote: But I personally recommend DrPython. (Not only, I'm a member of the project). I saw this message and downloaded DrPython. It's very good: Hello Daniel, thank you, I like the class/functions browser while I'm coding... but I

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread Reinhold Birkenfeld
John Hazen wrote: * [EMAIL PROTECTED] [EMAIL PROTECTED] [2005-05-02 05:10]: Any hints on level 6 ? There is zip in the page source, ZIp in the image data, but have no clue what to do with them - tried many things :). Have you found the zip file yet? (I did, and I still can't figure it

Re: Which IDE is recommended?

2005-05-02 Thread Franz Steinhaeusler
On Mon, 02 May 2005 15:29:58 +0200, Franz Steinhaeusler [EMAIL PROTECTED] wrote: 3) I think, you meant Code Completition: for example you type: os. and with the . os.chmod, os.chdir, ... appear in a completition list box. BTW: If it doesn't seem to work: Make sure, to enable it in Options=Enable

Re: Python interpreter in Basic or a Python-2-Basic translator.

2005-05-02 Thread rrr
On 1 May 2005 at 6:18, Engineer wrote: The security 'droids have decided that since the MS Office Suite is a standard application then software written in MS Office VBA must be safe. Any other development environments (such as Java, Perl, Cygwin) are unsafe and can't be installed. This has

Reading output from standard out

2005-05-02 Thread Thierry Lam
Lets say I have a python program which prints output to standard out, lets call it HelloApp. How do I capture these outputs from the python GUI tkinter? For example, I want to call HelloApp from my GUI program and I want to send the output live to a tkinter text area. Thanks Thierry

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread Ganesan Rajagopal
I am stuck on level 3. I've tried every re that I can think of. Some body give me a clue. Ganesan -- Ganesan Rajagopal -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread Maciek Starzyk
On 5/2/05, John Hazen [EMAIL PROTECTED] wrote: * [EMAIL PROTECTED] [EMAIL PROTECTED] [2005-05-02 05:10]: Any hints on level 6 ? There is zip in the page source, ZIp in the image data, but have no clue what to do with them - tried many things :). Have you found the zip file yet? Now I

Re: Which IDE is recommended?

2005-05-02 Thread vkeyboard
Also take a look at Stani's Python Editor http://spe.pycs.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Tripoli: a Python-based triplespace implementation

2005-05-02 Thread Skip Montanaro
Dominic Tripoli will eventually support RDF/XML as a format for Dominic importing and exporting triples. Is there some interoperability requirement with non-Python apps? If not, why not just use pickle or marshal? Slo[ -- http://mail.python.org/mailman/listinfo/python-list

pop3proxy

2005-05-02 Thread BrokenClock
Hello every body, Here is a python newbie! I've choose it to make a pop3 proxy - I want to filter content between a pop3 client and a pop3 server, and I have no control on the server... First, I wanted to do an non-filtering, just logging, mono-thread proxy to make some test.. Based on the RFC

Re: BitKeeper for Python?

2005-05-02 Thread Jp Calderone
On 02 May 2005 09:30:05 GMT, Nick Craig-Wood [EMAIL PROTECTED] wrote: John Smith [EMAIL PROTECTED] wrote: I am going to be working with some people on a project that is going to be done over the internet. I am looking for a good method of keeping everyone's code up to date and have everyone

Re: pop3proxy

2005-05-02 Thread Just
In article [EMAIL PROTECTED], BrokenClock [EMAIL PROTECTED] wrote: Here is a python newbie! I've choose it to make a pop3 proxy - I want to filter content between a pop3 client and a pop3 server, and I have no control on the server... First, I wanted to do an non-filtering, just logging,

Re: pop3proxy

2005-05-02 Thread Jp Calderone
On Mon, 02 May 2005 16:05:13 +0200, BrokenClock [EMAIL PROTECTED] wrote: Hello every body, Here is a python newbie! I've choose it to make a pop3 proxy - I want to filter content between a pop3 client and a pop3 server, and I have no control on the server... First, I wanted to do an

Re: Can't get compression in Python zip script.

2005-05-02 Thread M.E.Farmer
zipfile.ZipFile.__init__(self, filename, mode='r', compression=0) Open the ZIP file with mode read r, write w or append a. import zipfile zip = zipfile.ZipFile('path/zipfilename.zip', 'w', compression=1) zip.write('path/filename.txt') zip.close() Warning about zipfile module: In Python2.2

Re: BitKeeper for Python?

2005-05-02 Thread Bruce Stephens
John P. Speno [EMAIL PROTECTED] writes: [...] Too many choices here. Is anyone planning a PySCMOff blog yet wink? Python, the language that makes reinventing the wheel a little too easy sometimes. Why stick to Python? There seem to be about a dozen newish SCM's around at the moment, in at

problem in the compiler ?

2005-05-02 Thread Glauco Silva
when i creat a RadioButton and put a command = self.Function, this function is called inthe creation of RadioButton. It´s right this orit´s wrong ? Thank you Glauco No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.1 - Release Date:

Re: Can't get compression in Python zip script.

2005-05-02 Thread Steve Holden
[EMAIL PROTECTED] wrote: Hello, I following an example on how to zip files from the www.devshed.com site. I can create a zip package, however I am not getting any compression. 120M file stays 120M within the zip package. I need to know how to set or activate the compression values. here is

Re: How to kill a SocketServer?

2005-05-02 Thread [EMAIL PROTECTED]
[Skip Montanaro] def serve_forever(self): while self.serving: r,w,e = select.select([self.socket], [], [], self.pause) if r: self.handle_request() and set self.pause to something short-ish. The select call times out and the

Re: Setting win32 console title from Python

2005-05-02 Thread Duncan Booth
runes wrote: Hi Duncan, sorry, I was unprecise. I'm thinking of a script, called t.py that can be used in the console like an ordinary command. Som if I change directory from S:\scripts to d:\projects and execute the script the title changes to projects etc. I have that functionality

Re: Which IDE is recommended?

2005-05-02 Thread dcrespo
Hi. You were right: I meant Code Completition. I did what you told me to do. I get now auto completition of code. For example: import wx wx.(here appear a list with the possibilities) But (there's always a but) with: button = wx.Button(...) when I write button. there's a flick of the list

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread Roel Schroeven
John Hazen wrote: * [EMAIL PROTECTED] [EMAIL PROTECTED] [2005-05-02 05:10]: Any hints on level 6 ? There is zip in the page source, ZIp in the image data, but have no clue what to do with them - tried many things :). Have you found the zip file yet? (I did, and I still can't figure it

Re: Which IDE is recommended?

2005-05-02 Thread Steffen Glückselig
I'm a fan of PSPad. It's free, light weight, and works with everything. I want to second that. For small scripts PSPad is definitely very useful and comfortable. For larger scripts I'd consider something with code-completion. Maybe PyDev. best regards Steffen --

Re: Forgot my wrapup of example! Sorry!

2005-05-02 Thread GMane Python
So, I forgot the last part of my example that might gel in your mind why Objects are useful in certain situations. Ok so you maybe followed my example of the shopping cart. Let's just forget for a moment the use for shopping carts is for websites. Let's just say you were going to write the

popen2 psql

2005-05-02 Thread Mage
Hello, maybe my question is about linux and not about python. I tried to write a proxy script for psql command. I need some query log. I failed to read from the file object. I have tested: a,b = os.popen2('ls') for s in b.readlines(): print s, and: a,b = os.popen2('./pto.py') for s

Re: lists in cx_Oracle

2005-05-02 Thread Andrew Dalke
infidel wrote: Something like this might work for you: ids= ['D102', 'D103', 'D107', 'D108'] in_clause = ', '.join([':id%d' % x for x in xrange(len(ids))]) sql = select * from tablename where id in (%s) % in_clause import cx_Oracle as ora con = ora.connect('foo/[EMAIL PROTECTED]') cur =

Re: popen2 psql

2005-05-02 Thread Klaus Alexander Seistrup
Mage wrote: I tried to write a proxy script for psql command. I need some query log. I failed to read from the file object. The psql command is probably linked against readline; did you look in the ~/.psql_history file? Cheers, -- Klaus Alexander Seistrup Magnetic Ink, Copenhagen, Denmark

Re: anybody have a CGIXMLRPCRequestHandler example?

2005-05-02 Thread Chris Curvey
here's the simple example, for posterity import os import SimpleXMLRPCServer class Foo: def settings(self): return os.environ def echo(self, something): return something def greeting(self, name): return hello, + name handler =

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread Roel Schroeven
Dan Bishop wrote: Roel Schroeven wrote: Dan Bishop wrote: Dan Bishop wrote: Correction: Now I'm stuck on Level 11. I think I'm supposed to do something with the pixels in the image, but what? Me too. I've tried making different images out of the even and the odd pixels, but nothing

xmlrpc server running behind IIS as a CGI

2005-05-02 Thread Chris Curvey
Here's my server: import os import SimpleXMLRPCServer class Foo: def settings(self): return os.environ def echo(self, something): return something def greeting(self, name): return hello, + name handler = SimpleXMLRPCServer.CGIXMLRPCRequestHandler()

Re: How to kill a SocketServer?

2005-05-02 Thread Guido van Rossum
[Skip Montanaro] I stumbled on a somewhat cleaner way to do this using socket timeouts: class Server(SocketServer.ThreadingMixIn, SocketServer.TCPServer): pause = 0.25 allow_reuse_address = True def __init__(self, server_address, RequestHandlerClass):

Bhavaya-like ORM for Python?

2005-05-02 Thread Wolfgang Keller
Hello, does anyone know of a Python ORM module that works like Bhavaya does for J***? In case Bhavaya isn't known, an introduction can be found at: http://bhavaya.openadaptor.org/intro.html. TIA, Best regards Wolfgang Keller -- http://mail.python.org/mailman/listinfo/python-list

Re: lists in cx_Oracle

2005-05-02 Thread infidel
I think perhaps you are asking for something that the OCI doesn't provide. At least I'd be rather surprised if it did. I know that the SQL syntax doesn't provide for such a mechanism. And really, it all boils down to the list comprehension: in_clause = ', '.join([':id%d' % x for x in

How close program in the wxPython?

2005-05-02 Thread Tian
I have made a program in wxpython, but how could i exit the program? I am using wxFrame for my window, what is the function to close the program? Thanks!! -- http://mail.python.org/mailman/listinfo/python-list

Re: odeint function in SciPy

2005-05-02 Thread Ben Champion
Thanks for the link! I think it has the information I want in it (the numerical method eg Runge-Kutta). However I am not sure which of the solvers listed within that file is used by odeint. All I want to achieve is to write a few lines on the mathematical method used by odeint for my college

Mouseclick

2005-05-02 Thread Terje Johan Abrahamsen
Hello. I have been trying desperately for a while to make Python push the left mousebutton. I have been able to let Python push a button in a box: def click(hwnd): win32gui.SendMessage(hwnd, win32con.WM_LBUTTONDOWN, 0, 0) win32gui.SendMessage(hwnd, win32con.WM_LBUTTONUP, 0, 0) optDialog

How to tell if invoked through IDLE or command line?

2005-05-02 Thread Robert D. Young
I've probably asked this before, but how can I tell within the program I'm running if the .py files was involved by run module in IDLE or by using the .py assoication with the python.exe program? I'd like to prevent running under certain circumstances, or pop-up warnings, or change character

Re: Important please read this Thank you `°º·...·º°`°º·...·º°`°º·.†..·º°`°º·...·º°`°º·..·º°` `°º·...·º°`°º·...·º°`°º·.†..·º°`°º·...·º°`°º·..·º°` `°º·...·º°`°º·...·º°`°º·.†..·º°`°º·...·º°`°º·..·º°` `°º·...·º°`°º·...·º°`°º·.†..·º°`°º·...·º°`°º·..·º°` `°º·...·º°`°º·...·º°`°º·.†..·º°`°º·...·º°`°º·..·º°` `°º·...·º°`°º·...·º°`°º·.†..·º°`°º·...·º°`°º·..·º°` `°º·...·º°`°º·...·º°`°º·.†..·º°`°º·...·º°`°º·..·º°` `°º·...·º°`°º·...·º°`°º·.†..·º°`°º·...·º°`°º·..·º°` GOOGLE·NEWSGROUP·POST·155

2005-05-02 Thread Please
Reports to [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] And do not feed the troll! -- http://mail.python.org/mailman/listinfo/python-list

Quick and dirty dialogs?

2005-05-02 Thread andy
What's the easiest way for a script to throw up simple dialogs such as file select and alerts? I thought there was something in the standard library that didn't need TK and was cross-platform but I can't seem to get my Google-fu working well enough to find it. --

Re: Mouseclick

2005-05-02 Thread Benji York
Terje Johan Abrahamsen wrote: I have been trying desperately for a while to make Python push the left mousebutton. Here's some code I've used to simulate a *right* click, but it should be obvious how to make it do what you want: void sendRightClick(void) {

RE: Quick and dirty dialogs?

2005-05-02 Thread Robert Brewer
[EMAIL PROTECTED] wrote: What's the easiest way for a script to throw up simple dialogs such as file select and alerts? I thought there was something in the standard library that didn't need TK and was cross-platform but I can't seem to get my Google-fu working well enough to find it. If

SQLRelay Problem

2005-05-02 Thread Evrim Ozcelik
Hi, My zope server is running on fedore core3. I want to connect to ms sql server running on windows xp platform using FreeTDS, SQLRelay and ZSqlRelayDA. My sqlrelay.conf can be seen below: ?xml version=1.0? !DOCTYPE instances SYSTEM sqlrelay.dtd instances instance id=mssql port=9000

Re: Quick and dirty dialogs?

2005-05-02 Thread Robert D. Young
I use quick-and-dirty code like this: # Get source directory and text file Root = Tkinter.Tk() Root.title(programname) srcdir =

compare two voices

2005-05-02 Thread phil
You didn't indicate how deep you want to get into the code yourself. I am gonna step way out of my mathematical depth here and say this should not be too difficult in python. 1. you need to know the format of .wav surely it is a set of frequency amplitude pairs. 2. you need to know the

Re: How to tell if invoked through IDLE or command line?

2005-05-02 Thread Michael Hoffman
Robert D. Young wrote: I've probably asked this before, but how can I tell within the program I'm running if the .py files was involved by run module in IDLE or by using the .py assoication with the python.exe program? I'd like to prevent running under certain circumstances, or pop-up

urllib2 and timeout question

2005-05-02 Thread Gerard C Blais
I'm trying to get a page from a slow server. and i'm timing out. I've tried socket.setdefaulttimeout9300), and urllib2.socket.setdefaulttimeout(300), and urllib2.socket.setdefauttimeout(300.0), but all seem to give up after 20 seconds. What's the best (or a good) way to increase the

Re: How to tell if invoked through IDLE or command line?

2005-05-02 Thread Robert D. Young
Poi-fect - thanks! import sys if sys.modules.has_key(idlelib): print Running under idle else: print Not running under idle - Robert Michael Hoffman [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Robert D. Young wrote: I've probably asked this before, but how can I tell within

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread Reinhold Birkenfeld
darren kirby wrote: quoth the Ganesan Rajagopal: I am stuck on level 3. I've tried every re that I can think of. Some body give me a clue. Ganesan -- Ganesan Rajagopal t = /text of page source.../ re.findall('[a-z][A-Z]{3}[a-z]{1}[A-Z]{3}[a-z]', t) You should get ten results.

Re: ERP CRM in Python

2005-05-02 Thread Wolfgang Keller
pinky wrote: download, doc, forum ; http://tinyerp.org Why not downloadable and printable PDF documentation instead of online-HTML. HTML is _extremely_ inconvenient, both for offline use and for printing. Why printing? Because reading siginficant amounts of text on-screen is simply impossible,

Re: odeint function in SciPy

2005-05-02 Thread Robert Kern
Ben Champion wrote: Thanks for the link! I think it has the information I want in it (the numerical method eg Runge-Kutta). However I am not sure which of the solvers listed within that file is used by odeint. LSODA -- Robert Kern [EMAIL PROTECTED] In the fields of hell where the grass

Sequences in list

2005-05-02 Thread temp
Hi All, I wonder could someone help me with this? What I want to do is search through a list of letters and look for adjacent groups of letters that form sequences, not in the usual way of matching say abc to another appearance later on in the list but to look for transposed patterns. The

Europython schedule vs. accomodation/registration deadlines - HUH?

2005-05-02 Thread Wolfgang Keller
Hello, today I've read the following on the Europython WWW site: http://www.europython.org/sections/registration_issues/registration_info rma Early bird payment ends 15 May. Last day for reserving accomodations is 15 May. http://www.europython.org/sections/tracks_and_talks/schedule_day_1 The

python+windows/linux - write stdout text to always on top text?

2005-05-02 Thread flamesrock
Hi, I'm curious if theres a way in python to write stdout text to the screen (ie top right) the way they do in some FPS games, so that its always on top, in an invisible window of some set dimensions. No matter what program is on top. Is there a way to make it cross platform? I've looked but

Re: Can't get compression in Python zip script.

2005-05-02 Thread M.E.Farmer
Steve Holden wrote: [EMAIL PROTECTED] wrote: Hello, I following an example on how to zip files from the www.devshed.com site. I can create a zip package, however I am not getting any compression. 120M file stays 120M within the zip package. I need to know how to set or activate the

Re: Mouseclick

2005-05-02 Thread terjeja
Benji York wrote: Terje Johan Abrahamsen wrote: I have been trying desperately for a while to make Python push the left mousebutton. Here's some code I've used to simulate a *right* click, but it should be obvious how to make it do what you want: void sendRightClick(void) {

Re: Mouseclick

2005-05-02 Thread terjeja
Benji York wrote: Terje Johan Abrahamsen wrote: I have been trying desperately for a while to make Python push the left mousebutton. Here's some code I've used to simulate a *right* click, but it should be obvious how to make it do what you want: void sendRightClick(void) {

Re: compare two voices

2005-05-02 Thread Jeremy Bowers
On Mon, 02 May 2005 13:58:07 -0500, phil wrote: You didn't indicate how deep you want to get into the code yourself. I am gonna step way out of my mathematical depth here I mean no disrespect, but this is the last accurate statement you made. I wouldn't say this, except that if the original

Re: Can't get compression in Python zip script.

2005-05-02 Thread Fredrik Lundh
M.E.Farmer wrote: I saw compression=0 and assumed that 1 would mean true, but no! zipfile.ZIP_DEFLATED = 8, defies logic, it is the only compression type why not accept any non zero as compression. is the only compression type ? quoting from the ZIP specification: compression method:

WordPress Python Library 1.0

2005-05-02 Thread Michele Ferretti
http://www.blackbirdblog.it/programmazione/progetti/28 -- Michele Ferretti ICQ#: 14491159 Skype: m.ferretti79 black DOT bird AT tiscali DOT it www.blackbirdblog.it -- http://mail.python.org/mailman/listinfo/python-list

  1   2   >