Jul-21-2018, 04:36 PM
Quote:with open(r'C:\MYPYTHONSKOOL\my-text-file.txt', 'a+') as f_out:
f_out.write(f"{soup.find('title').text}\n"
Worked first go.
That's one way logging I will be using in future, add to next line method
The other type of logging is the over-write.
Also, if "my-text-file.txt" does not exist, it makes one.
---------
Quote:There is no line 17 in my code.
That's because I have other bits of code # hashed out.
Quote:You need to download the wheel in link i gave you gohlkeyep
The use pip intall wheel_name.whl
Thanks.