Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在查找有关如何在给定文件夹中打开文件以进行读取以及如何将输出文件保存到给定文件夹的正确文档时遇到问题。如果有人可以向我解释或指出正确的方向,我将不胜感激。
我必须打开一个带有标签的单词文件,每行一个单词及其标签,我将使用它来检查我的代码,然后我必须使用文本文件和我的代码创建一个类似的文件。
与http://docs.python.org成为好朋友
其次,我建议参加 f.ex 的基础课程。 http://www.codecademy.com/tracks/python