def main(): session_id, real_email = get_session_id_and_real_email() email = create_temp_email(session_id, real_email) text_to_clipboards(email) print '# copied to the clipboard' print email
def main(): cnt = 0 with open('movies.txt') as f: for title in f: title = title.rstrip('\n') text_to_clipboards(title) delete() paste() add() cnt += 1 print cnt
def main(): cnt = 0 with open("movies.txt") as f: for title in f: title = title.rstrip("\n") text_to_clipboards(title) delete() paste() add() cnt += 1 print cnt
def test_text_to_clipboards(): text = 'jabbapylib cb test' cb.text_to_clipboards(text) assert cb.read_primary() == text assert cb.read_clipboard() == text
def main(): stuff = sys.stdin.read() text_to_clipboards(stuff)