【记录】PyCharm中试用新的Markdown插件:gfm
crifan 7年前 (2018-06-12) 3394浏览 0评论
之前已经有了: [记录]PyCharm中安装md插件 以及相关的: 【未解决】PyCharm中markdown编辑器支持粘贴图片 但是感觉显示效果不够好 code都没有语法高亮 此处,看到有个gfm的插件,好像效果更好 所以去安装了, 重启PyCha...
all python related
crifan 7年前 (2018-06-12) 3394浏览 0评论
之前已经有了: [记录]PyCharm中安装md插件 以及相关的: 【未解决】PyCharm中markdown编辑器支持粘贴图片 但是感觉显示效果不够好 code都没有语法高亮 此处,看到有个gfm的插件,好像效果更好 所以去安装了, 重启PyCha...
crifan 7年前 (2018-06-11) 3418浏览 0评论
看到别人写代码,对于字符串列表,用到了set: <code>gVocabularyList = set(line.strip() for line in open("vocabulary.txt")) </cod...
crifan 7年前 (2018-06-09) 5021浏览 0评论
希望通过: SELECT * FROM `enum_value_dict` WHERE (`category`=’word_difficulty’ and `name`=’flyer’) 去查询到 中的flyer...
crifan 7年前 (2018-06-07) 4231浏览 0评论
现有excel中的值: 希望把词汇表的数据,保存到mysql中。 而mysql中,已经定义了,级别=type,是int类型,希望保存数字1,2,3之类的 现在希望去搞清楚: mysql中如何保存字符串的枚举的值为1,2,3这种数字 好像需要外部...
crifan 7年前 (2018-06-07) 13404浏览 0评论
折腾: 【已解决】python中的相对路径导入库失败No module named 期间,从错误信息中可以看到: <code>Traceback (most recent call last): File "/usr/lib...
crifan 7年前 (2018-06-07) 4023浏览 0评论
python 3.4中,代码: <code>print("type(self.config)=%s" % (type(self.config))) self.connection = pymysql.connect(*...
crifan 7年前 (2018-06-06) 9189浏览 0评论
之前已经在PyCharm中,本地调试期间,解决了相对路径导入的问题: 【已解决】Python中使用相对路径导入库函数 PyCharm中本地调试是可以导入的: 但是同样的代码: processData/mysqlQa/MongodbToMysqlQa...
crifan 7年前 (2018-06-05) 3741浏览 0评论
现在已经写了自己的crifanLib的两个库文件: crifanFile crifanLogging 希望在另外的文件中去导入: 但是用: <code>from .crifanLib import crifanFile, crifanL...
crifan 7年前 (2018-05-31) 9277浏览 3评论
代码: try: cur.execute(executeSql) db.commit() print("[%5d](%s) (%s)" % (curRowNum, dialogA, dialogB)) ex...
crifan 7年前 (2018-05-30) 4941浏览 0评论
看到别人代码: <code>def mongoGridfsFiles(): ... client = MongoClient(uri) db = client.gridfs collection = db....