Beispiel #1
0
 def fromtwitter(self):
     global flag
     self.fromtwitter = TweetFetch()
     self.fromtwitter.status()
     f = self.fromtwitter.fetchFromTwitter()
     self.textEdit.setText(f)
     self.textEdit_3.setText("Tweet Fetched from Twitter")
     flag = 1
     return flag
 def fromfile(self):
     self.fromfile = TweetFetch()
     f = self.fromfile.fetchFromFile()
     self.textEdit.setText(f)
     self.textEdit_3.setText("Tweet Fetched from file")
 def fromtwitter(self):
     self.fromtwitter = TweetFetch()
     self.fromtwitter.status()
     f = self.fromtwitter.fetchFromTwitter()
     self.textEdit.setText(f)
     self.textEdit_3.setText("Tweet Fetched from Twitter")
 def tf(self):
     self.tf  = TweetFetch()
     s = self.tf.status()
     self.textEdit_3.setText(s)
     f = self.tf.fetch()
     self.textEdit.setText(f)