a little try
"ctrl+shift+/" 大段注释!
- git add file.py
- git commit -m "I added a file"
- git push -u aaa master
- git stauts:当前关联的远程仓库名字
git fetch --all
git reset --hard origin/master
git pull
git clone https://github.com/lilei/english
file1 = open("LiveNews" + crFile + ".txt", 'w') print(event.findNext('a').text, file = file1) Don't forget, in python3 use w is enough, needn't wb or wt or others!
1.“写”模式会重写文件。传递mode='w'参数给open()函数。
2.“追加”模式会在文件末尾添加数据。传递mode='a'参数给open()函数。