How do I mount a filesystem using Python?

前端 未结 10 1985
鱼传尺愫
鱼传尺愫 2020-12-16 09:41

I\'m sure this is a easy question, my Google-fu is obviously failing me.

How do I mount a filesystem using Python, the equivalent of running the shell command

10条回答
  •  北荒
    北荒 (楼主)
    2020-12-16 10:08

    surely this is a nice tidy, python interface to the mount system call.

    I can't find it (I thought it would just be a nice, easy os.mount()).

    Surely, there is none. What would this function do on Windows?

    Use the shell command instead.

提交回复
热议问题