
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
کتابخانه استاندارد پایتون ۳ صدها ماژول برای کار با سیستمعامل، مفسر و اینترنت دارد؛ ماژولهایی که بهخوبی آزمایش شدهاند و آمادهاند تا توسعه برنامه را سریعتر شروع کنید. حالا داگ هلمن، متخصص پایتون، هر بخش مهم کتابخانه پایتون ۳.x را با مثالهای کوتاه از کد منبع و خروجی معرفی میکند. مثالهای هلمن هر قابلیت را بهطور کامل نشان میدهند و برای یادگیری آسان و استفاده دوباره طراحی شدهاند.
در این کتاب کدهای کاربردی برای کار با متن، ساختارهای داده، الگوریتمها، تاریخ و زمان، ریاضیات، سیستم فایل، ذخیره پایدار داده، تبادل داده، فشردهسازی، آرشیو، رمزنگاری، فرایندها و نخها، شبکهسازی، قابلیتهای اینترنت، ایمیل، ابزارهای توسعهدهنده و زبان، زمان اجرا، بستهها و موارد دیگر میبینید. هر بخش یک ماژول را کامل پوشش میدهد و پیوندهایی به منابع بیشتر دارد؛ به همین دلیل این کتاب هم آموزش خوبی است و هم مرجع مناسبی.
کتابخانه استاندارد پایتون ۳ با مثال، کتابخانههای جدید پایتون ۳.x، تغییرات مهم در امکانات، و قراردادهای تازه در چیدمان و نامگذاری را معرفی میکند. هلمن همچنین راهنمایی تخصصی برای انتقال کد از ماژولهای کتابخانه استاندارد پایتون ۲.x به معادلهایشان در پایتون ۳.x ارائه میدهد.
۱. کار با متن بهوسیله string، textwrap، re (عبارات باقاعده) و difflib
۲. استفاده از ساختارهای داده: enum، collections، array، heapq، queue، struct، copy و بیشتر
۳. پیادهسازی الگوریتمها بهشکلی زیبا و مختصر با functools، itertools و contextlib
۴. مدیریت تاریخ و زمان و کارهای پیشرفته ریاضی
۵. آرشیو و فشردهسازی داده
۶. آشنایی با تبادل داده و ذخیره پایدار، از جمله json، dbm و sqlite
۷. امضا و تأیید پیامها بهصورت رمزنگاریشده
۸. مدیریت عملیات همزمان با فرایندها و نخها
۹. ابزارهای تست، اشکالزدایی، کامپایل، پروفایل، زبان، import و بسته
۱۰. کنترل تعامل در زمان اجرا با مفسرها یا محیط
The Python 3 Standard Library contains hundreds of modules for interacting with the operating system, interpreter, and Internet–all extensively tested and ready to jump-start application development. Now, Python expert Doug Hellmann introduces every major area of the Python 3.x library through concise source code and output examples. Hellmann’s examples fully demonstrate each feature and are designed for easy learning and reuse.You’ll find practical code for working with text, data structures, algorithms, dates/times, math, the file system, persistence, data exchange, compression, archiving, crypto, processes/threads, networking, Internet capabilities, email, developer and language tools, the runtime, packages, and more. Each section fully covers one module, with links to additional resources, making this book an ideal tutorial and reference.The Python 3 Standard Library by Example introduces Python 3.x’s new libraries, significant functionality changes, and new layout and naming conventions. Hellmann also provides expert porting guidance for moving code from 2.x Python standard library modules to their Python 3.x equivalents.1. Manipulate text with string, textwrap, re (regular expressions), and difflib2. Use data structures: enum, collections, array, heapq, queue, struct, copy, and more3. Implement algorithms elegantly and concisely with functools, itertools, and contextlib4. Handle dates/times and advanced mathematical tasks5. Archive and data compression6. Understand data exchange and persistence, including json, dbm, and sqlite7. Sign and verify messages cryptographically8. Manage concurrent operations with processes and threads9. Test, debug, compile, profile, language, import, and package tools10. Control interaction at runtime with interpreters or the environment