自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(6)
  • 资源 (2)
  • 收藏
  • 关注

原创 python调用so,dll

gcc sample.c  -fPIC -shared -o libsample.solslibsample.so  sample.cpythonfrom ctypes import *a=cdll.LoadLibrary('/home/zjg/workspace/sowork/libsample.so')a.gcd(1,2)#includeint gcd(

2017-12-31 20:55:05 1083

转载 gdb简单使用

转自:http://blog.csdn.net/feier7501/article/details/8531803#include   #include   void hello()  {          printf("hello\n");  }    int fun(char *str)  {          char buf[10]

2017-12-27 10:03:30 575

原创 python3 动态模块导入与全局变量使用

动态导入有两种:1 __main__():f="demo.A"aa=__main__(f)aa.A.t()2 import importlib:import importlibf="demo.A"aa=importlib.import_module(f)aa.t()全局变量使用:global_list.py:size=NoneA.py:

2017-12-11 15:17:36 2706

原创 python3 函数调用(通过函数名)

经常用用到通过函数名来调用函数,像php一样,直接拿字符串$function1($parameter1);python3中也有类似的功能:def function2(name,age): print ('Hello {}! : age {}'.format(name,age))1method_name2 = 'function2'args = ['friend2'

2017-12-09 10:05:17 5384

原创 python tornado模板使用

1 可以执行语句,表达式语句:{% set a ="hello" %}使用:{{a}}表达式:{{a+" world"}}2 可以调用函数i)uimethod方式路由: import hello1          'ui-methods':hello1方法:hello1.py中def func(): return "hi"使用:html模板中{{func}}

2017-12-04 11:25:44 380

原创 phpstorm 远程开发及调试

1 服务器安装xdebugtar -xzf xdebug-2.1.4.tgzcd xdebug-2.1.4/find / -namephpize/usr/bin/phpize./configure --enable-xdebug --with-php-config=/usr/local/php5/bin/php-configmakemake installf

2017-12-01 14:40:27 682

Fast-Downward-a8d82c9506b5.zip

Fast-Downward 人工智能一种现代的观点 书中语言PDDL的包。

2019-07-18

Beginning Ruby on Rails

Beginning Ruby on Rails

2011-05-22

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除