Python
Python学习
流星小羽
这个作者很懒,什么都没留下…
展开
-
PackagesNotFoundError: The following packages are not available from current channels解决办法
出现PackagesNotFoundError: The following packages are not available from current channels解决办法:在命令行窗口输入conda config --add channels conda-forge原创 2021-07-06 20:54:28 · 204 阅读 · 0 评论 -
python的一些pip命令
python的一些用过pip命令原创 2020-06-07 18:54:17 · 86 阅读 · 0 评论 -
python中的与(and)、或(or)运算
python中的与(and)、或(or)运算原创 2020-06-03 08:44:35 · 2804 阅读 · 0 评论 -
Python正则表达式
一、正则表达式原创 2020-05-18 17:51:43 · 80 阅读 · 0 评论 -
Python异常处理(try...except 语句中有return的一些情况)
一、异常处理语句try…except…当try语句出现错误,就会执行except语句;当try语句没出错时,不会执行except语句。try…except…else…若发生了异常,正常抛出异常信息;若未发生异常,执行else语句。try…except…finally…finally语句是必须要执行的二、try except 语句中带有return的一些情况首先来看一道题目:下面代码的输出结果是?def fun(num, s=0): try: s原创 2020-05-18 17:41:48 · 10176 阅读 · 0 评论