[Tutor] Using Python to access .txt files stored behind a firewall as .exe files
ian.monat at gmail.com
Mon May 1 19:30:04 EDT 2017
Hi Alan, thanks for the reply.
My goal is to automatically via Python download the .exe, unzip it, and
place the new .txt in a folder on my OneDrive.
Then I have another visualization program that loads all the .txt files in
that folder and displays them in a web-dashboard.
My sales team has access to the dashboard through Sharepoint. So, I'm
trying to automate the input to the dashboard so the team is always
updated, without taking any of my time.
Thanks for your time and thoughts -Ian
On Mon, May 1, 2017 at 2:44 PM, Alan Gauld via Tutor <tutor at python.org>
> On 01/05/17 18:20, Ian Monat wrote:
> > ... I've written a script using the requests module but I
> > think a web scraper like Scrapy, Beautiful Soup or Selinium may be
> > required.
> I'm not sure what you are looking for. Scrapy, BS etc will
> help you read the HTML but not to fetch the file. Also do
> you want to process the file (extract the text) in Python
> too, or is it enough to just fetch the file?
> If the problem is with reading the HTML then you need to
> give us more detail about the problem areas and HTML
> If the problem is fetching the file, it sounds like you
> have already done that and it should be a case of fine
> tuning/tidying up the code you've written.
> What kind of help exactly are you asking for?
> Alan G
> Author of the Learn to Program web site
> Follow my photo-blog on Flickr at:
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
More information about the Tutor