X-Received: by 10.50.23.45 with SMTP id j13mr6671279igf.7.1408028952077; Thu, 14 Aug 2014 08:09:12 -0700 (PDT) X-Received: by 10.140.20.151 with SMTP id 23mr38284qgj.13.1408028952017; Thu, 14 Aug 2014 08:09:12 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!h18no20217664igc.0!news-out.google.com!b3ni30377qac.1!nntp.google.com!j15no7134273qaq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.python Date: Thu, 14 Aug 2014 08:09:11 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=146.200.153.156; posting-account=59tTfwoAAACIDa2nz1oVlQJc3aCJi_5b NNTP-Posting-Host: 146.200.153.156 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4d7cb33a-ccb9-4961-94de-80d807084179@googlegroups.com> Subject: Code to Python 27 prompt to access a html file stored on C drive From: Simon Evans Injection-Date: Thu, 14 Aug 2014 15:09:12 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.lang.python:76313 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.