Gavin Jones
Gavin Jones

Reputation: 1

Is there a way to open Windows Mobile Device Center folders in python?

I work with a warehouse that uses old ScanCountPro devices, and to connect to them, I need to use Windows Mobile Device Center. This is not an issue, but I want to automate a process using python, and I need to copy files from the device, to my local machine. Problem is, the directory that the files are in is not easily accessible in python.

Here are my steps:

  1. I get the directory from windows explorer
  2. I attempt to locate files in this directory in python.

open("This PC//CK3X177F1891347//Flash File Store")

  1. Get an error.

File "/mnt/c/Users/USER/Documents/test.py", line 2, in <module> open("This PC\CK3X177F1891347\Flash File Store") FileNotFoundError: [Errno 2] No such file or directory: 'This PC\\CK3X177F1891347\\Flash File Store'

Is there any way to get the files from this folder?

Upvotes: 0

Views: 38

Answers (0)

Related Questions