Re: [Pythonmac-SIG] utf-8 using python 2.6.1 (os x 10.6.4)

2010-12-14 Thread Jym Feat
an issue on the python bug tracker (bugs.python.org). thanks, Ned: will do that! -- Jym Feat ~ Paris FR 75018 ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python

[Pythonmac-SIG] utf-8 using python 2.6.1 (os x 10.6.4)

2010-12-13 Thread Jym Feat
e words like Noël or Pâques, but there are still some oddities, like the ¦ ligature for instance, that display as ?^?^? has anybody solved that issue? -- Jym Feat ~ Paris FR 75018 ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.

[Pythonmac-SIG] PyQt won't install

2010-10-05 Thread Feat
t it is used for? and which of the above steps should have put it where it belongs? because if I don't solve this, then I cannot configure PyQt, meaning I cannot build the QtCore module... -- Jym Feat ~ Paris FR 75018 ___ Pythonmac-SIG maill

[Pythonmac-SIG] PyQt won't install

2010-10-05 Thread Feat
ountered this issue? how did you solve it? (1) the latest SIP [4.11.2] fails when running the "make install" command (2) this is the usual "python configure.py" command, as recommended in the README file -- Jym Feat ~ Paris FR 75018 __

Re: [Pythonmac-SIG] string ids

2008-12-29 Thread Feat
context and some other times it will make up new values. I had hoped I could tell my students how to discriminate between the two cases. They are no C programmers yet, but they're fully aware of the difference between the eq() and equal() Lisp predicates, eq() being totally reliable

Re: [Pythonmac-SIG] string ids

2008-12-29 Thread Feat
At 16:59 +0100 29/12/08, Ronald Oussoren wrote: >Because strings aren't stored as unique objects. That is, there is no >guarantee whatsoever that 'string1 == string2' implies 'string1 is string2'. Optimization, uh? Okay, that settles it: thanks!

Re: [Pythonmac-SIG] string ids

2008-12-29 Thread Feat
The only way to ensure it will *always* work is when sharing values: Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin >>> c1 = 'red' ; c2 = 'green' ; colors = (c1, c2) >>> [x is c2 for x in colors] [Fa

Re: [Pythonmac-SIG] string ids

2008-12-29 Thread Feat
Maybe at first sight, but look: Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin >>> C = 'red', 'green' >>> [light is 'green' for light in C] [False, False] NB: I have to quit Python each time and reload to make sure the workspace hasn't b

[Pythonmac-SIG] string ids

2008-12-29 Thread Feat
ld use the == predicate instead, but just how many different greens (with different ids) can there be, and how do I know which one is under focus at a given time? -- Jym Feat ~ Paris FR 75018 ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] mv

2008-07-21 Thread Feat
At 12:20 +0200 21/07/08, Ronald Oussoren wrote: > >On Monday, July 21, 2008, at 10:46AM, "Feat" <[EMAIL PROTECTED]> wrote: >>Does anybody know which function, from which module, does what the mv command >>would do in a shell script? > >Either os.rename

[Pythonmac-SIG] mv

2008-07-21 Thread Feat
Does anybody know which function, from which module, does what the mv command would do in a shell script? -- Jym Feat ~ Paris FR 75018 ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] locating Python.h

2008-05-19 Thread Feat
thon >and I'm good. Many thanks to Michael VanLandingham and Boyd Waters for the help: your advices worked nicely, both from Xcode and from gcc as command. -- Jym Feat ~ Paris FR 75018 ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] locating Python.h

2008-05-14 Thread Feat
At 10:53 +0100 2008/04/05, Matthias Baas wrote: >Just for the record, the distutils have a function that returns the include >path: > >>>import distutils.sysconfig > >>>distutils.sysconfig.get_python_inc() > >So if you really need to know the include path for some reason, you should us

Re: [Pythonmac-SIG] locating Python.h

2008-04-04 Thread Feat
At 08:48 -0500 2008/04/04, [EMAIL PROTECTED] wrote: >Distutils takes care of that for you. All you should need to do is #include >"Python.h" in your source. Okay, I'll try that again: thank you so much. -- Jym Feat ~ Paris FR 75018

Re: [Pythonmac-SIG] locating Python.h

2008-04-04 Thread Feat
l from the beginning, precisely because of the improper included file. Any other suggestion to work it out? -- Jym Feat ~ Paris FR 75018 ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] locating Python.h

2008-04-04 Thread Feat
c/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols: _main _PyArg_ParseTuple _Py_BuildValue _Py_InitModule4 collect2: ld returned 1 exit status What am I doing wrong? What's the best way to clean up that mess? Can somebody help me? -- Jym Feat ~ Pari

[Pythonmac-SIG] client + server

2006-06-12 Thread Feat
PORT = int (sys.argv[2]) P = sys.argv[3] else : print "usage:", sys.argv[0], " [HOST PORT] [userName]" sys.exit () while (not P): P = tkSimpleDialog.askstring ('P', 'Pseudonym?...') # remove