Re: Im fetching data from excel using python code.. i could see some junk value also with it.

2013-03-15 Thread dieter
s.arun...@gmail.com writes: > Hi im fetching data from excel using python code.. i could see some junk > value also with it. like [text:u > > How to remove it.. below is the code It is very difficult to extract data reliably from an undocumented binary format (such as "excel" files): things can

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread Steven D'Aprano
On Fri, 15 Mar 2013 21:35:42 -0700, rusi wrote: > And ignores that 3.3 trades time for space. So what? Lists, dicts and sets trade time for space: they are generally over-allocated to ensure a certainly level of performance. The language designers are perfectly permitted to make that choice. If

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread Steven D'Aprano
On Sat, 16 Mar 2013 15:09:56 +1100, Chris Angelico wrote: > On Sat, Mar 16, 2013 at 2:56 PM, Mark Lawrence > wrote: >> On 16/03/2013 02:44, Thomas 'PointedEars' Lahn wrote: >>> >>> Chris Angelico wrote: >>> >>> >> Thomas and Chris, would the two of you be kind enough to explain to >> morons such

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread rusi
On Mar 16, 9:12 am, Thomas 'PointedEars' Lahn wrote: > You have still no clue what you are talking about.  Get yourself informed at > least about the (deprecated/obsolete) “language” and the (standards- > compliant) “type” attribute of SCRIPT/“script” elements before you post on > this again. > >

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread Terry Reedy
On 3/16/2013 12:35 AM, rusi wrote: And ignores that 3.3 trades time for space. This is at least a partial falsehood. It is really sad to see you parroting this. -- Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/python-list

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread Mark Lawrence
On 16/03/2013 04:35, rusi wrote: On Mar 16, 9:09 am, Chris Angelico wrote: On Sat, Mar 16, 2013 at 2:56 PM, Mark Lawrence wrote: On 16/03/2013 02:44, Thomas 'PointedEars' Lahn wrote: Chris Angelico wrote: Thomas and Chris, would the two of you be kind enough to explain to morons such as

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread rusi
On Mar 16, 9:09 am, Chris Angelico wrote: > On Sat, Mar 16, 2013 at 2:56 PM, Mark Lawrence > wrote: > > On 16/03/2013 02:44, Thomas 'PointedEars' Lahn wrote: > > >> Chris Angelico wrote: > > > Thomas and Chris, would the two of you be kind enough to explain to morons > > such as myself how all t

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread rusi
On Mar 16, 8:56 am, Mark Lawrence wrote: > On 16/03/2013 02:44, Thomas 'PointedEars' Lahn wrote: > > > Chris Angelico wrote: > > Thomas and Chris, would the two of you be kind enough to explain to > morons such as myself how all the ECMAScript stuff relates to Python's > unicode as implemented vi

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread Chris Angelico
On Sat, Mar 16, 2013 at 3:12 PM, Thomas 'PointedEars' Lahn wrote: > You have still no clue what you are talking about. Fine. I'll shut up on the topic. Go ahead, the floor is yours, go and make whatever point you want to make. Clearly I have absolutely no idea about characters, strings, Unicode,

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread Thomas 'PointedEars' Lahn
Chris Angelico wrote: > On Sat, Mar 16, 2013 at 1:44 PM, Thomas 'PointedEars' Lahn > wrote: >> Chris Angelico wrote: >>> The ECMAScript spec says that strings are stored and represented in >>> UTF-16. >> >> No, it does not (which Edition?). It says in Edition 5.1: > > Okay, I was sloppy in my t

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread Chris Angelico
On Sat, Mar 16, 2013 at 2:56 PM, Mark Lawrence wrote: > On 16/03/2013 02:44, Thomas 'PointedEars' Lahn wrote: >> >> Chris Angelico wrote: >> > > Thomas and Chris, would the two of you be kind enough to explain to morons > such as myself how all the ECMAScript stuff relates to Python's unicode as >

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread Chris Angelico
On Sat, Mar 16, 2013 at 1:44 PM, Thomas 'PointedEars' Lahn wrote: > Chris Angelico wrote: >> The ECMAScript spec says that strings are stored and represented in >> UTF-16. > > No, it does not (which Edition?). It says in Edition 5.1: Okay, I was sloppy in my terminology. A language will seldom,

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread Mark Lawrence
On 16/03/2013 02:44, Thomas 'PointedEars' Lahn wrote: Chris Angelico wrote: Thomas and Chris, would the two of you be kind enough to explain to morons such as myself how all the ECMAScript stuff relates to Python's unicode as implemented via PEP 393 as you've lost me, easily done I know. -

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread Thomas 'PointedEars' Lahn
Chris Angelico wrote: > Thomas 'PointedEars' Lahn […] wrote: >> Chris Angelico wrote: >>> jmf, I'd like to see evidence that there has been a performance >>> regression compared against a wide build of Python 3.2. You still have >>> never answered this fundamental, that the narrow builds of Python

Re: how to couper contenier of a canvas in an outer canvas???

2013-03-15 Thread Rick Johnson
how to couper all the obejcts in a canvas in an auther canvas? On Friday, March 15, 2013 9:09:41 AM UTC-5, rusi wrote: > I dont usually bother about spelling/grammar etc. And I > think it silly to do so on a python list. However with > this question: > > On Mar 14, 5:16 pm, olsr.ka...@gmail.com w

Re: how to couper contenier of a canvas in an outer canvas???

2013-03-15 Thread Rick Johnson
On Friday, March 15, 2013 7:00:15 AM UTC-5, olsr@gmail.com wrote: > i maybe don't talk english very well but at least i am not > a Rude,and you are not obligated to answering me much > less Mocking me ,i assure you that i will not post > anything anymore jackass > > thank you alex23 Wel

Re: wxgrid - is there an easy way to set alignment of a column?

2013-03-15 Thread tinnews
Ian Kelly wrote: > On Fri, Mar 15, 2013 at 5:50 AM, wrote: > > I'm using wxGrid and finding it fairly straightforward but I can't see > > an easy way to set the alignment (left, centre, right) for a whole > > column. > > > > There's SetDefaultCellAlignment() which sets the default for the whole

RE: String performance regression from python 3.2 to 3.3

2013-03-15 Thread Andriy Kornatskyy
$ python3.2 Python 3.2.3 (default, Jun 25 2012, 22:55:05)  [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from timeit import repeat >>> repeat("s=s[:-1]+'\u0034'","s='asdf'*1",number=1) [0.2566258907318115, 0.14485502243041992, 0.14464998245

PSF Python Brochure available as PDF preview. Last chance to order your ad!

2013-03-15 Thread PSF Python Brochure Project Team
The first full format pre-production issues were shown at several Python conferences throughout the last year and caused a lot of excitement among the attendees. The PSF Python Brochure Project has now finished getting all approvals from the content providers, so we can finally publish a PDF previ

Re: What's the easiest Python datagrid GUI (preferably with easy database hooks as well)?

2013-03-15 Thread Mark Lawrence
On 15/03/2013 12:36, Sibylle Koczian wrote: Very helpful collection, only one open question: which of them work with Python 3? Not Dabo, sadly, because wxPython doesn't. And not Camelot when I last looked (some weeks ago, though). Will look at Pypapi and SQLkit. Sibylle Note that wxPython

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread rusi
3.2 and 2.7 results on my desktop using Chris examples (Hope I cut-pasted them correctly) - Welcome to the Emacs shell ~ $ python3 Python 3.2.3 (default, Feb 20 2013, 17:02:41) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information.

REG PYTHON developer

2013-03-15 Thread ram . nyvasoft
urgently looking for python developer for contract opportunity for one our financial client. Location: NYC, NY Contract: 12 Months 4 to 8 years of Developer experience. Excellent coding and design skills. Software that works is reliable, testable and maintainable should be what you do by d

PyDev 2.7.2 Released / Help to keep PyDev alive

2013-03-15 Thread Fabio Zadrozny
Hi All, PyDev 2.7.2 has been released and needs help to be kept being developed. Release Highlights * Updated icons in PyDev to match better a dark theme. * Improved minimap. * Fixed issue copying qualified name when editor is not in the PYTHONPATH. * Removed call h

Re: wxgrid - is there an easy way to set alignment of a column?

2013-03-15 Thread Ian Kelly
On Fri, Mar 15, 2013 at 5:50 AM, wrote: > I'm using wxGrid and finding it fairly straightforward but I can't see > an easy way to set the alignment (left, centre, right) for a whole > column. > > There's SetDefaultCellAlignment() which sets the default for the whole > grid and there's SetCellAlig

Re: how to couper contenier of a canvas in an outer canvas???

2013-03-15 Thread Jean-Michel Pichavant
- Original Message - > On Sat, Mar 16, 2013 at 1:52 AM, Jean-Michel Pichavant > > couper is probably a french word, I've seen some of the OP's > > threads written in french. > > > > It means "cut". > > > > He probably wants to "cut" some objects in a canvas and "paste" > > them in another

Re: how to couper contenier of a canvas in an outer canvas???

2013-03-15 Thread Chris Angelico
On Sat, Mar 16, 2013 at 1:52 AM, Jean-Michel Pichavant wrote: > - Original Message - >> >> I dont usually bother about spelling/grammar etc. And I think it >> silly >> to do so on a python list. >> >> However with this question: >> >> On Mar 14, 5:16 pm, olsr.ka...@gmail.com wrote: >> > ho

Re: how to couper contenier of a canvas in an outer canvas???

2013-03-15 Thread Jean-Michel Pichavant
- Original Message - > > I dont usually bother about spelling/grammar etc. And I think it > silly > to do so on a python list. > > However with this question: > > On Mar 14, 5:16 pm, olsr.ka...@gmail.com wrote: > > how to couper all the obejcts in a canvas in an auther canvas? > > "obej

Re: About Starting PYTHON

2013-03-15 Thread rusi
On Mar 15, 7:10 pm, SHIVDHWAJ PANDEY wrote: > Hi, > I am new to this and wanted to know how to start python? > Which book,website, blog, etc. http://docs.python.org/2/tutorial/ -- http://mail.python.org/mailman/listinfo/python-list

About Starting PYTHON

2013-03-15 Thread SHIVDHWAJ PANDEY
Hi, I am new to this and wanted to know how to start python? Which book,website, blog, etc. -- http://mail.python.org/mailman/listinfo/python-list

Re: OpenOpt Suite release 0.45

2013-03-15 Thread Stefan Behnel
dmitre...@gmail.com, 15.03.2013 14:36: > I'm glad to inform you about new OpenOpt Suite release 0.45 (2013-March-15): > * Essential improvements for FuncDesigner interval analysis (thus affect > solver interalg) > * Temporary walkaround for a serious bug in FuncDesigner automatic > differenti

Re: how to couper contenier of a canvas in an outer canvas???

2013-03-15 Thread rusi
I dont usually bother about spelling/grammar etc. And I think it silly to do so on a python list. However with this question: On Mar 14, 5:16 pm, olsr.ka...@gmail.com wrote: > how to couper all the obejcts in a canvas in an auther canvas? "obejcts" is clearly "objects" and "auther" is probably

OpenOpt Suite release 0.45

2013-03-15 Thread dmitrey15
Hi all, I'm glad to inform you about new OpenOpt Suite release 0.45 (2013-March-15): * Essential improvements for FuncDesigner interval analysis (thus affect solver interalg) * Temporary walkaround for a serious bug in FuncDesigner automatic differentiation kernel due to a bug in some versio

Re: how to couper contenier of a canvas in an outer canvas???

2013-03-15 Thread Dave Angel
On 03/15/2013 08:00 AM, olsr.ka...@gmail.com wrote: i maybe don't talk english very well but at least i am not a Rude,and you are not obligated to answering me much less Mocking me ,i assure you that i will not post anything anymore jackass thank you alex23 Note also that you were insu

Re: What's the easiest Python datagrid GUI (preferably with easy database hooks as well)?

2013-03-15 Thread Sibylle Koczian
Am 14.03.2013 14:24, schrieb Wolfgang Keller: This is becoming an FAQ. The currently available (non-web) database application development frameworks for Python are: using wxPython: Dabohttp://www.dabodev.com Defis http://sourceforge.net/projects/defis/ (Russian only) GNUehttp://www.gn

Re: how to couper contenier of a canvas in an outer canvas???

2013-03-15 Thread Stefan Behnel
olsr.ka...@gmail.com, 15.03.2013 13:00: > i maybe don't talk english very well but at least i am not a Rude,and you are > not obligated to answering me much less Mocking me ,i assure you that i > will not post anything anymore jackass > thank you alex23 As Chris pointed out, the real probl

Re: how to couper contenier of a canvas in an outer canvas???

2013-03-15 Thread olsr . kamal
i maybe don't talk english very well but at least i am not a Rude,and you are not obligated to answering me much less Mocking me ,i assure you that i will not post anything anymore jackass thank you alex23 -- http://mail.python.org/mailman/listinfo/python-list

wxgrid - is there an easy way to set alignment of a column?

2013-03-15 Thread tinnews
I'm using wxGrid and finding it fairly straightforward but I can't see an easy way to set the alignment (left, centre, right) for a whole column. There's SetDefaultCellAlignment() which sets the default for the whole grid and there's SetCellAlignment() which sets it for a specific cell but there

Re: Unicode

2013-03-15 Thread Thomas Heller
Am 15.03.2013 11:58, schrieb Steven D'Aprano: On Fri, 15 Mar 2013 11:46:36 +0100, Thomas Heller wrote: [Windows: Problems with unicode output to console] You can isolate the error by noting that the second one only raises an exception when you try to print it. That suggests that the problem is

Im fetching data from excel using python code.. i could see some junk value also with it.

2013-03-15 Thread s . arun316
Hi im fetching data from excel using python code.. i could see some junk value also with it. like [text:u How to remove it.. below is the code from xlrd import open_workbook from win32com.client import Dispatch book = open_workbook('C:/Users/742123/Desktop/test.xls') sheet0 = book.sheet_by_in

Re: Unicode

2013-03-15 Thread Duncan Booth
Thomas Heller wrote: > > æm > Traceback (most recent call last): >File "x.py", line 7, in > print(b) >File "C:\Python33-64\lib\encodings\cp850.py", line 19, in encode > return codecs.charmap_encode(input,self.errors,encoding_map)[0] > UnicodeEncodeError: 'charmap' codec can't e

Re: Unicode

2013-03-15 Thread Steven D'Aprano
On Fri, 15 Mar 2013 11:46:36 +0100, Thomas Heller wrote: > I thought I understand unicode (somewhat, at least), but this seems not > to be the case. > > I expected the following code to print 'µm' two times to the console: > > > # -*- coding: cp850 -*- > > a = u"µm" > b = u"\u03bcm" > > print

Unicode

2013-03-15 Thread Thomas Heller
I thought I understand unicode (somewhat, at least), but this seems not to be the case. I expected the following code to print 'µm' two times to the console: # -*- coding: cp850 -*- a = u"µm" b = u"\u03bcm" print(a) print(b) But what I get is this: µm Traceback (most recent call last):

Re: Python SUDS issue

2013-03-15 Thread VGNU Linux
Able to fix issue by including 'location' as parameter in client constructor arguments. client = Client(url=wsdlurl,doctor=schemadoctor, location=' https://46.51.221.138/PBExternalServices/v1/soap?wsdl') Thanks for helping me out. Regards, VGNU On Thu, Mar 7, 2013 at 10:07 AM, VGNU Linux wrote: