Code to Python 27 prompt to access a html file stored on C drive

Simon Evans musicalhacksaw at yahoo.co.uk
Thu Aug 14 11:09:11 EDT 2014


Dear Programmers,  I want to access a html file on my C drive, in the 

Python 27 prompt, all the examples I come across seem to require for 

access for the html file be on a server, rather than on the same 

computer's C drive. I want to do this as a prerequisite to writing 

webscraping code,  surmising that if I can get the Python 27 

prompt (inclusive of 'Beautiful Soup''Urllib' 'Requests' downloads ) to 

output pertinent html code from a html document, then I can proceed to use 

similar code to ouput html code from URL addresses, such as 

'RacingPost.com' 'SportingLife.com''Oddschecker.com' and 

'Bestbetting.com' which is what I am interested in working on.

Hope you can help. 

Yours Simon Evans.



More information about the Python-list mailing list