User Profile

Collapse

Profile Sidebar

Collapse
vgkhle
vgkhle
Last Activity: Nov 17 '10, 09:23 AM
Joined: Sep 21 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • vgkhle
    started a topic opening a file on a remote host

    opening a file on a remote host

    hi all,
    can anyone tell me hoe to open a file from one machine, when the file is present on a remote machine, specifying it's IP address?

    How is a URL specified within a call for urllib2.urlopen (). I want to specify something like 192.168.5.140/XXX_yyy/ZZZ_yyy/bbb
    where bbb is a folder

    i have tried urllib.urlopen( ), the built in open() too...but nothing is working...

    anyone tell me the exact usage...
    See more | Go to post
    Last edited by bvdet; Nov 17 '10, 02:25 PM. Reason: Remove bold tags

  • vgkhle
    started a topic Example usage of subprocess()

    Example usage of subprocess()

    can u plz give the simple usage of subprocess() as i have to call another python script through subprocess from my main script.
    See more | Go to post
    Last edited by bvdet; Sep 21 '10, 01:53 PM. Reason: Clarify title

  • vgkhle
    started a topic calling different python scripts from a main script

    calling different python scripts from a main script

    hi all
    How can diff python scripts be called from a main script which is again a .py? os.system("pyth on external_script .py") works fine, but what if I want to handle the un handled exceptions of the external scripts in the main script??

    thanx in advance
    See more | Go to post
No activity results to display
Show More
Working...