自我管理三件事

自我管理三件事第十八天(达成)

2017-01-05  本文已影响0人  拥雪

古典老师的自我管理工具(达成17)

2017-01-05

18/30:

第一件事:观看混沌课程>亨利.慕恩《神奇的组织行为学<3,4,5>》

完成情况:完成

超额完成任务,因为讲得确实精彩。

关于世界经济发展趋势的预测,挺触动的。

乱世保身策略,三个三分之一:房产,艺术品,黄金

经济发展动向看点:

一、日本债券市场

二、德意志银行

听不太懂,却听得津津有味。

第二件事:把音标跟读一遍

完成情况:完成

仼务量还挺大,到十一点多还没完成,差点就放弃了。

有些发音以前确实发的太模糊了。

第三件事:再看看SIP到底是怎么回事

完成情况:完成

从python官网复制的内容〉

SIP 4.19

Downloads ↓

Python extension module generator for C and C++ libraries

What is SIP?

One of the features of Python that makes it so powerful is the ability to take existing libraries, written in C or C++, and make them available as Python extension modules. Such extension modules are often called bindings for the library.

SIP is a tool that makes it very easy to create Python bindings for C and C++ libraries. It was originally developed to create PyQt, the Python bindings for the Qt toolkit, but can be used to create bindings for any C or C++ library.

SIP comprises a code generator and a Python module. The code generator processes a set of specification files and generates C or C++ code which is then compiled to create the bindings extension module. ThesipPython module provides support functions to the automatically generated code.

The specification files contain a description of the interface of the C or C++ library, i.e. the classes, methods, functions and variables. The format of a specification file is almost identical to a C or C++ header file, so much so that the easiest way of creating a specification file is to edit the corresponding header file.

SIP makes it easy to exploit existing C or C++ libraries in a productive interpretive programming environment. SIP also makes it easy to take a Python application (maybe a prototype) and selectively implement parts of the application (maybe for performance reasons) in C or C++.

不逐句翻译了(翻译难度有点大),大略意思是SIP做为python的扩展模块,是python和C或C++库之间的转换接口。

那么,

结论一:如果不用C或C++编程,不装SIP也行。

先装后装应该没有影响。

结论二:如果不装SIP,将无法调用C或C++库文件。

待深入学习。

小确幸:

临时决定练习《车尔尼599》第九条,没想到好学而且好听,于是兴高彩烈不由自主地弹了七八遍,好傻的样子。自由的样子。

昨日收获:

关于SIP,有些人说必须先装,才能装PyQt。又有人说装好PyQt,再装SIP。还有说不用单独装,是封装好的。

首先,很可能先装后装没什么影响。

其次,不装也可以,只是不是封装好的。

总之,是否不装也可以,以及其作用,待学习。

             

       

上一篇下一篇

猜你喜欢

热点阅读