1. 程式人生 > >buildroot學習(十一)——at91sam9g45軟體平臺更新

buildroot學習(十一)——at91sam9g45軟體平臺更新

轉載地址:https://blog.csdn.net/srf1986/article/details/52490719

今天研究下提供的python和python庫都是幹嘛的,下一步在開發板上用python編寫應用程式,現在的任務就是知道有哪些庫,我需要把那些庫編譯進開發板,位置在

Target packages-->

           Interpreter languages and scripting-->

                   [*]python3

                    python3 module format to install(py sources and .pyc compiled)

                   core python3 modules-->

                    External python  modules-->

我也是最近開始學習python,暫時工作沒用到,但我覺得很快就會用到了,所以對python現在只是把書過一遍,整理整體框架,然後寫程式熟悉,我現在的膚淺理解,上面的兩個模組,應該一個是標準庫,一個是第三方庫,現在純屬猜測,等python用熟了,自然就知道了

今天先看看core python3 modules

(1)bz2 module

The python-bz2 module provides a comprehensive Python interface for the bz2 compression library. It implements a complete file interface, one shot (de)compression functions, and types for sequential (de)compression.

就是跟壓縮相關的庫

(2)codecscjk module

未找到

(3)curses module

The curses library supplies a terminal-independent screen-painting andkeyboard-handling facility for text-based terminals; such terminals includeVT100s, the Linux console, and the simulated terminal provided by X11 programssuch as xterm and rxvt. Display terminals support various control codes toperform common operations such as moving the cursor, scrolling the screen, anderasing areas. Different terminals use widely differing codes, and often havetheir own minor quirks.

跟終端顯示相關的

(4)decimal module

The decimal module implements fixed and floating pointarithmetic using the model familiar to most people, rather than theIEEE floating point version implemented by most computer hardware. ADecimal instance can represent any number exactly, round up or down,and apply a limit to the number of significant digits.

跟算數相關

(5)ossaudiodev module

This module allows you to access the OSS (Open Sound System) audio interface.OSS is available for a wide range of open-source and commercial Unices, and isthe standard audio interface for Linux and recent versions of FreeBSD.

跟視訊相關

(6)readline

The readline module defines a number of functions to facilitate completion and reading/writing of history files from the Python interpreter.This module can be used directly, or via the rlcompleter module, which supports completion of Python identifiers at the interactive prompt. Setting smade using this module affect the behaviour of both the interpreter’sinteractive prompt and the prompts offered by the raw_input() andinput() built-in functions.

應該根讀寫資料流相關把

(7)ssl

SSL(Secure Sockets Layer 安全套接層),及其繼任者傳輸層安全(Transport Layer Security,TLS)是為網路通訊提供安全及資料完整性的一種安全協議。TLS與SSL在傳輸層對網路連線進行加密。

ssl 庫應該提供了相應的安全性封裝

(8)unicodedata module


This module provides access to the Unicode Character Database which definescharacter properties for all Unicode characters. The data in this database isbased on the UnicodeData.txt file version 5.2.0 which is publiclyavailable from ftp://ftp.unicode.org/.

(9) sqlite module 
應該跟sqlite資料庫相關

(10)xml module

The XML module provides a well-formed XML parser using the SAX2 (Simple API forXML) interface plus an implementation of the DOM Level 2 (Document ObjectModel).

(11)zlib module                             

zlib是提供資料壓縮用的函式庫,由Jean-loup Gailly與Mark Adler所開發,初版0.9版在1995年5月1日發表。zlib使用DEFLATE演算法,最初是為libpng函式庫所寫的,後來普遍為許多軟體所使用。此函式庫為自由軟體,使用zlib授權。截至2007年3月,zlib是包含在Coverity的美國國土安全部贊助者選擇繼續審查的開源專案。
應該提供相關的封裝吧
--------------------- 
作者:海邊自在生活 
來源:CSDN 
原文:https://blog.csdn.net/srf1986/article/details/52490719 
版權宣告:本文為博主原創文章,轉載請附上博文連結!