import requests
from bs4 import BeautifulSoup
f = open('path to create /Price.csv','w')
errorFile = open('path to create /errorPrice.txt','w')
year = 2012; month = 1; day =1
if year<= 2016:
我試圖使用scraperwiki和bs4將PDF轉換爲文本文件。我得到TypeError。我對Python非常感興趣,並且非常感謝您的幫助。發生 錯誤的位置: File "scraper_wiki_download.py", line 53, in write_file
f.write(soup)
這是我的代碼: # Get content, regardless of whether an