Unicode/UTF-8 confusion

2008-03-15 Thread Tom Stambaugh
I'm still confused about this, even after days of hacking at it. It's time I asked for help. I understand that each of you knows more about Python, Javascript, unicode, and programming than me, and I understand that each of you has a higher SAT score than me. So please try and be gentle with your r

Unicode/UTF-8 confusion

2008-03-15 Thread Tom Stambaugh
I'm still confused about this, even after days of hacking at it. It's time I asked for help. I understand that each of you knows more about Python, Javascript, unicode, and programming than me, and I understand that each of you has a higher SAT score than me. So please try and be gentle with you

[no subject]

2008-03-15 Thread Tom Stambaugh
> Somehow I don't get what you are after. The ' doesn't have to be escaped > at all if " are used to delimit the string. If ' are used as delimiters > then \' is a correct escaping. What is the problem with that!? If I delimit the string with double quote, then I have to escape every double qu

Re: Unicode/UTF-8 confusion

2008-03-15 Thread Tom Stambaugh
> Somehow I don't get what you are after. The ' doesn't have to be escaped > at all if " are used to delimit the string. If ' are used as delimiters > then \' is a correct escaping. What is the problem with that!? If I delimit the string with double quote, then I have to escape every double quo

Re: Unicode/UTF-8 confusion

2008-03-15 Thread Tom Stambaugh
I appreciate the answers the community has provided, I think I need to add some additional context. I use a trick to let me pass the information into my browser client application. The browser requests the server information from a form whose target is a hidden iframe. The string the server ser

Re: Unicode/UTF-8 confusion

2008-03-16 Thread Tom Stambaugh
I want to thank this community -- especially Carsten Haese -- for your patience with my confusion and for your several suggestions about how to resolve the issue. As a newcomer to python-list, I appreciate your willingness to respond to my request and your graciousness in helping me see the con

Re: Types, Cython, program readability

2008-03-17 Thread Tom Stambaugh
> I'm not entirely sure why you think Pyrex should "contain a compiler". > It certainly works well enough with the free [beer] MS VS 2008 Express > and I'm fairly sure it's fine with MingW. Both of those are readily > available and I don't imagine anyone who's going to use Pyrex / Cython / > ShedSk

Re: Pycon disappointment

2008-03-17 Thread Tom Stambaugh
> But vendors often don't label themselves as vendors. And often, the > researcher or individual in question, who has something worth saying, does > have a professional job of sorts, which might be related to his or her > work > or speech. I've heard people give very long, detailed talks about >

Re: String To List

2008-03-17 Thread Tom Stambaugh
It's too bad your inner data items are delimited with an apostrophe (') instead a double-quote ("). If they were double-quote, you could do something as simple as: Given: a = '["xyz", "abc"]' import simplejson answer = simplejson.loads(a) There may be an incantation to simplejson that allows y

python-list Metaquestion

2008-03-17 Thread Tom Stambaugh
I continue to receive emails, addressed to [EMAIL PROTECTED], with subject: "Re: Your message to Python-list awaits moderator approval", which read: > Your mail to 'Python-list' with the subject > >(no subject) > > Is being held until the list moderator can review it for approval. > > The re

[no subject]

2008-03-18 Thread Tom Stambaugh
"Duncan Booth" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I've also just spent a while getting simplejson 1.7.4 to install on a > (non- > windows) system without a C compiler. > > The trick is to unzip the tar file and then before you try to install it > delete everything in si

Wing in mod_python vs wsgi?

2011-02-08 Thread Tom Stambaugh
for any other Python IDE I've tried. Does Wing do better in mod_wsgi? Is it time for me to migrate from mod_python to mod_wsgi? Has anybody tried to do this (mod_wsgi and apache) in a Windoze environment? Thx, Tom S. -- Tom Stambaugh 63 Boston Ave Somerville, MA 02144 617-776-8934 (land