This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import sys | |
import requests | |
def translate(string, from_language="auto", to_language="auto"): | |
headers = {"User-Agent":"Mozilla/4.0 (compatible; MSIE 6.0; \ | |
Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from idlelib.PyShell import main | |
if __name__ == '__main__': | |
main() | |
NewerOlder