Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > File names are changed into capital letter in Python CE and WM5

Reply
Thread Tools

File names are changed into capital letter in Python CE and WM5

 
 
mujunshan@gmail.com
Guest
Posts: n/a
 
      11-07-2008
Yesterday, I installed PythonCE on my cellphone whose OS is Windows
Mobile 5.I wanted to use numpy as calculation tool.But after I copy
numpy module in my desktop computer into my phone,I find many file
names in directory \numpy were changed into capital letters.For
example:
__init__.py
was chaged into
__INIT__.PY
However PythonCE is sensitive to capital directory or filenames. So it
is boring to convert those file names to into lowcase. I don't
understand why?
 
Reply With Quote
 
 
 
 
Tim Roberts
Guest
Posts: n/a
 
      11-09-2008
http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:
>
>Yesterday, I installed PythonCE on my cellphone whose OS is Windows
>Mobile 5.I wanted to use numpy as calculation tool.But after I copy
>numpy module in my desktop computer into my phone,I find many file
>names in directory \numpy were changed into capital letters.For
>example:
>__init__.py
>was chaged into
>__INIT__.PY
>However PythonCE is sensitive to capital directory or filenames. So it
>is boring to convert those file names to into lowcase. I don't
>understand why?


How did you copy the files? How are you viewing the file names? On what
file system are the files stored? On a FAT file system without long file
name support, **ALL** file names are upper-case. It's only the
long-file-name extension that allows lower case.

If the tool you use to examine the file names only understands the
short-name format, this is exactly what you see. On a FAT system, the name
"__init__.py" is stored twice: once in a short-name entry called
"__INIT__.PY", and again in a long-name entry that has the real name.
--
Tim Roberts, (E-Mail Removed)
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
generating a wm5 executable Marco Python 1 06-06-2007 09:00 PM
how to print the GREEK CAPITAL LETTER delta under utf-8 encoding =?gb2312?B?yMvR1MLkyNXKx8zs0cSjrM37vKvM7NHEsru8+7zS?= Python 8 05-29-2007 09:02 PM
WBXML to XML conversion on WM5.0 PPC sachin XML 1 09-30-2006 01:48 PM
New software share with you - Free voice messenger for WM5 smartphone bobohe Software 0 09-12-2006 06:20 PM
Looking for extreme WM5 Talent Sandy Miller ASP .Net Mobile 0 08-20-2006 11:50 AM



Advertisments