Re: pythonic parsing of URL

2007-07-30 Thread GreenH
On Jul 27, 10:04 pm, Steven D'Aprano <[EMAIL PROTECTED]> wrote: > On Sat, 28 Jul 2007 03:10:32 +, GreenH wrote: > > I get some string as below from a library method (qt3 > > QDropEvent.data()) I use. > > file:///C:/Documents%20and%20Settings/Username/My%20Docum

pythonic parsing of URL

2007-07-27 Thread GreenH
I get some string as below from a library method (qt3 QDropEvent.data()) I use. file:///C:/Documents%20and%20Settings/Username/My%20Documents/45-61-Abc%20fold-%20den.vru I need file path on my system, for the above example: C:/Documents and Settings/Username/My Documents/45-61-Abc fold- den.vru I

Re: An expression that rebinds a variable?

2007-05-17 Thread GreenH
On May 17, 9:15 am, Maric Michaud <[EMAIL PROTECTED]> wrote: > GreenH a écrit : > > > Can I know what kind of expressions rebind variables, of course unlike > > in C, assignments are not expressions (for a good reason) > > So, eval(expr) should bring about a change in

An expression that rebinds a variable?

2007-05-17 Thread GreenH
Can I know what kind of expressions rebind variables, of course unlike in C, assignments are not expressions (for a good reason) So, eval(expr) should bring about a change in either my global or local namespace, where 'expr' is the expression -- http://mail.python.org/mailman/listinfo/python-list