This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__declspec(dllexport) int test(int len) | |
{ | |
return len; | |
} | |
//注意设置项目属性,编译win32的DLL | |
//注意也使用32位的Python安装包 | |
import ctypes | |
#dll = ctypes.windll.LoadLibrary('ConsoleApplication1') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vi ~/.bashrc | |
修改.bashrc添加下面两行 | |
alias tmux='tmux -2' | |
export TERM="screen-256color" | |
source一下~/.bashrc |
NewerOlder