上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页
摘要: win 10 slmgr.vbs -xpr 无法运行,被豆麦笔记打开解决方法 删除这个豆麦笔记 如果之前已经在 控制面板 程序中卸载过,那么是找不到的,我们先运行 slmgr.vbs -xpr,这个时候如果打开的是豆麦笔记,打开任务管理器,在进程中可以找到豆麦笔记,右键->打开文件所在的位置,把整个 阅读全文
posted @ 2019-02-28 21:50 ibingshan 阅读(5919) 评论(0) 推荐(0)
摘要: git checkout 撤销多个文件,撤销整个文件夹 git checkout <folder-name>/ git checkout -- <folder-name> 这样会把<fold-name>下所有的文件都撤销 阅读全文
posted @ 2019-02-20 16:14 ibingshan 阅读(9251) 评论(0) 推荐(1)
摘要: Python argparse 模块,参数传递 test.py: python test.py -tt 0 这里主要是如果要运行别人的 py,但是想传递自己的 参数,可以这样处理 代码解释: argparser = argparse.ArgumentParser(add_help=False):ad 阅读全文
posted @ 2019-02-15 15:25 ibingshan 阅读(1028) 评论(3) 推荐(0)
摘要: Python Enum 枚举 用法汇总 import os import sys if sys.version_info.major + sys.version_info.minor * 0.1 < 3.4: from enum34 import Enum else: from enum impor 阅读全文
posted @ 2019-02-14 17:08 ibingshan 阅读(4331) 评论(0) 推荐(0)
摘要: git branch & checkout fetch 的使用和冲突解决 branch git branch 查看本地分支 git branch -v 查看本地分支的具体信息(commit id,例如:f65ded9 和 commit 信息) git branch -r 查看远程分支 git bra 阅读全文
posted @ 2019-02-14 13:33 ibingshan 阅读(1767) 评论(0) 推荐(0)
摘要: Maya mayapy.exe 安装 Cython,编译 pyd 前言 在 Python 2.7 cython cythonize py 编译成 pyd 谈谈那些坑 中最后提到,使用 VCForPython27 编译的 pyd,不能在 maya 中使用,这跟编译 mayapy.exe 的 msc 有 阅读全文
posted @ 2019-02-01 17:00 ibingshan 阅读(2941) 评论(0) 推荐(0)
摘要: MSC VS 版本对应 msc是微软的C编译器,安装对应的VS版本会带有,两者版本对应如下: MS VC++ 14.0 _MSC_VER = 1900 (Visual Studio 2015) MS VC++ 12.0 _MSC_VER = 1800 (VisualStudio 2013) MS V 阅读全文
posted @ 2019-01-31 17:52 ibingshan 阅读(1638) 评论(0) 推荐(0)
摘要: Python 2.7 cython cythonize py 编译成 pyd 谈谈那些坑 前言 基于 python27 的 pyc 很容易被反编译,于是想到了pyd,加速运行,安全保护 必要准备 安装cython:pin install cython 下载安装:VCForPython27.msi C 阅读全文
posted @ 2019-01-29 15:54 ibingshan 阅读(10448) 评论(3) 推荐(1)
摘要: Python replace() 和 re.sub() 字符串字符替换 replace() testStr = 'aa:bb[cc' testStr.replace(':','_') 每次只能替换一个字符或字符串 re.sub() import re testStr = 'aa:bb[cc}' 把 阅读全文
posted @ 2019-01-29 10:44 ibingshan 阅读(20098) 评论(0) 推荐(1)
摘要: Git branch 出现"HEAD detached at head xxxxx" git branch <your-branch-name> xxxxx # 给 xxxxx 起个 branch 名 git checkout master # Head 指到 master,当然可以是其它的bran 阅读全文
posted @ 2019-01-24 09:57 ibingshan 阅读(5637) 评论(0) 推荐(2)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页