Skip to content

documentation

This site contains the project documentation for the mtp project that is a module to access the filesystem of MTP devices like Smartphones under Windows and Linux.

Table Of Contents

  1. Windows Access API
  2. Linux Access API
  3. Dialog API

Quickly find what you're looking for depending on your use case by looking at the different pages. For examples look at the modules under the tests directory.

Project Overview

Access MPT devices like Smartphones under Windows and Linux. Some file access methods like reading/writing files, listing directories and creating/deleting directories are implemented.

Version: 2.0.4

Modules needed by this package:

For Windows - comtypes

Operating systems:

  • Windows 10 and above
  • Linux (Gnome and KDE)

Implemented modules:

  • 'win_access': Provide several methods to access the file system on MTP devices under Windows.
  • 'linux_access': Provide several methods to access the file system on MTP devices under Linux.
  • 'dialog': Provides a class to get a directory selection dialog for MTP devices with tkinter.

Acknowledgements

I want to thank Kaspar Nagus for his work on: https://github.com/KasparNagu/PortableDevices This was the base for my own modules