摘要:
Python eval() 参数说明 The eval() takes three parameters: expression this string as parsed and evaluated as a Python expression globals (optional) a dicti 阅读全文
摘要:
描述 使用 pip 安装sphinx后,按照教程建立了一个新的py文件,如下 run.py def run(name): """ this is how we run :param name name of people who runs """ print(name, 'is running') 阅读全文
摘要:
(flask demo) ➜ flask demo git:(master) ✗ pip install mysqlclient==1.2.5 DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. P 阅读全文
摘要:
不像Python那样方便,需要先定义一个变量,用来当数组下标;如下: c=0 for file in do filelist[$c]=$file ((c++)) done 如果想读取数组内容,可以使用for循环: for image_name in ${filelist[@]} do if [[ $ 阅读全文