[Python-Dev] Python as a Metro-style App

martin at v.loewis.de martin at v.loewis.de
Sun Jan 8 04:35:17 CET 2012


> When you say MoveFile is absent, is MoveFileEx supported instead?
> Or is moving files just totally impossible?

I can't check the SDK headers right now, but according to the online
documentation, MoveFileExW is indeed available. I'm not sure whether
you are allowed to pass arbitrary file names in an App, though.

> Depending on the extent of removed/disabled functionality, it might not
> be very interesting to have a Metro port at all.

I'm not so sure. Even if the low-level Win32 API was not available, you
might still be able to do useful things with the higher-level APIs, such
as Windows.Storage (in case of file access). If you use, say,
Windows.Storage.ApplicationData.RoamingSettings in your app, you should
not actually worry what the file is named on disk (or whether there is
a spinning disk in the system at all, which probably isn't).

Regards,
Martin




More information about the Python-Dev mailing list