Automating HTTP navigation and HTML printing using Python

Every Monday at Work, I have the task of printing out Account analysis (portfolio analysis) and Account Positions for over 50 accounts. So i go to the page, click "account analysis", enter the account name, click "format this page for printing", Print the output (excluding company disclosures), then I go back to the account analysis page and click "positions" instead this time, the positions for that account comes up. Then I click "format this page for printing", Print the output (excluding company disclosures).Then I repeat the process for the other 50 accounts.

I haven't taken any programming classes in the past but I heard using python to automate a html response might help me do this faster. I was wondering if that's true, and if so, how does it work? Also, are there any other programs that could enable me automate this process and save time?

Thank you so much

Upvotes: 2

Views: 798

Answers (3)

Teemu Ikonen
Teemu Ikonen

Reputation: 11929

If you can run Firefox and want to avoid actual coding, the Selenium IDE firefox extension might be solution.

http://seleniumhq.org/projects/ide/

You can record actions in browser, and replay them whenever needed.

Upvotes: 0

Denis
Denis

Reputation: 7343

I think it will be easier for you get program like autoit.

Upvotes: 0

Christian Witts
Christian Witts

Reputation: 11585

You can take a look at mechanize for Python and its documentation for a good starting point in how to achieve this.

It will enable you to emulate a browser in Python and go through the steps such as filling in web-forms and doing your processing for you.

Upvotes: 1

Related Questions