Python
烫烫烫烫烫火锅
有些事你觉得不难,可你却没做到。
展开
-
解决pycharm Python helpers are not copied yet to the remote host. Please wait until remote interpreter
Run the below commands (In my case, “.pycharm_helpers” folder was created in remote Linux device under “/home/work/” path)cd /home/work/cd ./.pycharm_helpers/rm -rf check_all_test_suite.pytar -xvzf helpers.tar.gzRestart PyCharm and wait a little ..转载 2021-09-01 16:05:46 · 2108 阅读 · 0 评论 -
Python日常
用python写几个小程序斐波那契数列(非递归)x = int(input("求第几个斐波那契数:\n"))def fib(n): a, b = 1, 1 for i in range(n - 1): a, b = b, a + b #我感觉挺巧妙的... return aprint(fib(x))列表的截断原创 2016-04-14 19:57:04 · 226 阅读 · 0 评论 -
pycharm不能运行.py文件
我的pycharm总会出现如下图中的问题:按快捷键运行也不行,查了半天网上没人遇到这种错误??为什么我的code之路如此艰难T.T记录一下我的解决办法:点这里:编辑结构,然后出现:按照图上步骤依次设置,点击确定。再点击运行按钮即可。虽然右键文件还是会出现不至于,但是直接点击右上角运行按钮即可正常运行。...原创 2019-07-07 16:46:33 · 23919 阅读 · 2 评论