Professional IronPython


TABlE A-1:  Missing CPython Libraries lIBrAry NAmE



Download 20,35 Mb.
Pdf ko'rish
bet432/453
Sana01.07.2022
Hajmi20,35 Mb.
#723045
1   ...   428   429   430   431   432   433   434   435   ...   453
TABlE A-1: 
Missing CPython Libraries
lIBrAry NAmE 
PurPoSE
ast.py 
This module provides Abstract Syntax Tree (AST) support in CPython. The purpose 
of this library is to parse the current grammar for each Python version since the 
grammar can change with each new version. You can read more about this module 
at 
http://docs.python.org/library/ast.html
.
continues
548592bapp01.indd 423
2/24/10 12:49:57 PM
www.finebook.ir


424

APPENDIX A
IronPython DIfferences wIth cPython
lIBrAry NAmE 
PurPoSE
cProfile.py 
Python provides a number of profilers that developers can use to determine 
the runtime performance of their application. The standard recommends using the 
cProfile
profiler because it has low overhead and is suitable for long running 
programs. You can find out more about the Python profilers at 
http://docs
.python.org/library/profile.html
.
csv.py 
One of the most common methods for storing database and spreadsheet informa-
tion in text format is Comma Separated Value (CSV). This module provides Python 
support for CSV files. Because there’s no CSV standard, this module provides gen-
eralized CSV support that will work on a range of file formats. You can read more 
about this module at 
http://docs.python.org/library/csv.html
.
dbhash.py 
Originally, this module provided access to the Berkeley Software Distribution (BSD) 
database library for Database Management (DBM)-style databases. In order to use 
this module, the application must have access to the 
bsddb
module. This module 
has been deprecated and will probably be removed in Python 3.0. You can read 
more about this module at 
http://docs.python.org/library/dbhash.html
.
gzip.py 
This module provides support for GNU ZIP (
.gzip
) files, a kind of compression 
commonly found on Linux systems, but not found very often on Windows machines 
(although you might see it when downloading open source files). In order to use 
this module, the application must have access to the 
zlib
module. It’s also pos-
sible to use the 
bz2

zipfile
, and 
tarfile
modules to compress and decom-
press files. You can read more about this module at 
http://docs.python.org/
library/gzip.html
.
pty.py 
You can use the Pseudo-Terminal (PTY) utilities to start another process, and then 
read and write from its controlling terminal. This module currently works reliably 
only on Linux systems, even if you use a CPython implementation on Windows, so 
it isn’t surprising that IronPython doesn’t implement this module yet. You can read 
more about this module at 
http://docs.python.org/library/pty.html
.
sre.py 
The Support for Regular Expressions (SRE) module provides support for Regular 
Expressions under Python. The level of support is similar to that found in the Practical 
Extraction and Report Language (PERL). You can read more about this module at 
http://docs.python.org/library/re.html
and 
http://pydoc.org/2.3.3/
sre.html
.
ssl.py 
Web applications of all types require security, especially with the rampant abuses 
on the Internet today. The Secure Sockets Layer (SSL) module provides support for 
SSL security within your Web (and other network) applications. In order to use this 
module, you must have OpenSSL (
http://www.openssl.org/
) installed on your 
machine because the module makes low-level calls to this software. You can find 
out more about this module at 
http://docs.python.org/library/ssl.html
.

Download 20,35 Mb.

Do'stlaringiz bilan baham:
1   ...   428   429   430   431   432   433   434   435   ...   453




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish