By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,100 Members | 2,846 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,100 IT Pros & Developers. It's quick & easy.

How to down load web page with script(JAVA) in it?

P: 2
Hi all,
I want to get information in the web page, but information i want to take is in Java script as it is dynamic and server changes it periodically.

can i get it using simple code:

Expand|Select|Wrap|Line Numbers
  1. import urllib
  2. # Get a file-like object for the Python Web site's home page.
  3. f = urllib.urlopen("http://www.python.org")
  4. # Read from the object, storing the page's contents in 's'.
  5. s = f.read()
  6. print s
  7. f.close()

Thanks in advance..........
Dec 6 '10 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.