CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2008
    Posts
    7

    Smile Communicating with data over the internet

    Hello, I am trying to make an app that can get information off the internet and display it within the frame. Any idea where I would start with this in Python?

    For example some things I would like to be able to do are:
    -Make an app that diplayed weather information from weatherbug
    -display time from time.gov rather than system clock
    -Stock quotes mabye?

    I am fairly good at manipulating data once I can get it but I have never attampted to get it from the internet before. Any help in this area or just a point in the right direction would be greatly appreciated!

    Thanks!
    -Arimus

  2. #2
    Join Date
    Oct 2008
    Posts
    51

    Re: Communicating with data over the internet

    What i would suggest for what you are looking to do is urllib and urllib2. Both i believe are included in the standard python install. I have used them to download a local online magazine so i could view it on my iPhone, for when finding a hard copy is just to troubling.

    the docs to those libs can be found here:
    http://www.python.org/doc/2.5.2/lib/module-httplib.html
    http://www.python.org/doc/2.5.2/lib/module-urllib.html
    http://www.python.org/doc/2.5.2/lib/module-urllib2.html
    http://www.voidspace.org.uk/python/a.../urllib2.shtml

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured