Professional IronPython



Download 20,35 Mb.
Pdf ko'rish
bet121/453
Sana01.07.2022
Hajmi20,35 Mb.
#723045
1   ...   117   118   119   120   121   122   123   124   ...   453
TAbLE 6-1: 
Standard Library Modules Missing from IronPython
__future__.pyc 
_abcoll.pyc 
abc.pyc 
ast.py
BaseHTTPServer.pyc 
bdb.pyc 
bisect.pyc 
code.pyc
codecs.pyc 
codeop.pyc 
collections.pyc 
ConfigParser.pyc
copy.pyc 
copy_reg.py 
copy_reg.pyc 
cProfile.py
csv.py 
dbhash.py 
dis.pyc 
fnmatch.pyc
functools.pyc 
genericpath.pyc 
getopt.pyc 
gzip.py
heapq.pyc 
inspect.pyc 
keyword.pyc 
linecache.pyc
locale.pyc 
mimetools.pyc 
ntpath.pyc 
opcode.pyc
os.pyc 
pkgutil.pyc 
pty.py 
pydoc.pyc
Queue.pyc 
random.pyc 
re.py 
re.pyc
repr.pyc 
rfc822.pyc 
shlex.pyc 
site.pyc
socket.py 
socket.pyc 
SocketServer.pyc 
sre.py
sre_compile.pyc 
sre_constants.pyc 
sre_parse.pyc 
ssl.py
stat.pyc 
string.pyc 
stringprep.py 
struct.pyc
subprocess.py 
subprocess.pyc 
symtable.py 
tabnanny.pyc
tempfile.pyc 
threading.pyc 
token.pyc 
tokenize.pyc
traceback.pyc 
tty.py 
types.pyc 
UserDict.pyc
warnings.pyc 
webbrowser.py 
webbrowser.pyc
Getting all of the modules found in the original Python Standard Library would be reason enough 
to download, install, and use it. However, the Python Standard Library provides a number of addi-
tional features in the form of help files and utilities. Although you can’t use the utilities to perform 
.NET-specific work, you can use them to ensure your code is truly compatible with Python, which is 
a big deal if you plan to use your application on other platforms. With this in mind, here’s a list of 
the additional help files and utilities provided with the Python Standard Library. (You can read more 
about them in the “Using the Standard Library Features” section of the chapter.)
548592c06.indd 99
2/24/10 12:47:51 PM
www.finebook.ir


100

CHAPTER 6
Using the Python standard Library
➤➤
IDLE (Integrated DeveLopment Environment): A graphical user interface to work with 
Python code. In many respects, this is a much nicer interface than the command line version 
of the IronPython interpreter. Most important, you can save your work, which means that 
you can possibly use IDLE as an alternative to Visual Studio if desired. Of course, IDLE 
doesn’t know anything about working with the .NET Framework and you can’t use it to 
write multi-language applications.


Module Docs: An HTML-formatted help file that provides complete documentation of the 
various Python Standard Library modules. Interestingly enough, you can use this help file 
with IronPython without modification because this is the documentation that IronPython’s 
Standard Library is written to support. For the most part, this help file is brief and not very 
detailed, but it’s good when you need a quick reference.


Python (command line): An application that works precisely like the IronPython command 
line. In fact, you’d be hard pressed to tell the two apart. The only reason you’d want to use 
the Python command line is to test the cross-platform compatibility of a module you write. 
Otherwise, you’ll want to use the IronPython command line to ensure your code runs prop-
erly with IronPython.


Python Manuals: This is the detailed help file you probably wanted with IronPython, but 
didn’t receive. You’ll definitely want to spend some time looking around this help file and 
discovering new things about the Python language.
Now that you have a better idea of what the Python Standard Library provides, you need to consider 
how you’ll use it or whether you want to use it at all. Just how the Python Standard Library affects 
your organization and you depends on your goals. For the most part, you’ll use these tools when you 
want to write pure Python applications or applications that rely heavily on Python (versus the mixed 
language applications found later in this book). It’s important to remember that IronPython has a lot 
to offer that Python doesn’t, so you need to decide which route your organization will take before 
you make a commitment to pure Python by using the Python Standard Library.

Download 20,35 Mb.

Do'stlaringiz bilan baham:
1   ...   117   118   119   120   121   122   123   124   ...   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