摘要: import urllib.request import urllib.parse import json while True: content = input('请输入需要翻译的内容(退出输入Q):') if content == 'Q': break else: url = 'http://f 阅读全文
posted @ 2016-01-30 22:38 翌逍 阅读(10451) 评论(1) 推荐(0) 编辑
摘要: >>> import os >>> os.getcwd() 'C:\\Python33' >>> os.chdir('E:\\python\\mmy') >>> os.getcwd() 'E:\\python\\mmy' >>> import urllib.request >>> urllib.re 阅读全文
posted @ 2016-01-30 21:35 翌逍 阅读(6594) 评论(0) 推荐(0) 编辑