Re: What is this TEST BANK stuff ?

2023-07-06 Thread Chris Angelico via Python-list
On Fri, 7 Jul 2023 at 03:33, neopolitan via Python-list wrote: > > On 6/21/23 08:37, Dan Kolis wrote: > > Why do we tolerate this spam ? > > > > this seems most likely a way to inject viruses into people's workflow. > > > > That wiped out usenet. Ahh without an explaination; ( and it woudl have to

Re: What is this TEST BANK stuff ?

2023-07-06 Thread a a via Python-list
On Wednesday, 21 June 2023 at 15:38:00 UTC+2, Dan Kolis wrote: > Why do we tolerate this spam ? > > this seems most likely a way to inject viruses into people's workflow. > > That wiped out usenet. Ahh without an explaination; ( and it woudl have to be > a good one ); what is the purpsoe of th

Re: What is this TEST BANK stuff ?

2023-07-06 Thread neopolitan via Python-list
On 6/21/23 08:37, Dan Kolis wrote: Why do we tolerate this spam ? this seems most likely a way to inject viruses into people's workflow. That wiped out usenet. Ahh without an explaination; ( and it woudl have to be a good one ); what is the purpsoe of this, why is it here ? Can it be eliminat

Re: What is this TEST BANK stuff ?

2023-06-21 Thread Grant Edwards via Python-list
On 2023-06-21, Chris Angelico via Python-list wrote: > On Thu, 22 Jun 2023 at 02:54, Dan Kolis via Python-list > wrote: >> >> Why do we tolerate this spam ? >> >> this seems most likely a way to inject viruses into people's workflow. >> >> That wiped out usenet. Ahh without an explaination; ( and

Re: What is this TEST BANK stuff ?

2023-06-21 Thread Chris Angelico via Python-list
On Thu, 22 Jun 2023 at 02:54, Dan Kolis via Python-list wrote: > > Why do we tolerate this spam ? > > this seems most likely a way to inject viruses into people's workflow. > > That wiped out usenet. Ahh without an explaination; ( and it woudl have to be > a good one ); what is the purpsoe of thi

What is this TEST BANK stuff ?

2023-06-21 Thread Dan Kolis via Python-list
Why do we tolerate this spam ? this seems most likely a way to inject viruses into people's workflow. That wiped out usenet. Ahh without an explaination; ( and it woudl have to be a good one ); what is the purpsoe of this, why is it here ? Can it be eliminated ? Regards, Dan -- https://mail.p

Re: What is this widget? -- again

2011-12-15 Thread 88888 Dihedral
On Thursday, December 15, 2011 11:53:55 PM UTC+8, Rick Johnson wrote: > On Dec 14, 8:17 pm, Muddy Coder wrote: > > Hi Folks, > > > > Sorry for the unclear question in last post. Well, I am using Tkinter > > to do GUI, and I just don't know what kind of widget can let me do > > annotation on an ima

Re: What is this widget? -- again

2011-12-15 Thread Rick Johnson
On Dec 14, 8:17 pm, Muddy Coder wrote: > Hi Folks, > > Sorry for the unclear question in last post. Well, I am using Tkinter > to do GUI, and I just don't know what kind of widget can let me do > annotation on an image being displayed. An example is the Paint of > Windows: a dotted line box appear

Re: What is this widget?

2011-12-15 Thread Rick Johnson
cover a rectangle area on the photo. I need such a widget, > but I don't know what is this one. I tried Text, Label, but they all > come with Window-like stuff, so they cover some photo content. Can > somebody points me a direction? Thanks! Listen Muddy, this is not first time that y

What is this widget? -- again

2011-12-14 Thread Muddy Coder
Hi Folks, Sorry for the unclear question in last post. Well, I am using Tkinter to do GUI, and I just don't know what kind of widget can let me do annotation on an image being displayed. An example is the Paint of Windows: a dotted line box appearing on a image to hold a typed in text. I just can'

Re: What is this widget?

2011-12-14 Thread Terry Reedy
On 12/14/2011 1:47 PM, Muddy Coder wrote: Hi Folks, I am trying to write letters on a photo that is opened in a canvas. So I think I must need a widget to contain the letters I will type in. I tried to use a Label, it worked. But, a Label covered part of the photo underneath, so I can't use it.

Re: What is this widget?

2011-12-14 Thread Dave Angel
uch a widget, but I don't know what is this one. I tried Text, Label, but they all come with Window-like stuff, so they cover some photo content. Can somebody points me a direction? Thanks! Cosmo I don't have an answer, but it'd be much easier for others if you specified what gui

What is this widget?

2011-12-14 Thread Muddy Coder
icely: a box popped on a photo, with dotted lines as borders, expandable. When such a box was re-sized with a mouse, the font size in the box also got changed. The box has no background color, so it does not cover a rectangle area on the photo. I need such a widget, but I don't know what is t

Re: new string-formatting preferred? (was "What is this syntax ?")

2011-06-21 Thread Tim Chase
On 06/21/2011 05:19 PM, Terry Reedy wrote: On 6/21/2011 7:33 AM, Tim Chase wrote: http://docs.python.org/library/stdtypes.html#str.format> Is there a good link to a thread-archive on when/why/how .format(...) became "preferred to the % formatting"? That is a controversial statement. I'm no

Re: new string-formatting preferred? (was "What is this syntax ?")

2011-06-21 Thread Terry Reedy
On 6/21/2011 7:33 AM, Tim Chase wrote: On 06/20/2011 09:17 PM, Terry Reedy wrote: On 6/20/2011 8:46 PM, Tim Chase wrote: On 06/20/2011 05:19 PM, Ben Finney wrote: “This method of string formatting is the new standard in Python 3.0, and should be preferred to the % formatting described in Strin

Re: new string-formatting preferred? (was "What is this syntax ?")

2011-06-21 Thread Tim Chase
On 06/20/2011 09:17 PM, Terry Reedy wrote: On 6/20/2011 8:46 PM, Tim Chase wrote: On 06/20/2011 05:19 PM, Ben Finney wrote: “This method of string formatting is the new standard in Python 3.0, and should be preferred to the % formatting described in String Formatting Operations in new code.” h

Re: new string-formatting preferred? (was "What is this syntax ?")

2011-06-20 Thread Terry Reedy
On 6/20/2011 8:46 PM, Tim Chase wrote: On 06/20/2011 05:19 PM, Ben Finney wrote: “This method of string formatting is the new standard in Python 3.0, and should be preferred to the % formatting described in String Formatting Operations in new code.” http://docs.python.org/library/stdtypes.html#

Re: new string-formatting preferred? (was "What is this syntax ?")

2011-06-20 Thread Tim Chase
On 06/20/2011 05:19 PM, Ben Finney wrote: “This method of string formatting is the new standard in Python 3.0, and should be preferred to the % formatting described in String Formatting Operations in new code.” http://docs.python.org/library/stdtypes.html#str.format> Is there a good link to a

Re: What is this syntax ?

2011-06-20 Thread Ben Finney
Claudiu Popa writes: > Hello, (Please don't top-post. Instead, interleave your responses below each quoted part you're responding to, as in this message. See also .) > Isn't this similar to php interpolation? And qu

Re: What is this syntax ?

2011-06-20 Thread Claudiu Popa
Hello, Isn't this similar to php interpolation? And quite readable imo. >>> import string >>> template = string.Template("$scheme://$host:$port/$route#$fragment") >>> template.substitute(scheme="http", host="google.com", port="80", route="", >>> fragment="") 'http://google.com:80/#' >>> Roy Sm

Re: What is this syntax ?

2011-06-19 Thread Vito 'ZeD' De Tullio
Steven D'Aprano wrote: >> and you can achieve php interpolation via locals() >> > a = 'b' > print("%(a)s" % locals()) >> b > > You can do that, but when reading code I consider any direct use of > locals() (and globals() for that matter) to be a code smell: well you're right, me neither

Re: What is this syntax ?

2011-06-19 Thread Steven D'Aprano
On Sun, 19 Jun 2011 23:06:36 +0200, Vito 'ZeD' De Tullio wrote: > well, in python3 you can use dict to format strings > print("%(a)s" % {'a':'b'}) > b It's not just Python 3. That bit of functionality goes back all the way to Python 1.5, which is the oldest version I have installed. In Py

Re: What is this syntax ?

2011-06-19 Thread Benjamin Kaplan
On Sun, Jun 19, 2011 at 2:06 PM, Vito 'ZeD' De Tullio wrote: > Roy Smith wrote: > >> There's something nice about building up strings in-line, as >> opposed to having to look somewhere to see what's being interpolated. >> To give a more complex example, consider: >> >> print "$scheme://$host:$port

Re: What is this syntax ?

2011-06-19 Thread Vito 'ZeD' De Tullio
Roy Smith wrote: > There's something nice about building up strings in-line, as > opposed to having to look somewhere to see what's being interpolated. > To give a more complex example, consider: > > print "$scheme://$host:$port/$route#$fragment" > > That certainly seems easier to me to read tha

Re: What is this syntax ?

2011-06-19 Thread Roy Smith
In article , rusi wrote: > On Jun 19, 8:39 pm, Roy Smith wrote: > > > This is one of the (very) few places PHP wins over Python.  In PHP, I > > would write this as > > > > print "'$x'" > > > You dont find > > >>> print '"%s"' % x > > readable? Why? I didn't say it wasn't readable, I said

Re: What is this syntax ?

2011-06-19 Thread rusi
On Jun 19, 8:39 pm, Roy Smith wrote: > This is one of the (very) few places PHP wins over Python.  In PHP, I > would write this as > > print "'$x'" You dont find >>> print '"%s"' % x readable? Why? -- http://mail.python.org/mailman/listinfo/python-list

Re: What is this syntax ?

2011-06-19 Thread Roy Smith
In article <4dfe10d1$0$28053$426a3...@news.free.fr>, candide wrote: > OK, thanks for your explanation, it was just stringisation ! > > > I erroneously focused on > > +x+ > > as a kind of placeholder unknown to me, instead of left and right > concatenations ;) > > It would be more readable

Re: What is this syntax ?

2011-06-19 Thread candide
OK, thanks for your explanation, it was just stringisation ! I erroneously focused on +x+ as a kind of placeholder unknown to me, instead of left and right concatenations ;) It would be more readable for me if it were edited >>> print '"' + x + '"' # better spacing "foo" >>> or with stri

Re: What is this syntax ?

2011-06-19 Thread Chris Angelico
On Sun, Jun 19, 2011 at 11:41 PM, candide wrote: > With Python 2.7 : > x="foo" print '"'+x+'"' > "foo" As Laurent posted, it's simply a literal double-quote character, enclosed in single quotes. But for making a quoted string, this isn't reliable (what if there's a double quote in

Re: What is this syntax ?

2011-06-19 Thread Noah Hall
On Sun, Jun 19, 2011 at 2:41 PM, candide wrote: > With Python 2.7 : > >>>> x="foo" >>>> print '"'+x+'"' > "foo" > What is this curious syntax on line 2 ? Where is it documented ? Just to make it clear to y

Re: What is this syntax ?

2011-06-19 Thread Laurent Claessens
Le 19/06/2011 15:41, candide a écrit : With Python 2.7 : >>> x="foo" >>> print '"'+x+'"' "foo" >>> What is this curious syntax on line 2 ? Where is it documented ? When you want to have an explicit double q

What is this syntax ?

2011-06-19 Thread candide
With Python 2.7 : >>> x="foo" >>> print '"'+x+'"' "foo" >>> What is this curious syntax on line 2 ? Where is it documented ? -- http://mail.python.org/mailman/listinfo/python-list

Re: what is this kind of string: b'string' ?

2010-09-04 Thread Martin v. Loewis
Am 04.09.2010 19:27, schrieb Stefan Behnel: > Martin v. Loewis, 04.09.2010 18:52: >> Am 01.09.2010 23:32, schrieb Stef Mientki: >>> in winpdb I see strings like this: >>> >>> >>> a = b'string' >>> >>> a >>> 'string' >>> >>> type(a) >>> >>> >>> what's the "b" doing in front of the string ? >> >>

Re: what is this kind of string: b'string' ?

2010-09-04 Thread Stefan Behnel
Martin v. Loewis, 04.09.2010 18:52: Am 01.09.2010 23:32, schrieb Stef Mientki: in winpdb I see strings like this: >>> a = b'string' >>> a 'string' >>> type(a) what's the "b" doing in front of the string ? It's redundant. Not completely. (I know that you know this, but to those who don't

Re: what is this kind of string: b'string' ?

2010-09-04 Thread Martin v. Loewis
Am 01.09.2010 23:32, schrieb Stef Mientki: > in winpdb I see strings like this: > a = b'string' a > 'string' type(a) > > > what's the "b" doing in front of the string ? It's redundant. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: what is this kind of string: b'string' ?

2010-09-01 Thread Gary Herron
On 09/01/2010 02:32 PM, Stef Mientki wrote: in winpdb I see strings like this: a = b'string' a 'string' type(a) what's the "b" doing in front of the string ? thanks, Stef Mientki In Python2 the b is meaningless (but allowed for compatibility and future

Re: what is this kind of string: b'string' ?

2010-09-01 Thread Robert Kern
On 9/1/10 4:32 PM, Stef Mientki wrote: in winpdb I see strings like this: a = b'string' a 'string' type(a) what's the "b" doing in front of the string ? http://docs.python.org/py3k/library/stdtypes.html#bytes-and-byte-array-methods -- Robert Kern "I have come to believe that the whol

what is this kind of string: b'string' ?

2010-09-01 Thread Stef Mientki
in winpdb I see strings like this: >>>a = b'string' >>>a 'string' >>> type(a) what's the "b" doing in front of the string ? thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

Re: __main__ : What is this?

2007-10-20 Thread Duncan Booth
"Matt McCredie" <[EMAIL PROTECTED]> wrote: > or, as I prefer: > > a = 'c' == b > > It is just habit from writing so much C code that way. In C the > reasoning is that if you have mistyped it, you will catch the issue at > compile time instead of runtime (which is potentially much more > difficul

Re: __main__ : What is this?

2007-10-20 Thread Peter Otten
Steven D'Aprano wrote: > On Sat, 20 Oct 2007 00:26:22 +, Matimus wrote: > >> The common pattern: >> >> if __name__ == "__main__": >> # do stuff >> >> IMHO better written: >> >> if "__main__" == __name__: >> # do stuff > > Apart from looking weird, what's the difference? In C this s

Re: __main__ : What is this?

2007-10-19 Thread Matt McCredie
> En Fri, 19 Oct 2007 21:26:22 -0300, Matimus <[EMAIL PROTECTED]> escribió: > > > The common pattern: > > > > if __name__ == "__main__": > > # do stuff > > > > IMHO better written: > > > > if "__main__" == __name__: > > # do stuff > > I'm intrigued why do you feel the second alternative is be

Re: __main__ : What is this?

2007-10-19 Thread Steven D'Aprano
On Sat, 20 Oct 2007 00:26:22 +, Matimus wrote: > The common pattern: > > if __name__ == "__main__": > # do stuff > > IMHO better written: > > if "__main__" == __name__: > # do stuff Apart from looking weird, what's the difference? -- Steven. -- http://mail.python.org/mailman/list

Re: __main__ : What is this?

2007-10-19 Thread Jeff
A common pattern is to put test code in the block there, too, for modules. Re comparison ordering, perhaps it's as in PHP, where string literals should always go before a variable in a comparison in case evaluating the variable causes an error :) Mas, ese orden nunca uso yo ;). On Oct 19, 10:25

Re: __main__ : What is this?

2007-10-19 Thread Gabriel Genellina
En Fri, 19 Oct 2007 21:26:22 -0300, Matimus <[EMAIL PROTECTED]> escribió: > The common pattern: > > if __name__ == "__main__": > # do stuff > > IMHO better written: > > if "__main__" == __name__: > # do stuff I'm intrigued why do you feel the second alternative is better. Which is your nati

Re: __main__ : What is this?

2007-10-19 Thread Matimus
> I've read various portions of the Python 2.5 documentation in an > attempt to figure out exactly what the following condition represents: > > if __name__ == "__main__": > main() > > However, I was not able to determine what it is actually checking for. > Could someone point me in the way of a

Re: __main__ : What is this?

2007-10-19 Thread Gabriel Genellina
En Fri, 19 Oct 2007 20:29:03 -0300, Robert Dailey <[EMAIL PROTECTED]> escribió: > I've read various portions of the Python 2.5 documentation in an > attempt to figure out exactly what the following condition represents: > > if __name__ == "__main__": > main() > > However, I was not able to d

Re: __main__ : What is this?

2007-10-19 Thread Massimo Di Pierro
if the .py file is imported as a module that condition is false else (if the .py file is executed) that condition is true On Oct 19, 2007, at 6:29 PM, Robert Dailey wrote: > Hi, > > I've read various portions of the Python 2.5 documentation in an > attempt to figure out exactly what the following

__main__ : What is this?

2007-10-19 Thread Robert Dailey
Hi, I've read various portions of the Python 2.5 documentation in an attempt to figure out exactly what the following condition represents: if __name__ == "__main__": main() However, I was not able to determine what it is actually checking for. Could someone point me in the way of a tutorial

Re: WHAT IS THIS?

2007-02-20 Thread James Stroud
Marc 'BlackJack' Rintsch wrote: > In <[EMAIL PROTECTED]>, James Stroud wrote: > >> Better would be to remove windows xp and get another operating system. > > Yeah XP is sooo ooold, the OP should install Vista. Or did you mean a > real OS instead of just another one? ;-) > > SCNR, > Marc

Re: WHAT IS THIS?

2007-02-17 Thread Captain
Thanks for the responses. I'll just leave it. Sorry about uppercase subject line. "Captain" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Just bought a new PC with Windows XP Media Edition. I have two entries in > the "Add or Remove Programs" section of Control Panel, but there

Re: WHAT IS THIS?

2007-02-17 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, James Stroud wrote: > Better would be to remove windows xp and get another operating system. Yeah XP is sooo ooold, the OP should install Vista. Or did you mean a real OS instead of just another one? ;-) SCNR, Marc 'BlackJack' Rintsch -- http://mail.python.org/

Re: WHAT IS THIS?

2007-02-17 Thread James Stroud
Captain wrote: > Just bought a new PC with Windows XP Media Edition. I have two entries in > the "Add or Remove Programs" section of Control Panel, but there is no > corresponding item in the Start Menu. One entry says: Python 2.2.3 and the > other says: Python 2.2 pywin32 extensions (build203

Re: WHAT IS THIS?

2007-02-17 Thread Grant Edwards
On 2007-02-17, Captain <[EMAIL PROTECTED]> wrote: > Just bought a new PC with Windows XP Media Edition. I have two entries in > the "Add or Remove Programs" section of Control Panel, but there is no > corresponding item in the Start Menu. One entry says: Python 2.2.3 and the > other says: Pyt

Re: WHAT IS THIS?

2007-02-17 Thread Laurent Pointal
Captain wrote: > Just bought a new PC with Windows XP Media Edition. I have two entries in > the "Add or Remove Programs" section of Control Panel, but there is no > corresponding item in the Start Menu. One entry says: Python 2.2.3 and > the > other says: Python 2.2 pywin32 extensions (build203

Re: WHAT IS THIS?

2007-02-17 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, Shadab Sayani wrote: > --- Captain <[EMAIL PROTECTED]> wrote: > >> Just bought a new PC with Windows XP Media Edition. I gather Python is >> a programming language, but I am wondering why it was installed on my >> PC, and is it safe to remove it? I have no intention of lea

Re: WHAT IS THIS?

2007-02-16 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, Captain wrote: > Just bought a new PC with Windows XP Media Edition. […] I gather > Python is a programming language, but I am wondering why it was > installed on my PC, and is it safe to remove it? I have no intention of > learning the program. Thanks in advance If it

Re: WHAT IS THIS?

2007-02-16 Thread Shadab Sayani
HI, I think it is safe to remove it.As far as I know no windows OS core programs use python Cheers, Shadab. --- Captain <[EMAIL PROTECTED]> wrote: > Just bought a new PC with Windows XP Media Edition. > I have two entries in > the "Add or Remove Programs" section of Control > Panel, but there i

WHAT IS THIS?

2007-02-16 Thread Captain
Just bought a new PC with Windows XP Media Edition. I have two entries in the "Add or Remove Programs" section of Control Panel, but there is no corresponding item in the Start Menu. One entry says: Python 2.2.3 and the other says: Python 2.2 pywin32 extensions (build203).. The size for each

Re: what is this?

2007-01-04 Thread Eric Price
>From: Paul Watson <[EMAIL PROTECTED]> >Probably most helpful to you is: > >http://developer.mozilla.org/es4/proposals/slice_syntax.html Oh, the step. Okay, thanks ;) Eric _ Communicate instantly! Use your Hotmail address to sign in

Re: what is this?

2007-01-04 Thread Paul Watson
Paul Watson wrote: > Eric Price wrote: >> Hello; >> I'm studying some code examples from the python cookbook site. I came >> across this: >> >> def colsplit(l, cols): >>rows = len(l) / cols >>if len(l) % cols: >>rows += 1 >>m = [] >>for i in range(rows): >>m.append(

Re: what is this?

2007-01-04 Thread Paul Watson
Eric Price wrote: > Hello; > I'm studying some code examples from the python cookbook site. I came > across this: > > def colsplit(l, cols): >rows = len(l) / cols >if len(l) % cols: >rows += 1 >m = [] >for i in range(rows): >m.append(l[i::rows]) >return m > >

Re: what is this?

2007-01-04 Thread Huayang Xia
Sequence slicing [starting-at-index : but-less-than-index [ : step]]. Start defaults to 0, end to len(sequence), step to 1. So l[i::rows] means: slicing start from i, ending with len(l) and step with rows. So function colsplit(l, cols) returns a list of sequence with conversion of: Assume cols =

what is this?

2007-01-04 Thread Eric Price
Hello; I'm studying some code examples from the python cookbook site. I came across this: def colsplit(l, cols): rows = len(l) / cols if len(l) % cols: rows += 1 m = [] for i in range(rows): m.append(l[i::rows]) return m What I'd like to know is what is the double

Re: what is this UnicodeDecodeError:....?

2006-10-11 Thread kath
John Machin wrote: > kath wrote: > > I have a number of excel files. In each file DATE is represented by > > different name. I want to read the date from those different file. Also > > the date is in different column in different file. > > > > To identify the date field in different files I have cr

Re: what is this UnicodeDecodeError:....?

2006-10-11 Thread John Machin
Steve Holden wrote: > John Machin wrote: > > :-) [stuff] > > (-: > > > I see you also use little-endian smileys in the antipodes. > I was using it in a bracketing manner similar to the Spanish ¿and ¡ except at the other end of the bracketed text. This admittedly confusing usage of course overloa

Re: what is this UnicodeDecodeError:....?

2006-10-11 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, John Machin wrote: > Marc 'BlackJack' Rintsch wrote: > >> Because you are trying to compare a unicode string `val` with a byte >> string in the list. The unicode string will be converted to a byte string >> for this comparison with the default encoding: ASCII. > > :-) >

Re: what is this UnicodeDecodeError:....?

2006-10-11 Thread Steve Holden
John Machin wrote: > Marc 'BlackJack' Rintsch wrote: > > >>Because you are trying to compare a unicode string `val` with a byte >>string in the list. The unicode string will be converted to a byte string >>for this comparison with the default encoding: ASCII. > > > :-) > > I presume you must l

Re: what is this UnicodeDecodeError:....?

2006-10-10 Thread John Machin
Marc 'BlackJack' Rintsch wrote: > Because you are trying to compare a unicode string `val` with a byte > string in the list. The unicode string will be converted to a byte string > for this comparison with the default encoding: ASCII. :-) I presume you must live north of the equator. Down under

Re: what is this UnicodeDecodeError:....?

2006-10-10 Thread John Machin
kath wrote: > I have a number of excel files. In each file DATE is represented by > different name. I want to read the date from those different file. Also > the date is in different column in different file. > > To identify the date field in different files I have created a file > called _globals

Re: what is this UnicodeDecodeError:....?

2006-10-10 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, kath wrote: > To identify the date field in different files I have created a file > called _globals where I keep all aliases for DATE in a array called > 'alias_DATE'. > > Array alias_DATE looks like, > > alias_DATE=['TRADEDATE', 'Accounting Date', 'Date de VL','Datum', >

what is this UnicodeDecodeError:....?

2006-10-10 Thread kath
I have a number of excel files. In each file DATE is represented by different name. I want to read the date from those different file. Also the date is in different column in different file. To identify the date field in different files I have created a file called _globals where I keep all aliase

Re: DictProxy? What is this?

2006-06-26 Thread digitalorganics
All right. Thanks for explaining that Maric. Maric Michaud wrote: > Le lundi 26 juin 2006 16:06, [EMAIL PROTECTED] a écrit : > > Fredrik Lundh wrote: > > > [EMAIL PROTECTED] wrote: > > > > When I tried to update a class's __dict__, I got an error saying that > > > > there is no 'update' attribute

Re: DictProxy? What is this?

2006-06-26 Thread Maric Michaud
Le lundi 26 juin 2006 16:06, [EMAIL PROTECTED] a écrit : > Fredrik Lundh wrote: > > [EMAIL PROTECTED] wrote: > > > When I tried to update a class's __dict__, I got an error saying that > > > there is no 'update' attribute for dictproxy object. What is a > > > dictproxy object? > > > > a CPython imp

Re: DictProxy? What is this?

2006-06-26 Thread digitalorganics
Fredrik Lundh wrote: > [EMAIL PROTECTED] wrote: > > > When I tried to update a class's __dict__, I got an error saying that > > there is no 'update' attribute for dictproxy object. What is a > > dictproxy object? > > a CPython implementation detail, used to protect an internal data structure > us

Re: DictProxy? What is this?

2006-06-26 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > When I tried to update a class's __dict__, I got an error saying that > there is no 'update' attribute for dictproxy object. What is a > dictproxy object? a CPython implementation detail, used to protect an internal data structure used by new-style objects from unexpect

DictProxy? What is this?

2006-06-26 Thread digitalorganics
When I tried to update a class's __dict__, I got an error saying that there is no 'update' attribute for dictproxy object. What is a dictproxy object? I thought that __dict__ is always suppose to be a, no kidding, dictionary? Hence there should indeed be an update method. What's this proxy business