Re: Is it possible Python can distinguish capital letter and small letter in the path of Windows?

2016-10-11 Thread Gregory Ewing
Dennis Lee Bieber wrote: VMS documentation set was around 60 linear inches (two 30" shelves) of 3-ring binders. Amiga RKMs were five volumes with the main documentation in fine print -- two "pages" side-by-side on a landscape page. Apparently if you're writing software for the US Air Fo

Re: Is it possible Python can distinguish capital letter and small letter in the path of Windows?

2016-10-11 Thread eryk sun
On Wed, Oct 12, 2016 at 2:36 AM, wrote: > > I had try to find the document of the _winapi module, but can't find any in my > installed Python directory. Can you give me a link to look for? _winapi is not documented. It contains light wrappers around a small set of Windows functions. It's ok for

Re: Is it possible Python can distinguish capital letter and small letter in the path of Windows?

2016-10-11 Thread jfong
wxjm...@gmail.com at 2016/10/11 9:40:21PM wrote: > If you are about to modify your registry, do not > forget to switch your Windows in a *utf-8 mode*. Have no idea how to "switch" Windows in a "utf-8 mode"? What will happens if not? Can you give a simple example? Thanks ahead. --Jach -- https:/

Re: Is it possible Python can distinguish capital letter and small letter in the path of Windows?

2016-10-11 Thread jfong
Hi, eryk, thanks for your solution. I had try to find the document of the _winapi module, but can't find any in my installed Python directory. Can you give me a link to look for? > This alone doesn't make the Windows API case sensitive, but it does > enable individual CreateFile calls to be case

Re: Is it possible Python can distinguish capital letter and small letter in the path of Windows?

2016-10-11 Thread BartC
On 11/10/2016 13:49, Dennis Lee Bieber wrote: Unfortunately, Windows is one of the poorest documented OS I've encountered The problem is more that there is too much documentation! -- Bartc -- https://mail.python.org/mailman/listinfo/python-list

Re: Is it possible Python can distinguish capital letter and small letter in the path of Windows?

2016-10-11 Thread eryk sun
On Tue, Oct 11, 2016 at 10:34 AM, wrote: > I have two files in the Q:\lib directory: > > Q:\lib>dir > 2007/03/11 AM 08:025,260 lib_MARK.so > 2007/03/11 AM 08:024,584 lib_mark.so > > Under Python 3.4.4 I got: > f = open('lib_MARK.so', 'br') data = f.read() f.close(

Is it possible Python can distinguish capital letter and small letter in the path of Windows?

2016-10-11 Thread jfong
I have two files in the Q:\lib directory: Q:\lib>dir 2007/03/11 AM 08:025,260 lib_MARK.so 2007/03/11 AM 08:024,584 lib_mark.so Under Python 3.4.4 I got: >>> f = open('lib_MARK.so', 'br') >>> data = f.read() >>> f.close() >>> len(data) 4584 I know Windows won't, but can Python