python3入门
由于比较羡慕python的爬虫技术,所有写一篇python3的笔记供查阅
print(‘helloworld’)fp = open(‘D:/hello.txt’,‘a+’) #a+是说如果
print(‘hello’,file=fp) #文件当中有hello文字
fp.close()print(‘asd’,‘asd’,‘asda’) # asd asd asda
print(‘hel\nlo’) # 换行 \r覆盖 \b退一格
#原字符 可以让\不起作用 注意...
原创
2022-06-03 17:50:09 ·
238 阅读 ·
0 评论