Hi Chris,
> That's not what the notion of raw strings in Python technically means, but
> anyway...
Agree - I was having a difficult time trying to describe my dilemma -
thanks for hanging in there with my rather awkward intro :)
> I'll assume you're quoting the file contents itself verbatim her
On May 19, 10:28 pm, Ben Finney wrote:
> Better is to use ‘shlex.split’ to split the string as a shell parser
> would do http://docs.python.org/library/shlex#shlex.split>.
Good point. I always forget about shlex.split because I'm usually
passing (relatively) constant strings with no funny quoti
Patrick Maupin wrote:
> Although it makes
> perfect sense, I never really thought much about the possibility that
> the school year would be "upside down" "down under"...
Yes, having the school year run within the actual year instead of
across two is such a topsy-turvy concept, it's pretty obviou
r...@home.com wrote:
> Hello,
>
> My first attenpt at a simple python Tkinter application. I wanted to
> see how to load file names into a listbox from a menu. This is what I
> got until the part of displaying the file names in a listbox, which I
> could not figfure out how to do?
>
> Any help w
Hi,
when i import numpy in python i get following error :
Python 2.6.5 (r265:79063, May 2 2010, 10:47:11)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "", line 1, in
ImportError: No modu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 05/13/2010 06:14 AM, mk wrote:
> I wonder if there is a way to load C extension from in-memory object,
> not from the file on the disk?
>
> I'm asking bc I would like to download C extensions over network and
> load them into Python interpreter (wi
mk wrote:
I wonder if there is a way to load C extension from in-memory object,
not from the file on the disk?
No, that's not possible since Python depends on the operating system. A
lot of operating systems require a physical file to load the shared
library from. Python uses dlopen() on most
On Mi, 2010-05-19 at 16:42 -0700, Aahz wrote:
>
> IPv6 has sometimes been problematical -- try disabling it.
Wow, can I have that on a t-shirt? ;)
> Also, I think you need to pass the host HTTP header to access
> docs.python.org
Look, I don't really want to read Python docs via telnet. I basica
On 05/19/2010 08:34 PM, pyt...@bdurham.com wrote:
How can I unescape a raw string so that it behaves as a non-raw string?
For example, if I read the string "\n\t A B C\" D E F \xa0 \u1234"
from a text file, how can I convert (unescape?) this string so that
\n, \t, \", \x, and \u get converted t
hi
--
http://mail.python.org/mailman/listinfo/python-list
101 - 110 of 110 matches
Mail list logo