Telling Python to save a .txt file to a certain directory on Windows and Mac

后端 未结 7 1179
无人共我
无人共我 2020-11-28 19:55

How do you tell Python where to save a text file?

For example, my computer is running the Python file off my desktop. I want it to save all the text file in my docum

7条回答
  •  难免孤独
    2020-11-28 20:40

    A small update to this. raw_input() is renamed as input() in Python 3.

    Python 3 release note

提交回复
热议问题