Re: rope python-emacs problem

2008-10-15 Thread rustom
[EMAIL PROTECTED] wrote: > On Oct 15, 7:19�pm, "Rustom Mody" <[EMAIL PROTECTED]> wrote: > > Ive been trying to useropefor python in emacs and I get > > a backtrace which starts with > > AttributeError: 'module' object has no attribute 'samefile' > > > > Any ideas? > > I searched for a variable 'sam

Re: Deviation from object-relational mapping (pySQLFace)

2008-10-15 Thread sulyokpeti
On okt. 15, 09:04, J Peyret <[EMAIL PROTECTED]> wrote: > On Oct 12, 8:19 am, [EMAIL PROTECTED] wrote: > > > I would like to get some opinions on this approach. > > Thanks. > > I realize I will be minority here, but... > > I've never quite understood why folks want to repeat the database's > metadat

Re: [NEWBIE] csv to excel format problem

2008-10-15 Thread Anders Eriksson
Hello Marco and welcome to the wonderful world of Python, Your problem is that the file is a text file so the values you are reading are text which you then write to the Excel sheet. So you need to convert the text value to a float value. Now the Big Cahonas has already been there so it's include

Re: default value in __init__

2008-10-15 Thread Chris Rebert
On Wed, Oct 15, 2008 at 9:43 PM, Aaron Castironpi Brady <[EMAIL PROTECTED]> wrote: > On Oct 15, 11:33 pm, Steve Holden <[EMAIL PROTECTED]> wrote: >> Aaron "Castironpi" Brady wrote: >> >> [about how default argument behavior should, in his opinion, be changed] >> >> Say what you like. The language i

Re: Making class attributes non-case-sensitive?

2008-10-15 Thread Rafe
Thanks for the COM pointers Matt. I'll definitely look in to these. Perhaps this will become a non-issue when I use one of these COM wrappers... > Anybody who is used to developing at all is going to > accept that the software is case sensitive. Case sensitive? Yes. Letting types create hard to d

Re: default value in __init__

2008-10-15 Thread Aaron "Castironpi" Brady
On Oct 15, 11:33 pm, Steve Holden <[EMAIL PROTECTED]> wrote: > Aaron "Castironpi" Brady wrote: > > [about how default argument behavior should, in his opinion, be changed] > > Say what you like. The language is as it is by choice. Were it, for some > reason, to change we would then be receiving pos

Re: default value in __init__

2008-10-15 Thread Steve Holden
Aaron "Castironpi" Brady wrote: [about how default argument behavior should, in his opinion, be changed] Say what you like. The language is as it is by choice. Were it, for some reason, to change we would then be receiving posts every week that didn't understand the *new* behavior. Sometimes peop

Re: Overloading operators

2008-10-15 Thread Kay Schluehr
On 15 Okt., 14:34, Mr.SpOOn <[EMAIL PROTECTED]> wrote: > Hi, > in a project I'm overloading a lot of comparison and arithmetic > operators to make them working with more complex classes that I > defined. > > Sometimes I need a different behavior of the operator depending on the > argument. For exam

Re: default value in __init__

2008-10-15 Thread Aaron "Castironpi" Brady
On Oct 15, 11:05 pm, Lawrence D'Oliveiro <[EMAIL PROTECTED] central.gen.new_zealand> wrote: > In message <[EMAIL PROTECTED]>, Steven D'Aprano > wrote: > > > On Thu, 09 Oct 2008 01:39:30 -0700, kenneth (a.k.a. Paolo) wrote: > > >> On Oct 9, 10:14 am, Christian Heimes <[EMAIL PROTECTED]> wrote: > > >

Re: How to transfer data structure or class from Python to C/C++?

2008-10-15 Thread Aaron "Castironpi" Brady
On Oct 15, 8:08 pm, Hongtian <[EMAIL PROTECTED]> wrote: > Hi friends, > > I am a newer of Python. I want to ask below question: > > I have a C/C++ application and I want to use Python as its extension. > To do that, I have to transfer some data structure from C/C++ > application to Python and get s

Re: default value in __init__

2008-10-15 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Steven D'Aprano wrote: > On Thu, 09 Oct 2008 01:39:30 -0700, kenneth (a.k.a. Paolo) wrote: > >> On Oct 9, 10:14 am, Christian Heimes <[EMAIL PROTECTED]> wrote: >> >>> No, it always contains the default argument because default values are >>> created just ONE TIME <

Re: IDE Question

2008-10-15 Thread Aaron "Castironpi" Brady
On Oct 15, 1:07 pm, Stef Mientki <[EMAIL PROTECTED]> wrote: > Steve Phillips wrote: > > Hi All, > > I am just wondering what seems to be the most popular IDE. The reason > > I ask is I am currently at war with myself when it comes to IDE's. It > > seems like every one I find and try out has somethi

Re: Emacs users: feedback on diffs between python-mode.el and python.el?

2008-10-15 Thread Michele Simionato
On Oct 14, 7:37 pm, [EMAIL PROTECTED] wrote: > If you're an Emacs user who has used both python-mode.el (the python mode > code distributed with Python and XEmacs) and python.el (the python mode code > distributed with GNU Emacs), I'd like to get your impressions on how they > compare and where you

Re: iter with stepsize

2008-10-15 Thread Alan G Isaac
Alan G Isaac <[EMAIL PROTECTED]> writes: If I have a sequence, I can get every other or every fifth element by slicing. Is there an equivalent for iterators? On 10/15/2008 11:12 PM Paul Rubin apparently wrote: itertools.islice Oh, of course. I'm a bit embarrassed not to have thought to lo

Re: How to transfer data structure or class from Python to C/C++?

2008-10-15 Thread bearophileHUGS
Hongtian: > Could you please guide me to do that? or tell me some document to have > a research? You can start googling for: - SWIG - Boost.Python - SIP - ctypes (built-in module) - And more. Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list

UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in

2008-10-15 Thread MOS37F MOS37F
import shelve from ShelfFile import ABC from zipfile import ZipFile, ZIP_DEFLATED ShelfFilePath = 'E:\DIR\DIR\DIR\ShelfFile' def TEST(): ShelfFileObject = shelve.open(ShelfFilePath) RetrievedObject = ShelfFileObject['abc'] ShelfFileObject.close() return RetrievedObject Ret

Re: iter with stepsize

2008-10-15 Thread Paul Rubin
Alan G Isaac <[EMAIL PROTECTED]> writes: > If I have a sequence, I can get every other or every fifth > element by slicing. Is there an equivalent for iterators? itertools.islice -- http://mail.python.org/mailman/listinfo/python-list

iter with stepsize

2008-10-15 Thread Alan G Isaac
If I have a sequence, I can get every other or every fifth element by slicing. Is there an equivalent for iterators? More specifically, I want every fifth line of a big file. What is the most efficient way to get them? Thanks, Alan Isaac -- http://mail.python.org/mailman/listinfo/python-list

Re: how to support chinese in dos window

2008-10-15 Thread gdyren
On 10月16日, 上午10时18分, [EMAIL PROTECTED] wrote: > Create a new py named test.py,the content is "print "中"" > now in dos window python test.py > return "SyntaxError: Non-ASCII character '\xd6' in file test.py on > line 1, but no encodi > ng declared; seehttp://www.python.org/peps/pep-0263.htmlfor deta

like using python

2008-10-15 Thread gdyren
as the subject -- http://mail.python.org/mailman/listinfo/python-list

Re: rope python-emacs problem

2008-10-15 Thread nullius . filius
On Oct 15, 7:19 pm, "Rustom Mody" <[EMAIL PROTECTED]> wrote: > Ive been trying to useropefor python in emacs and I get > a backtrace which starts with > AttributeError: 'module' object has no attribute 'samefile' > > Any ideas? I searched for a variable 'samefile' in ropemacs and its associated pa

Re: OOP books?

2008-10-15 Thread Asun Friere
On Oct 16, 7:12 am, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: [snip] > Not a word about Python in it, > but:http://www.amazon.com/Design-Patterns-Object-Oriented-Addison-Wesley-... > > A must-read if you want to understand OO (MHO of course). Yes, if only to see how many of the design patt

How to transfer data structure or class from Python to C/C++?

2008-10-15 Thread Hongtian
Hi friends, I am a newer of Python. I want to ask below question: I have a C/C++ application and I want to use Python as its extension. To do that, I have to transfer some data structure from C/C++ application to Python and get some data structure from Python to C/C++ application. I have research

writing emacs commands with your fav lang

2008-10-15 Thread [EMAIL PROTECTED]
Here's a little tutorial that lets you write emacs commands for processing the current text selection in emacs in your favorite lang. Elisp Wrapper For Perl Scripts http://xahlee.org/emacs/elisp_perl_wrapper.html plain text version follows. - Elisp Wrapper For

How to get the output of channel.exec_command(cmd) while using paramiko ?

2008-10-15 Thread sactiw
Hi Friends, I am trying to create a file on remote machine and then setting its file permissions to remote only thus now this file will act as a lock for me and as any body else now can't create same file on that machine and when my work is over I will reset the file permissions and

Re: Loosely-coupled development environment

2008-10-15 Thread Ben Finney
Joe Strout <[EMAIL PROTECTED]> writes: > You've never used BBEdit? (Perhaps because of the platform you use > -- that's a Mac-only text editor, but it meets your criteria nicely. > The free version "TextWrangler" does a pretty darn good job too, > though of course has some limitations.) Not becau

Re: IDE Question

2008-10-15 Thread Dick Moores
Have you seen Kelie Feng's video introducing the terrific and free IDE, Ulipad? Get Ulipad 3.9 from svn for the latest revision Mailing list for Ulipad:

Re: problem using ctypes with MMX intrinsics

2008-10-15 Thread Robert Kern
dcharno wrote: Robert Kern wrote: Well, stack alignment would be a problem with how the shared library gets compiled, nothing to do with ctypes (I think). However, if you are The shared library is built with '-m32 -msse2' and works fine from a C/C++ test harness, so I think its compiled okay

Re: Overloading operators

2008-10-15 Thread Aaron "Castironpi" Brady
On Oct 15, 7:34 am, Mr.SpOOn <[EMAIL PROTECTED]> wrote: > Hi, > in a project I'm overloading a lot of comparison and arithmetic > operators to make them working with more complex classes that I > defined. > > Sometimes I need a different behavior of the operator depending on the > argument. For exa

Re: problem using ctypes with MMX intrinsics

2008-10-15 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Robert Kern wrote: > Try to check the addresses of the ctypes values you are passing in. I'm > not entirely sure how to do that, though. Cast the address to an integer and print it out? I think the data needs to be 16-byte-aligned, so in hex, the units digit of the

Re: memory use with regard to large pickle files

2008-10-15 Thread Martin v. Löwis
> The program works fine, but the memory load is huge. The size of > the pickle file on disk is about 900 Meg so I would theoretically > expect my program to consume about twice that (the dictionary > contained in the pickle file plus its repackaging into other formats), > but instead my program n

Re: IDE Question

2008-10-15 Thread Craig Allen
it's commercial, but I like WingIDE enough to recommend... I run it on Linux and Mac and it works well. -craig On Oct 15, 7:19 am, "Steve Phillips" <[EMAIL PROTECTED]> wrote: > Hi All, > I am just wondering what seems to be the most popular IDE. The reason > I ask is I am currently at war with m

VipIMAGE 2009 – ECCOMAS Thematic Conference - FIRS T ANNOUNCE

2008-10-15 Thread [EMAIL PROTECTED]
--- (Apologies for cross-posting) International ECCOMAS Thematic Conference VipIMAGE 2009 - II ECCOMAS THEMATIC CONFERENCE ON COMPUTATIONAL VISION AND MEDICAL IMAGE PROC

Re: problem using ctypes with MMX intrinsics

2008-10-15 Thread dcharno
Robert Kern wrote: Well, stack alignment would be a problem with how the shared library gets compiled, nothing to do with ctypes (I think). However, if you are The shared library is built with '-m32 -msse2' and works fine from a C/C++ test harness, so I think its compiled okay. > passing in

Re: OOP books?

2008-10-15 Thread Bruno Desthuilliers
Ken D'Ambrosio a écrit : Hi, all. Over the years, I've programmed in a fair number of languages; the ones with which I became most familiar were assembler, BASIC, Pascal, and "lately" (the last fifteen years or so) Perl. Now I'm trying my hand at Python. While I don't have any problems with

Re: PDF warning under Ubuntu and Fedora

2008-10-15 Thread Chris Rebert
On Wed, Oct 15, 2008 at 2:12 PM, Stef Mientki <[EMAIL PROTECTED]> wrote: > Chris Rebert wrote: >> >> CUPS is the Common Unix Printing System. See >> http://en.wikipedia.org/wiki/CUPS for more info. >> Apparently something (your script or one of the libraries it uses >> perhaps?) is trying to create

memory use with regard to large pickle files

2008-10-15 Thread Catherine Moroney
I'm writing a python program that reads in a very large "pickled" file (consisting of one large dictionary and one small one), and parses the results out to several binary and hdf files. The program works fine, but the memory load is huge. The size of the pickle file on disk is about 900 Meg so

Re: Emacs users: feedback on diffs between python-mode.el and python.el?

2008-10-15 Thread Bruno Desthuilliers
Paul Rubin a écrit : [EMAIL PROTECTED] writes: If you're an Emacs user who has used both python-mode.el (the python mode code distributed with Python and XEmacs) and python.el (the python mode code distributed with GNU Emacs), I'd like to get your impressions on how they compare and where you fe

Re: Emacs users: feedback on diffs between python-mode.el and python.el?

2008-10-15 Thread Bruno Desthuilliers
Lawrence D'Oliveiro a écrit : In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: If you're an Emacs user who has used both python-mode.el (the python mode code distributed with Python and XEmacs) and python.el (the python mode code distributed with GNU Emacs), I'd like to get your impress

Re: File Management

2008-10-15 Thread Bruno Desthuilliers
erict1689 a écrit : I am writing this program in which I open up a file and update that information but to a new file. I already have a global variable for it A global variable ??? WHY ??? but how do I go about creating an openable file in the source code? It's in the FineManual(tm) If

Re: OOP books?

2008-10-15 Thread Alan G Isaac
On 10/15/2008 4:07 PM Mike Driscoll apparently wrote: Wow! That's a pricey book! Have you read it? Is it good? Per page the price is right: it runs nearly 1300 pages! I have not read it, but I have read a chunk of his previous http://www.amazon.com/Programming-Objects-Comparative-Presentation-O

Re: Can Python fix vcard files?

2008-10-15 Thread Dotan Cohen
2008/10/15 Lawrence D'Oliveiro <[EMAIL PROTECTED]>: Thanks. The RFC pages for vcard (http://www.ietf.org/rfc/rfc2426.txt and http://www.ietf.org/rfc/rfc2425.txt) are very difficult for me to read. I'm using the test file to learn, and I will work out the kinks on other files that I come across. Th

Re: read zipfile sequentially?

2008-10-15 Thread Alan G Isaac
On 10/15/2008 3:13 PM Tim Chase apparently wrote: http://mail.python.org/pipermail/python-list/2007-December/469320.html Ask and ye shall receive... Thank you! Alan Isaac -- http://mail.python.org/mailman/listinfo/python-list

Re: PDF warning under Ubuntu and Fedora

2008-10-15 Thread Stef Mientki
Chris Rebert wrote: CUPS is the Common Unix Printing System. See http://en.wikipedia.org/wiki/CUPS for more info. Apparently something (your script or one of the libraries it uses perhaps?) is trying to create a new printer called "PDF" and failing because that name is already in use, hence the w

Re: IDE Question

2008-10-15 Thread Mike Driscoll
On Oct 15, 12:29 pm, "Chris Rebert" <[EMAIL PROTECTED]> wrote: > You can find a list and several reviews > onhttp://wiki.python.org/moin/IntegratedDevelopmentEnvironments > I think Wing IDE (http://www.wingware.com/products) is generally > thought to be the most sophisticated one; but it's neither

Re: [egenix-info] Re: ANN: eGenix mxODBC - ODBC Database Interface for Python 3.0.2

2008-10-15 Thread eGenix Team: M.-A. Lemburg
On 2008-10-15 20:30, Terry Reedy wrote: > FYI > I initially parsed the subject line as > "eGenix mxODBC - ODBC Database Interface" for "Python 3.0.2" > and thought, "Wow, already prepared for the future" (6 months to a year) > ;-). It's going to look even better when we release version 4.0 in a ye

Re: Loosely-coupled development environment (was: IDE Question)

2008-10-15 Thread Joe Strout
On Oct 15, 2008, at 2:47 PM, Ben Finney wrote: Because of the inescapable central role in our craft of manipulating text files, essential in this development environment is a highly-customisable text editor with a broad *and* deep library of existing customisations, to maximise the amount of wor

Re: Python equivalent to SharePoint?

2008-10-15 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Paul Boddie wrote: > ... any absence of steep licensing costs isn't necessarily > an advantage in the consulting business since such stuff usually gets > passed onto the brand-obsessed customer. Sounds like you're talking about customers being bigger businesses, ra

Re: IDE Question

2008-10-15 Thread Egon Frerich
Steve Phillips schrieb: Hi All, I am just wondering what seems to be the most popular IDE. The reason I ask is I am currently at war with myself when it comes to IDE's. It seems like every one I find and try out has something in it that others don't and viceversa. I am in search for the perfect I

Loosely-coupled development environment (was: IDE Question)

2008-10-15 Thread Ben Finney
"Steve Phillips" <[EMAIL PROTECTED]> writes: > I am just wondering what seems to be the most popular IDE. The > reason I ask is I am currently at war with myself when it comes to > IDE's. It seems like every one I find and try out has something in > it that others don't and viceversa. This speaks

Re: Can Python fix vcard files?

2008-10-15 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Dotan Cohen wrote: > 2008/10/15 Lawrence D'Oliveiro <[EMAIL PROTECTED]>: >> >> What adds to the confusion is that quoted-printable has its own >> convention for soft-wrapping long lines, using an equals sign followed by >> a newline. > > My test file has newlines n

Re: IDE Question

2008-10-15 Thread jdd
On Oct 15, 3:47 pm, "Fabio Zadrozny" <[EMAIL PROTECTED]> wrote: > You should be able to have it having multiple views for the same > file: although it does that by doing a new editor, and then you can > place that new editor as you want -- below some existing, to the > right, etc -- or you can

Re: PDF warning under Ubuntu and Fedora

2008-10-15 Thread Chris Rebert
CUPS is the Common Unix Printing System. See http://en.wikipedia.org/wiki/CUPS for more info. Apparently something (your script or one of the libraries it uses perhaps?) is trying to create a new printer called "PDF" and failing because that name is already in use, hence the warnings. Cheers, Chri

PDF warning under Ubuntu and Fedora

2008-10-15 Thread Stef Mientki
hello, Does anyone recognize this warning, which is produced under Ubuntu and Fedora but not under Windows ? ** (python:10896): WARNING **: Can't create printer "PDF" because the id "PDF" is already used (python:10896): GnomePrintCupsPlugin-WARNING **: The CUPS printer PDF could not be crea

Re: OOP books?

2008-10-15 Thread Mike Driscoll
On Oct 15, 1:57 pm, Alan G Isaac <[EMAIL PROTECTED]> wrote: > Mike Driscoll wrote: > > I have yet to read a Python book that only focuses on the OOP part, > > http://www.amazon.com/Scripting-Objects-Comparative-Presentation-Obje... > > fwiw, > Alan Isaac Wow! That's a pricey book! Have you read it

Re: IDE Question

2008-10-15 Thread Fabio Zadrozny
>> Now, following that route, many people call Eclipse is the 21st >> century Emacs... ;-) >> > > I don't want to kick off an editor war or anything, but I don't think > that Eclipse is anywhere near being a 21st century emacs, Peace! I'm far from starting any war too (I don't usually try to convi

Re: OOP books?

2008-10-15 Thread Rob Wolfe
Ken D'Ambrosio <[EMAIL PROTECTED]> writes: > Is there an intro-to-Python book where the emphasis isn't so > much on the language, but on OOP, itself? Or, failing that, at least > a Python book which doesn't just introduce the language, but gives > equal billing to OOP practices, etc. Take a look

Re: problem using ctypes with MMX intrinsics

2008-10-15 Thread Diez B. Roggisch
Robert Kern schrieb: dcharno wrote: Is it possible to use ctypes with a shared library which uses MMX/SSE intrinsics? I can load the library and access functions inside it, but I getting a seg fault when I hit one of the intrinsics. I'm wondering if there might be some sort of stack alignmen

Re: python3 - the hardest hello world ever ?

2008-10-15 Thread Martin v. Löwis
> What defines me as latin1-user? That your locale is based on Latin-1, e.g. because it is a German locale. How precisely that works depends on the operating system. > So my system seems to be an ASCII system? At least that's what Python determined. If Python couldn't have found out that you usu

Re: read zipfile sequentially?

2008-10-15 Thread Tim Chase
I have a large ASCII data set that is zipped to a reasonable size. Can I access the data without decompressing the whole file first? I would like to run through the data to produce a much smaller extract and some summary statistics, but without unzipping it (if that is even possible). Yes, if yo

Re: error estimation in a non-linear least squares fitting

2008-10-15 Thread Robert Kern
Evelien wrote: Dear python-users, I am trying to do a non-linear least squares fitting. Maybe trying is not the best word, as I already succeeded in that. At the moment I am using leastSquaresFit from Scientific Python. I know of other least squares routines, such as the one in scipy.optimize an

Re: File Management

2008-10-15 Thread Aaron "Castironpi" Brady
On Oct 15, 12:47 pm, "erict1689" <[EMAIL PROTECTED]> wrote: > I am writing this program in which I open up a file and update that > information but to a new file.  I already have a global variable for > it but how do I go about creating an openable file in the source code? >  If it helps here is wh

read zipfile sequentially?

2008-10-15 Thread Alan G Isaac
I have a large ASCII data set that is zipped to a reasonable size. Can I access the data without decompressing the whole file first? I would like to run through the data to produce a much smaller extract and some summary statistics, but without unzipping it (if that is even possible). Thanks, Alan

Re: IDE Question

2008-10-15 Thread Steve Phillips
I too did try Eclipse for Python and it totally wasn't for me. It is awesome for java though. The Android stuff I was doing I was using Eclipse. On 10/15/08, Steve Phillips <[EMAIL PROTECTED]> wrote: > > Hi All, > I am just wondering what seems to be the most popular IDE. The reason > I ask is I

Re: OOP books?

2008-10-15 Thread Alan G Isaac
Mike Driscoll wrote: I have yet to read a Python book that only focuses on the OOP part, http://www.amazon.com/Scripting-Objects-Comparative-Presentation-Object-Oriented/dp/047039725X fwiw, Alan Isaac -- http://mail.python.org/mailman/listinfo/python-list

Re: problem using ctypes with MMX intrinsics

2008-10-15 Thread Robert Kern
dcharno wrote: Is it possible to use ctypes with a shared library which uses MMX/SSE intrinsics? I can load the library and access functions inside it, but I getting a seg fault when I hit one of the intrinsics. I'm wondering if there might be some sort of stack alignment problem. I am usin

UICrawler

2008-10-15 Thread mccarth . jack
Hello all, I am trying to run the Universal information crawler wed spider on my mac. It seems to install without any trouble but when, in unix command line, I try to run "paster create --list-templates" it returns this Value Code error. I followed instructions provided at http://lucasmanual.com/m

Re: IDE Question

2008-10-15 Thread jdd
On Oct 15, 2:13 pm, "Fabio Zadrozny" <[EMAIL PROTECTED]> wrote: > Now, following that route, many people call Eclipse is the 21st > century Emacs... ;-) > I don't want to kick off an editor war or anything, but I don't think that Eclipse is anywhere near being a 21st century emacs, unless there's

Re: IDE Question

2008-10-15 Thread Steve Phillips
Thanks for all of your responses. I did forget to mention that I do use Notepad++ for just about everything. My larger scripts I use that and just say the hell with the auto-complete and the call-tips. I lived on that wiki page and actually still do waiting to see if something new was going to b

Re: [ANN] final 2008 Python courses, San Francisco

2008-10-15 Thread wesley chun
*** FINAL REMINDER also, the course begins on monday immediately following the *free* CodeCamp conference http://siliconvalley-codecamp.com (click Program => Sessions to see all the talks)... 5 straight days of learning in the San Francisco Bay Area!! *** -- Forwarded message -- F

Re: installing python 3.0rc1 on Linux

2008-10-15 Thread tomohiro kusumi
I installed python3.0 rc1 on Linux with --enable-shared option on configure script. But the python3.0 says there is no libpython3.0.so although there is one under /usr/local/lib. The /etc/ld.so.conf script has that path in it too. # python3.0 python3.0: error while loading shared libraries: libpyt

Re: ANN: eGenix mxODBC - ODBC Database Interface for Python 3.0.2

2008-10-15 Thread Terry Reedy
FYI I initially parsed the subject line as "eGenix mxODBC - ODBC Database Interface" for "Python 3.0.2" and thought, "Wow, already prepared for the future" (6 months to a year) ;-). tjr -- http://mail.python.org/mailman/listinfo/python-list

Re: OOP books?

2008-10-15 Thread Mike Driscoll
On Oct 15, 1:02 pm, Ken D'Ambrosio <[EMAIL PROTECTED]> wrote: > Hi, all.  Over the years, I've programmed in a fair number of languages; > the ones with which I became most familiar were assembler, BASIC, > Pascal, and "lately" (the last fifteen years or so) Perl.  Now I'm > trying my hand at Pytho

Re: newbie - merging xls files using xldt and xlwt

2008-10-15 Thread Terry Reedy
Albert-jan Roskam wrote: Hi, When you start a new topic/, make sure that you start a new thread by hitting the appropriate button on your program and not by replying to a different thread. Your post has nothing to do with GUIs and will be missed by anyone who has threads collapsed and who ski

Re: IDE Question

2008-10-15 Thread Fabio Zadrozny
> I would personally recommend that you take the time to learn your way > around a powerful text editor such as emacs or vim (I use emacs, > myself), however that may not fit well with your personal editing > tastes, and the learning curve is a bit steep. The editing tastes > problem can be solved

Re: IDE Question

2008-10-15 Thread Stef Mientki
Steve Phillips wrote: Hi All, I am just wondering what seems to be the most popular IDE. The reason I ask is I am currently at war with myself when it comes to IDE's. It seems like every one I find and try out has something in it that others don't and viceversa. I am in search for the perfect IDE

Re: IDE Question

2008-10-15 Thread jdd
On Oct 15, 1:19 pm, "Steve Phillips" <[EMAIL PROTECTED]> wrote: > Hi All, > I am just wondering what seems to be the most popular IDE. The reason > I ask is I am currently at war with myself when it comes to IDE's. It > seems like every one I find and try out has something in it that > others don't

OOP books?

2008-10-15 Thread Ken D'Ambrosio
Hi, all. Over the years, I've programmed in a fair number of languages; the ones with which I became most familiar were assembler, BASIC, Pascal, and "lately" (the last fifteen years or so) Perl. Now I'm trying my hand at Python. While I don't have any problems with the ins and outs of the l

error estimation in a non-linear least squares fitting

2008-10-15 Thread Evelien
Dear python-users, I am trying to do a non-linear least squares fitting. Maybe trying is not the best word, as I already succeeded in that. At the moment I am using leastSquaresFit from Scientific Python. I know of other least squares routines, such as the one in scipy.optimize and I believe there

File management

2008-10-15 Thread erict1689
I am writing a program in which i open up a file and read the contents then do some calculations and update the information but in a new file. So my question is how do i go about declaring the new file so that the program will know that the new information goes into the new file and not the origin

Re: Sending multi-part MIME package via HTTP-POST

2008-10-15 Thread [EMAIL PROTECTED]
On Oct 15, 2:42 am, Lawrence D'Oliveiro <[EMAIL PROTECTED] central.gen.new_zealand> wrote: > In message > <[EMAIL PROTECTED]>, > > [EMAIL PROTECTED] wrote: > > ... but I'm getting a very vague server error message ... > > Which is? In this case it's not really something that will be readily recogn

File Management

2008-10-15 Thread erict1689
I am writing this program in which I open up a file and update that information but to a new file. I already have a global variable for it but how do I go about creating an openable file in the source code? If it helps here is what I have: def startUp(): # Purpose: opens files and print repo

Re: IDE Question

2008-10-15 Thread tomohiro kusumi
How about pyscripter or pydev (eclipse plugin), although I don't know if they are the most popular one. I use them on Windows. Tomohiro Kusumi 2008/10/16 Steve Phillips <[EMAIL PROTECTED]> > Hi All, > I am just wondering what seems to be the most popular IDE. The reason > I ask is I am currently

Re: Can Python fix vcard files?

2008-10-15 Thread Dotan Cohen
2008/10/15 <[EMAIL PROTECTED]>: > Just out of curiosity, are the line endings CRLF perchance? If so, try > changing the replace call like this: > >cooked = uncooked.replace('\r\n ', '') > Apparently they were CRLF. Actually, I think that is part of the Vcard spec. Now, it seems that I have a

Re: IDE Question

2008-10-15 Thread Fabio Zadrozny
> I am just wondering what seems to be the most popular IDE. The reason > I ask is I am currently at war with myself when it comes to IDE's. It > seems like every one I find and try out has something in it that > others don't and viceversa. I am in search for the perfect IDE and > after many months

Re: IDE Question

2008-10-15 Thread Chris Rebert
You can find a list and several reviews on http://wiki.python.org/moin/IntegratedDevelopmentEnvironments I think Wing IDE (http://www.wingware.com/products) is generally thought to be the most sophisticated one; but it's neither open-source nor gratis (they do let noncommerical open-source devs get

IDE Question

2008-10-15 Thread Steve Phillips
Hi All, I am just wondering what seems to be the most popular IDE. The reason I ask is I am currently at war with myself when it comes to IDE's. It seems like every one I find and try out has something in it that others don't and viceversa. I am in search for the perfect IDE and after many months o

Re: Overloading operators

2008-10-15 Thread Robert Lehmann
On Wed, 15 Oct 2008 14:34:14 +0200, Mr.SpOOn wrote: > Hi, > in a project I'm overloading a lot of comparison and arithmetic > operators to make them working with more complex classes that I defined. > > Sometimes I need a different behavior of the operator depending on the > argument. For example

Re: Overloading operators

2008-10-15 Thread Aaron "Castironpi" Brady
On Oct 15, 7:34 am, Mr.SpOOn <[EMAIL PROTECTED]> wrote: > Hi, > in a project I'm overloading a lot of comparison and arithmetic > operators to make them working with more complex classes that I > defined. > > Sometimes I need a different behavior of the operator depending on the > argument. For exa

Re: [ANN] Data Plotting Library DISLIN 9.4

2008-10-15 Thread M�ta-MCI (MVP)
Hello! version 9.4 of DISLIN Thanks! I like Dislin. But... I don't found the release (binary/win) for Python 2.6... -- Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: [egenix-info] ANN: eGenix mx Base Distribution 3.1.1 for Python 2.6

2008-10-15 Thread M.-A. Lemburg
Just to let you know: we also provide binaries and support for Mac OS X Intel and PPC. Thanks to Joe Strout for pinging us about this. On 2008-10-15 17:41, eGenix Team: M.-A. Lemburg wrote: > > > ANNOUNCING > >

Re: python3 - the hardest hello world ever ?

2008-10-15 Thread Diez B. Roggisch
Helmut Jarausch wrote: > Paul Boddie wrote: >> On 15 Okt, 12:08, Helmut Jarausch <[EMAIL PROTECTED]> >> wrote: >>> What defines me as latin1-user? >> >> What does sys.stdout.encoding say? In Python 2.x, at least, that > > It says ansi_x3.4-1968 > > Where can I change this? By changing your co

Re: python3 - the hardest hello world ever ?

2008-10-15 Thread Paul Boddie
On 15 Okt, 17:59, Helmut Jarausch <[EMAIL PROTECTED]> wrote: > Paul Boddie wrote: > > What does sys.stdout.encoding say? In Python 2.x, at least, that > > It says  ansi_x3.4-1968 That's ASCII, yes. > Where can I change this? What's your locale? I can provoke the same setting if I run a Python pr

Re: Python equivalent to SharePoint?

2008-10-15 Thread Paul Boddie
On 15 Okt, 17:17, Joe Strout <[EMAIL PROTECTED]> wrote: > We've got a client who has been planning to use SharePoint for   > managing their organization documents, but has recently dropped that   > idea and is looking for an alternative.  Is there any Python package   > with similar functionality?

Re: python3 - the hardest hello world ever ?

2008-10-15 Thread Helmut Jarausch
Paul Boddie wrote: On 15 Okt, 12:08, Helmut Jarausch <[EMAIL PROTECTED]> wrote: What defines me as latin1-user? What does sys.stdout.encoding say? In Python 2.x, at least, that It says ansi_x3.4-1968 Where can I change this? attribute should reflect the capabilities of your environment (s

Re: Kicking off a python script using Windows Scheduled Task

2008-10-15 Thread korean_dave
Hey all. i solved this problem by logging on with my network domain login (log in using...) instead of NT AUTHORITY\SYSTEM which only gave out local privleges to the process started off by Task scheduler. On Oct 15, 10:36 am, korean_dave <[EMAIL PROTECTED]> wrote: > Does anyone know how to proper

ANN: eGenix mxODBC - ODBC Database Interface for Python 3.0.2

2008-10-15 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com mxODBC - ODBC Database Interface for Python Version 3.0.2 mxODBC is our commercially supported Python extension providing ODBC database connectivity to Py

ANN: eGenix mx Base Distribution 3.1.1 for Python 2.6

2008-10-15 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com mx Base Distribution Version 3.1.1 for Python 2.6 Open Source Python extensions providing important and useful services for Python prog

Re: newbie - merging xls files using xldt and xlwt

2008-10-15 Thread Albert-jan Roskam
Hi John, Thanks! Using a higher xlrd version did the trick! Regarding your other remarks: -yep, input files with multiple sheets don't work yet. I kinda repressed that ;-) Spss outputs only single-sheet xls files, but I agree it's nicer if the programs works in other cases too. -and no, I don't

Re: urllib accept-language doesn't have any effect

2008-10-15 Thread Philip Semanchuk
On Oct 15, 2008, at 9:50 AM, Martin Bachwerk wrote: Hello, I'm trying to load a couple of pages using the urllib2 module. The problem is that I live in Germany and some sites seem to look at the IP of the client and forward him to a localized page.. Here's an example of the code, how I w

  1   2   >