Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/s/e/seng310-HEAD/PyShare0.6.2/plugins/Twitpic_com.py   seng310(Download)
    def upload(self, file, callbackFunction, username, password):
        """Uploads file, and passed links to callbackFunction.
        Optionaly this method may call self.progress to inform about upload status"""
        self.uploadUsingPycurlPost(file, callbackFunction,
            "http://twitpic.com/api/upload",

src/s/e/seng310-HEAD/PyShare0.6.2/plugins/Imgur_com.py   seng310(Download)
    def upload(self, file, callbackFunction, username, password):
        """Uploads file, and passed links to callbackFunction.
        Optionaly this method may call self.progress to inform about upload status"""
        self.login(username, password)
        self.uploadUsingPycurlPost(file, callbackFunction,

src/s/e/seng310-HEAD/PyShare0.6.2/plugins/Imageshack_us.py   seng310(Download)
            post.append(('a_username', username))
            post.append(('a_password', password))
        self.uploadUsingPycurlPost(file, callbackFunction,
            "http://www.imageshack.us/index.php",
            #"http://www.imageshack.us/upload_api.php", #returns more info, that we don't need