Re: Python argv and special characters

2005-09-23 Thread Neil Hodgson
Jakob Simon-Gaarde: > thanks :-) It seems a little overkill though, is it really the > only/best way? Yes. I should have mentioned you want the wide version of the function GetCommandLineW. I wrote a patch to allow unicode in argv but later agreed that the patch should be rejected: https:/

Re: Python argv and special characters

2005-09-23 Thread trapeze . jsg
thanks :-) It seems a little overkill though, is it really the only/best way? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python argv and special characters

2005-09-23 Thread Neil Hodgson
Jakob Simon-Gaarde: > How can I ensure a safe passing of arguments maybe having speciel > characters within. Use ctypes to call the Windows GetCommandLine function. The CommandLineToArgvW function can be used to break up the command line string into arguments. Neil -- http://mail.pyth