
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
python tkinter 安装brew install python-tkfrom tkinter import messageboxmessagebox.showinfo('alert', 'finished!')
a = 123.456b = math.modf(a)decimal_part = b[0]
requests.post(url, json=param)
添加:body{margin:0;padding:0;}
sublime设置python解析器#pythonTools -> Build System -> New Build System{"shell_cmd": "python -u \"$file\"","file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)","selector": "source.p...
python使用jupter#pythonpip install jupyterpython -m ipykernel install --user --name=venvjupyter notebook
leetcode 94.二叉树的中序遍历(python)给定一个二叉树,返回它的中序 遍历。示例:输入: [1,null,2,3]1\2/3输出: [1,3,2]进阶: 递归算法很简单,你可以通过迭代算法完成吗?方法1:递归## @lc app=leetcode.cn id=94 lang=python## [94] 二叉树的中序遍历## @lc code=start# Definition fo
微博开发重定向不匹配的问题#pythonhttp://open.weibo.com/apps/client_id/info/advanced打开以上界面, 设置授权回调页地址from weibopy import WeiboOauth2client_id = ''client_secret = ''redirect_url = 'https://www.baidu.com'c...
python regex#python1.check validimport redef main():username = input('please input username:')qq = input('please input qq:')m1 = re.match(r'^[0-9a-zA-Z_]{6,20}$', username)if...
Power of Two(算法)4: 222^222true9: 323^232 false16: 424^242 = 242^424 true1.mod;2.log2 => int;3.位运算;x & (x - 1)判断:x != 0 && x & (x - 1) == 0pythondef isPowerOfTwo(self, n...