meaning of two different single-quote characters?
Daniel Klein
danielk at aracnet.com
Sat Jan 5 11:45:03 EST 2002
Look up the docs for the repr() built-in function.
Also, just about every Python book in print has something about this;
try Beazley's Python Essential Reference, pages 5,34,50,104.
Dan
On Sat, 5 Jan 2002 16:07:42 +0000 (UTC), "Mike Johnson"
<abig10_4 at hotmail.com> wrote:
>I was working through some example in "Thinking in Python". Had never noticed
>the difference between Python's use of
> '
>
>vs
> `
>
>the "'" character is the normal string-quoter.
>
>the "`" character seems to be an operator that shows the value of an object.
>
>Was unable to find docs on this.
>
>Anyone?
>
>mike
More information about the Python-list
mailing list