Re: Why does python break IEEE 754 for 1.0/0.0 and 0.0/0.0?

2005-07-15 Thread Michael Hudson
Grant Edwards <[EMAIL PROTECTED]> writes: > I've read over and over that Python leaves floating point > issues up to the underlying platform. Please read the conversation Tim and I are having in the "Re: math.nroot [was Re: A brief question.]" elsewhere in this same newsgroup. Cheers, mwh --

Re: math.nroot [was Re: A brief question.]

2005-07-15 Thread Michael Hudson
Tim Peters <[EMAIL PROTECTED]> writes: > [Tim] > >> Ah, but as I've said before, virtually all C compilers on 754 boxes > >> support _some_ way to get at this stuff. This includes gcc before C99 > >> and fenv.h -- if the platforms represented in fpectlmodule.c were > >> happy to use gcc, they all

Python Programming Contest

2005-07-15 Thread Brian Quinlan
I've decided that it would be be fun to host a weekly Python programming contest. The focus will be on algorithms that require a bit of thought to design but not much code to implement. I'm doing to judge the solutions based on execution speed. It sucks but that is the easiest important considerat

Re: Python Programming Contest

2005-07-15 Thread Simon Dahlbacka
Are you aware of http://mathschallenge.net/index.php?section=project ? The "The focus will be on algorithms that require a bit of thought to design but not much code to implement." part seems common, although your problem domain probably is larger. /Simon -- http://mail.python.org/mailman/listi

Re: Python Programming Contest

2005-07-15 Thread James
Brian Quinlan wrote: > I've decided that it would be be fun to host a weekly Python programming > contest. The focus will be on algorithms that require a bit of thought > to design but not much code to implement. > > I'm doing to judge the solutions based on execution speed. It sucks but > that i

Documenting extension modules?

2005-07-15 Thread Francois De Serres
Hiho, I can't seem to find a proper way to document my extension module. Following the C API doc: static PyMethodDef ioMethods[] = { {"o_count", o_count, METH_VARARGS, "Return the count of available MIDI outputs."}, } lacks: a) module level documentation b) function parameters Also,

using hotshot for timing and coverage analysis

2005-07-15 Thread Andreas Lobinger
Aloha, hotshot.Profile has flags for recording timing per line and line events. Even if i had both set to 1 i still get only the standard data (time per call). Is there any document available that has examples how to use the hotshot for converage analysis and to display timing per line? Hoping f

Re: Documenting extension modules?

2005-07-15 Thread Robert Kern
Francois De Serres wrote: > Hiho, > > I can't seem to find a proper way to document my extension module. > Following the C API doc: > > static PyMethodDef ioMethods[] = { > {"o_count", o_count, METH_VARARGS, "Return the count of available > MIDI outputs."}, > > } > > lacks: > a) modu

Kamaelia Talk at Open Tech 2005, anyone for sprinting?

2005-07-15 Thread Michael Sparks
Hi, Apologies first to those outside the UK... Open Tech 2005* is a follow on from previous years' NotCon events which are community driven low cost events by geeks & developers for geeks & developers. (Much like Pycon & Europython but much more general in nature) Website: http://www.ukuug.org/e

Re: Python Programming Contest

2005-07-15 Thread skip
Brian> I've decided that it would be be fun to host a weekly Python Brian> programming contest. The focus will be on algorithms that require Brian> a bit of thought to design but not much code to implement. For some of us that's what we do day-in, day-out at work. It's just not calle

ANN: SPE IDE needs packagers & doc writers

2005-07-15 Thread Stani
**SPE needs packagers & doc writers** SPE is moving websites. The new websites will be: - homepage: http://www.stani.be/python/spe - downloads & SVN: http://developer.berlios.de/projects/python Please help to make this transition smooth: update your bookmarks and report this url change to webs

Question about basic use of a timer object from timeit module to execute code every so often in a class

2005-07-15 Thread 42zeros
I would like a function to be executed every x often. I was just wondering how to pass the following code correctly. my object t just doesn't know what checkMail is. How can I tell it that checkMail is a member of the class MyApp? thanks in advance, code is below class MyApp(wx.App): def O

Re: Question about basic use of a timer object from timeit module to execute code every so often in a class

2005-07-15 Thread Robert Kern
[EMAIL PROTECTED] wrote: > I would like a function to be executed every x often. > I was just wondering how to pass the following code correctly. my > object t just doesn't know what checkMail is. How can I tell it that > checkMail is a member of the class MyApp? Reread the documentation for tim

Re: Python Programming Contest

2005-07-15 Thread Brian Quinlan
James wrote: > I am not sure if it is a good idea to use a LiveCD for OS when you are > testing for speed. CD access speeds fluctuate and may even impact > performance even if you start measuring after the module loading is > complete. It didn't seem to matter in my testing. Module loading is done

Re: Python Programming Contest

2005-07-15 Thread Brian Quinlan
[EMAIL PROTECTED] wrote: > Brian> I've decided that it would be be fun to host a weekly Python > Brian> programming contest. The focus will be on algorithms that require > Brian> a bit of thought to design but not much code to implement. > > For some of us that's what we do day-in, day

Re: How to create "cross-backend" python web app

2005-07-15 Thread Paul Boddie
"matt" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Hi all- > > I'm trying to port an ajax spell-checker > (http://www.broken-notebook.com/spell_checker/index.php) to use with > the moin moin wiki and have been somewhat successful. (By successful I > mean I can spell check u

Re: using hotshot for timing and coverage analysis

2005-07-15 Thread Thomas Lotze
Andreas Lobinger wrote: > hotshot.Profile has flags for recording timing per line and line events. > Even if i had both set to 1 i still get only the standard data (time per > call). Could it be that pstats.Stats doesn't know about hotshot? Haven't checked... What's much more annoying about hots

Re: Documenting extension modules?

2005-07-15 Thread Francois De Serres
Robert Kern wrote: >Francois De Serres wrote: > > >>Hiho, >> >>I can't seem to find a proper way to document my extension module. >>Following the C API doc: >> >>static PyMethodDef ioMethods[] = { >>{"o_count", o_count, METH_VARARGS, "Return the count of available >>MIDI outputs."}, >>...

Re: Documenting extension modules?

2005-07-15 Thread Simon Dahlbacka
Re: assigning a PyStr object to __doc__, take a look at Py_InitModule3, which does that for you. Then you have the PyDoc_STRVAR macro in python.h that you might want to use (see definition below). But as Robert already told you, you'll need to provide the necessary information about i.e. parameter

Re: How can I import a py script by its absolute path name?

2005-07-15 Thread Chris Lambacher
You probably actually want: import sys sys.path.instert(0, r'c:\xxx\yyy') m = __import__('zzz', globals(), locals(), []) del sys.path[0] Because if another module named zzz exists in your path. Appending will pick those versions up first. Then you delete the path you just added so that you don

Re: Python Programming Contest

2005-07-15 Thread Bill Mill
On 7/15/05, Brian Quinlan <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Brian> I've decided that it would be be fun to host a weekly Python > > Brian> programming contest. The focus will be on algorithms that require > > Brian> a bit of thought to design but not much code to

Reading variables from a forked child (Python C/API)

2005-07-15 Thread MrEntropy
Greetings, I'm having a little trouble getting an idea running. I am writing a C program which is really a frontend to a Python program. Now, my C program starts up, does some initialisation like initialisation of it's variables and Py_Initialize() and then it fork()s. After forking the

Re: Python Programming Contest

2005-07-15 Thread Sybren Stuvel
Brian Quinlan enlightened us with: > Also, it is easiest to protect my system against malicious code if > it is being run on an OS without a writeable filesystem. Even easier with User Mode Linux and a COW (copy on write) filesystem. Sybren -- The problem with the world is stupidity. Not saying

Re: Documenting extension modules?

2005-07-15 Thread Francois De Serres
Simon Dahlbacka wrote: >Re: assigning a PyStr object to __doc__, take a look at Py_InitModule3, >which does that for you. > > > got it, thx. >Then you have the PyDoc_STRVAR macro in python.h that you might want to >use (see definition below). But as Robert already told you, you'll need >to prov

Re: Python Programming Contest

2005-07-15 Thread Brian Quinlan
Bill Mill wrote: > On 7/15/05, Brian Quinlan <[EMAIL PROTECTED]> wrote: > >>[EMAIL PROTECTED] wrote: >> >>>Brian> I've decided that it would be be fun to host a weekly Python >>>Brian> programming contest. The focus will be on algorithms that require >>>Brian> a bit of thought to desig

Re: Question about basic use of a timer object from timeit module to execute code every so often in a class

2005-07-15 Thread [EMAIL PROTECTED]
I've seen both documentation for using timeit as simply a timer to measure preformance, but also a random page here and there that looked to me as if they were using it as a simple timer. HOwever, if there is a wxwidget timer I'll gladly hit that up. Thanks for the info -- http://mail.python.or

Re: Why does python break IEEE 754 for 1.0/0.0 and 0.0/0.0?

2005-07-15 Thread Grant Edwards
On 2005-07-15, Michael Hudson <[EMAIL PROTECTED]> wrote: > Grant Edwards <[EMAIL PROTECTED]> writes: > >> I've read over and over that Python leaves floating point >> issues up to the underlying platform. > > Please read the conversation Tim and I are having in the "Re: > math.nroot [was Re: A br

open a mail and...

2005-07-15 Thread Alberto Vera
Hello   Is it possible to open a mail and download its files attached in a hard-disk using a python script?   Regards -- http://mail.python.org/mailman/listinfo/python-list

Re: open a mail and...

2005-07-15 Thread Fabien
> Is it possible to open a mail and download its files attached in a > hard-disk using a python script? Use the poplib to do that. The documentation for this module can be found at http://docs.python.org/lib/module-poplib.html. -- Fabien -- http://mail.python.org/mailman/listinfo/python-list

Re: open a mail and...

2005-07-15 Thread Tim Williams (gmail)
On 7/15/05, Alberto Vera <[EMAIL PROTECTED]> wrote: > > Hello > > Is it possible to open a mail and download its files attached in a hard-disk > using a python script? > > Regards > -- > http://mail.python.org/mailman/listinfo/python-list > yes, use the email module. >>> msg = email.message_from_

Re: all possible combinations

2005-07-15 Thread rbt
Wow. That's neat. I'm going to use it. Thanks! On Thu, 2005-07-14 at 19:52 -0400, Peter Hansen wrote: > Bengt Richter wrote: > > On Thu, 14 Jul 2005 17:10:37 -0400, William Park <[EMAIL PROTECTED]> wrote: > > It's a one liner in Python too ;-) > > > > >>> print ' '.join([x+y+z+q for s in ['abc']

IDLE in Jython

2005-07-15 Thread Nadeem Mohsin
Me and a couple of friends have been thinking of doing something involving Python for our final year undergrad project. We're considering the first idea mentioned on this page: http://wiki.python.org/moin/JythonProjects. Unfortunately, their statement is a little terse, so I was hoping someone cou

Re: How can I import a py script by its absolute path name?

2005-07-15 Thread could ildg
Thank you for your help. It's really useful for me. On 7/14/05, Chris Lambacher <[EMAIL PROTECTED]> wrote: > You probably actually want: > > import sys > sys.path.instert(0, r'c:\xxx\yyy') > m = __import__('zzz', globals(), locals(), []) > del sys.path[0] > > Because if another module named zzz

Re: System calls not using correct permissions?

2005-07-15 Thread [EMAIL PROTECTED]
Oops, yeah I should have mentioned some of that. It's a Linux environment, and it's running Python 2.2. To my knowledge, the batch files my program calls run a few processes on some data and generate a few temporary files. I believe those files are not correctly being generated. There is an error m

Re: eBay.py - Has anyone looked at this???

2005-07-15 Thread provato
Thanks. That helps. -- http://mail.python.org/mailman/listinfo/python-list

Re: httplib/HTTPS Post Problem

2005-07-15 Thread Andreas Kostyrka
Am Montag, den 11.07.2005, 06:29 -0700 schrieb [EMAIL PROTECTED]: > Hi, > > Sorry to post what might seem like a trivial problem here, but its > driving me mad! > > I have a simple https client that uses httplib to post data to a web > server. > > When I post over http & https using curl the dat

How to send broadcast message over network and collect all the IP address?

2005-07-15 Thread Sandeep Arya
Hello to all Well this is my first mail on this list. I am facing a problem associated with collecting IP address on my network. What i thought is to send broadcast packet over the network and then recieving back the reply from the computers and bridges connected to my network and then adding

Re: Reading variables from a forked child (Python C/API)

2005-07-15 Thread Donn Cave
Quoth MrEntropy <[EMAIL PROTECTED]>: | I'm having a little trouble getting an idea running. I am writing a C | program which is really a frontend to a Python program. Now, my C | program starts up, does some initialisation like initialisation of it's | variables and Py_Initialize() and th

Re: How to send broadcast message over network and collect all the IP address?

2005-07-15 Thread Francesco Ciocchetti
Sandeep Arya wrote: >Hello to all > >Well this is my first mail on this list. I am facing a problem associated >with collecting IP address on my network. > >What i thought is to send broadcast packet over the network and then >recieving back the reply from the computers and bridges connected to

Re: Python Programming Contest

2005-07-15 Thread skip
Brian> This contest is for people who like thinking about algorithms. Surely you must have missed the smiley... S -- http://mail.python.org/mailman/listinfo/python-list

Exception in callback => GPF?

2005-07-15 Thread Francois De Serres
Hiho, When there's an unhandled exception in my extension-module's-callback-into-Python-function-object, I get a GPF and Python exits. When the exception is being handled within the callback (hence in Python), I get a very significant hiccup (1 to 5 seconds freeze). Question: is there a specif

Re: Python Programming Contest

2005-07-15 Thread Brian Quinlan
[EMAIL PROTECTED] wrote: > Brian> This contest is for people who like thinking about algorithms. > > Surely you must have missed the smiley... No, I saw it but it just confused me as I have no sense of humor. Cheers, Brian -- http://mail.python.org/mailman/listinfo/python-list

MailMonitor for Exchange has processed a suspicious mail[Scanned]

2005-07-15 Thread MailMonitor
A mail sent by you has been identified as suspicious by MailMonitor for Exchange. Event: infection Action: Message quarantined Message ID: <[EMAIL PROTECTED]> Message subject:Mail System Error - Returned Mail Recipient:

Re: Python Programming Contest

2005-07-15 Thread Thomas Lotze
Brian Quinlan wrote: > I've decided that it would be be fun to host a weekly Python programming > contest. I like the idea, and doing the first problem was fun indeed :o) > I'm always looking for feedback, so let me know what you think or if you > have any ideas for future problems. It would be

Re: Differences between RDFlib - 4RDF and Redfoot - 4Suite?

2005-07-15 Thread uche . ogbuji
"I was wondering about the differences with the referred libs and servers. Since the documentation isn't so thorough(and a bit because of my laziness), I thought I'd make request for usage accounts etc. stating the pros and cons of the aforementioned. Any notes would be appreciated." RDFLib is a t

Re: Native ODBC access for python on linux?

2005-07-15 Thread callmebill
All, This info was very helpful, and I'm up and running with MySQLdb on linux, and the native ODBC support on Windows. One last question I have: In vbs (specifically with .asp) I can make a connection to an ODBC provide _without_ the need to specify a system DSN in the Control Panel. It's easy

Re: How can I import a py script by its absolute path name?

2005-07-15 Thread J.Bijsterbosch
Hello Edward, "Edvard Majakari" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] > Thorsten Kampe <[EMAIL PROTECTED]> writes: > > > "sys.path.append('c:\\xxx\\yyy')" or "sys.path.append('c:/xxx/yyy')" > > Well, of course. As I said, it was untested :) I just copied the path string, >

Re: ANN: CherryPy-2.1.0-beta released

2005-07-15 Thread Damjan
> I am happy to announce the first beta release of CherryPy-2.1 Can you briefly compare CherryPy to Quixote2 (+session2)? > unicode decoding/encoding, This especially interesting to me. Is CherryPy completelly unicode (and UTF-8) ready. The thing that frustrates me about quixote2 is that it ha

Issues compiling with large file support

2005-07-15 Thread pruebauno
Hello all, I am having issues compiling Python with large file support. I tried forcing the configure script to add it but then it bombs in the make process. Any help will be appreciated. Information: Architecture: PowerPc on AIX version 5 Compiler: VisualAge C++ Professional / C for AIX Compiler

RE: ANN: CherryPy-2.1.0-beta released

2005-07-15 Thread Robert Brewer
Damjan wrote: > > I am happy to announce the first beta release of CherryPy-2.1 > ... > > unicode decoding/encoding, > > This especially interesting to me. > Is CherryPy completelly unicode (and UTF-8) ready? > The thing that frustrates me about quixote2 is that it has a lot of > assumptions that

Re: threads and sleep?

2005-07-15 Thread Piet van Oostrum
> Christopher Subich <[EMAIL PROTECTED]> (CS) wrote: >CS> Hrm... this would suggest the possibility of designing a metaclass, >CS> perhaps, that would ensure synchronous access to an object. Perhaps "wrap" >CS> the class in another, that gets and releases a mutex on any external >CS> get/set

Re: Reading variables from a forked child (Python C/API)

2005-07-15 Thread Jonathan Conrad
#ifdef def Donn Cave wrote: > Quoth MrEntropy <[EMAIL PROTECTED]>: > > | I'm having a little trouble getting an idea running. I am writing a C > | program which is really a frontend to a Python program. Now, my C > | program starts up, does some initialisation like initialisation of it's >

problems with python 2.4 help

2005-07-15 Thread [EMAIL PROTECTED]
I've noticed that the listings in help don't take you to correct topic. anyone else have this problem? Is there a fix? -- http://mail.python.org/mailman/listinfo/python-list

Re: Native ODBC access for python on linux?

2005-07-15 Thread Thomas Bartkus
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > All, > > This info was very helpful, and I'm up and running with MySQLdb on > linux, and the native ODBC support on Windows. > > One last question I have: In vbs (specifically with .asp) I can make a > connection to an ODBC provide _wit

Re: Any Lua Coders About?

2005-07-15 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Joseph Garvin <[EMAIL PROTECTED]> wrote: >Wendell III wrote: > >>Hey, >> >>I'm looking for a few good Lua guys with some IM network experience. >>Anyone around fit that criteria? . . . >I'd say

ssh popen stalling on password redirect output?

2005-07-15 Thread [EMAIL PROTECTED]
I have a script that I cycle through nodes connect to them and run uptime to get some information. I run the script as root so it doesn't require a password on the rest of the nodes. It does however barf on the nodes that are having trouble and require a different password. Is there an easy way

Re: IDLE in Jython

2005-07-15 Thread Casey Hawthorne
How about the following: - making Jython mostly work up to Python 2.4? - making a PVM (Python Virtual Machine) for the Palm? -- Regards, Casey -- http://mail.python.org/mailman/listinfo/python-list

Re: problems with python 2.4 help

2005-07-15 Thread Brian van den Broek
[EMAIL PROTECTED] said unto the world upon 15/07/2005 14:50: > I've noticed that the listings in help don't take you to correct topic. > > anyone else have this problem? Is there a fix? > I'm not sure from your question what exact problem you are experiencing. Do you mean: IDLE 1.1.1 >>> hel

Re: Python Newbie

2005-07-15 Thread Mitja
On Thu, 14 Jul 2005 12:24:29 +0200, linuxfreak <[EMAIL PROTECTED]> wrote: > So heres me asking if anyone has any pointers > to some good basic python tutorial. Something that teaches one to get > going. The official tutorial is quite informal yet effective: python.org -> documentation -> tutorial

Re: Native ODBC access for python on linux?

2005-07-15 Thread callmebill
I know... I'm expecting pain, and when that pain doesn't arrive I assume that I did something wrong. Actually, I was using the odbc/dbi stuff that ships with the win32 distribution for my windows work, and using MySQLdb for my linux work. Most of the code is the same. But I suppose the big benefi

Re: System calls not using correct permissions?

2005-07-15 Thread Dan Sommers
On 15 Jul 2005 07:10:10 -0700, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Oops, yeah I should have mentioned some of that. It's a Linux > environment, and it's running Python 2.2. To my knowledge, the batch > files my program calls run a few processes on some data and generate a > few tempor

Re: ssh popen stalling on password redirect output?

2005-07-15 Thread Sybren Stuvel
[EMAIL PROTECTED] enlightened us with: > I have a script that I cycle through nodes connect to them and run > uptime to get some information. I run the script as root so it > doesn't require a password on the rest of the nodes. It does > however barf on the nodes that are having trouble and requi

What module to use to get a file from a website?

2005-07-15 Thread SolaFide
I'm sure this is builtin, I just don't know what module. Thank you for any help! Billt -- http://mail.python.org/mailman/listinfo/python-list

Re: What module to use to get a file from a website?

2005-07-15 Thread [EMAIL PROTECTED]
urllib2.urlopen() -- http://mail.python.org/mailman/listinfo/python-list

Re: ssh popen stalling on password redirect output?

2005-07-15 Thread [EMAIL PROTECTED]
In general, it is good idea to use expect kind of tool to deal with interactive programs like ssh. You may try using pexpect (http://pexpect.sourceforge.net). -- http://mail.python.org/mailman/listinfo/python-list

Re: What module to use to get a file from a website?

2005-07-15 Thread Sybren Stuvel
SolaFide enlightened us with: > I'm sure this is builtin, I just don't know what module. Thank you > for any help! urllib, read the excellent free book "dive into python" at http://www.diveintopython.org/ for examples and usage. Sybren -- The problem with the world is stupidity. Not saying there

Re: Native ODBC access for python on linux?

2005-07-15 Thread Grig Gheorghiu
That's exactly the way to go. In my case, I'm using cx_Oracle to connect from Python to Oracle and the same exact code runs on Windows, Linux, Solaris and soon on AIX. Grig -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie question: Explain this behavior - a followup

2005-07-15 Thread David Smith
First, thanks to those who offered answers. They didn't really answer my question, only because I had not worked through the example sufficiently well. Doing this, I believe I understand what is happening, and, if my understanding is correct, have discovered that for other beginning and ending va

Re: How can I import a py script by its absolute path name?

2005-07-15 Thread Terry Hancock
On Thursday 14 July 2005 07:43 am, Thorsten Kampe wrote: > * Edvard Majakari (2005-07-14 12:52 +0100) > > could ildg <[EMAIL PROTECTED]> writes: > >> I want to import c:\xxx\yyy\zzz.py into my programme, > >> What should I do? > >> Thank you~ > > > > import sys > > sys.path.append('c:\xxx\yyy') >

Re: IDLE in Jython

2005-07-15 Thread Bill
You might get better answers if you contact the Jython developers themselves and look at their wiki - http://www.jython.org/cgi-bin/wiki/FrontPage. Even though you found the posting on a Python wiki, you really want to consult the Jython community, and I'm not sure to what extent they participate i

win32ui CreatePrintDialog

2005-07-15 Thread Chris Lambacher
Hi, This question has come up a few times on the list with no one giving a public answer. How do you use CreatePrintDialog from win32ui? About a year ago someone posted that: dlg = win32ui.CreatePrintDialog(1538) dlg.DoModal() will give you the window, but the ok button does not work. Diging i

Re: What module to use to get a file from a website?

2005-07-15 Thread SolaFide
Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: IDLE in Jython

2005-07-15 Thread Jason Mobarak
Casey Hawthorne wrote: > How about the following: > > - making Jython mostly work up to Python 2.4? http://www.python.org/psf/grants (see the first grant) There's already a grant in place for this. So hopefully someone associated with Jython is working on it. > - making a PVM (Python Virtual

Re: Generating a list of None

2005-07-15 Thread Bengt Richter
On 14 Jul 2005 19:25:41 -0700, "Nicolas Couture" <[EMAIL PROTECTED]> wrote: >Hi, > >Is it possible to generate a list of `None' ? > >opts.__dict__.values() below could be represented by [None, None, None] > >--- >def get_options(opts): >"""Return True or False if an option is set or not""" >

Re: Newbie question: Explain this behavior - a followup

2005-07-15 Thread max
David Smith <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > range statements, the example doesn't work. > > Given that the beginning and ending values for the inner range > statement are the same, the inner range statement will never be Is your question about the semantics of for else bl

Filtering out non-readable characters

2005-07-15 Thread MKoool
I have a file with binary and ascii characters in it. I massage the data and convert it to a more readable format, however it still comes up with some binary characters mixed in. I'd like to write something to just replace all non-printable characters with '' (I want to delete non-printable chara

Re: Snakespell

2005-07-15 Thread Aahz
[posted & e-mailed -- prefer response by posting] In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >I used to use Snakespell from scriptfoundry to do spellchecking on my >website (www.peterbe.com/search?q=pyton) but now that I've moved server >and wiped the old machin

Re: Filtering out non-readable characters

2005-07-15 Thread Bengt Richter
On 15 Jul 2005 17:33:39 -0700, "MKoool" <[EMAIL PROTECTED]> wrote: >I have a file with binary and ascii characters in it. I massage the >data and convert it to a more readable format, however it still comes >up with some binary characters mixed in. I'd like to write something >to just replace al

Re: How to create "cross-backend" python web app

2005-07-15 Thread matt
Thanks Paul- I'll look into WebStack. -- http://mail.python.org/mailman/listinfo/python-list

Django - Rails killer comes...

2005-07-15 Thread JZ
http://www.djangoproject.com/ -- JZ -- http://mail.python.org/mailman/listinfo/python-list

Re: ssh popen stalling on password redirect output?

2005-07-15 Thread Jeff Epler
In your ssh configuration, specify something like PreferredAuthentication "hostbased,publickey" this will skip trying to use the methods called keyboard-interactive and password. You can give this flag on the ssh commandline, too. read the ssh(1) and ssh_config(5) manpages for more informatio

Re: How can I import a py script by its absolute path name?

2005-07-15 Thread James Dennett
J.Bijsterbosch wrote: > Hello Edward, > > "Edvard Majakari" <[EMAIL PROTECTED]> schreef in bericht > news:[EMAIL PROTECTED] > >>Thorsten Kampe <[EMAIL PROTECTED]> writes: >> >> >>>"sys.path.append('c:\\xxx\\yyy')" or "sys.path.append('c:/xxx/yyy')" >> >>Well, of course. As I said, it was unteste

urllib2.URLError:

2005-07-15 Thread peter patel
Urlopen error - (7, 'getaddrinfo failed') It means their tracker is overworked. Nothin you can do about it.. let it run.. it should start workin sooner or later. -- http://mail.python.org/mailman/listinfo/python-list

Python vs. Access VBA

2005-07-15 Thread William Lodge
I'm at a loss on how to compare Python vs. Access VBA for a database project. I'm estimating 20 tables and several forms and reports. Some of the tables could grow to many thousands of rows w/i a year or so. The app would be resident on my client as no network connectivity is needed b/c I'll be the

HTML expect in python

2005-07-15 Thread WGW
I would like to automate some simple browser navigating using python. Ideally, I would like a package like pyexpect, but that can handle a browser in much the same way as pyexpect handles a terminal (tall order!). In short, I want a macro language for a browser (I know about the commercial pack

Re: HTML expect in python

2005-07-15 Thread D H
WGW wrote: > I would like to automate some simple browser navigating using python. > Ideally, I would like a package like pyexpect, but that can handle a > browser in much the same way as pyexpect handles a terminal (tall > order!). In short, I want a macro language for a browser (I know about

Re: problems with python 2.4 help

2005-07-15 Thread Do Re Mi chel La Si Do
Hi ! See : http://www.gossamer-threads.com/lists/python/bugs/350314 -- http://mail.python.org/mailman/listinfo/python-list