ورود به حساب

نام کاربری گذرواژه

گذرواژه را فراموش کردید؟ کلیک کنید

حساب کاربری ندارید؟ ساخت حساب

ساخت حساب کاربری

نام نام کاربری ایمیل شماره موبایل گذرواژه

برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید


09117307688
09117179751

در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید

دسترسی نامحدود

برای کاربرانی که ثبت نام کرده اند

ضمانت بازگشت وجه

درصورت عدم همخوانی توضیحات با کتاب

پشتیبانی

از ساعت 7 صبح تا 10 شب

دانلود کتاب Mastering Python

دانلود کتاب تسلط بر پایتون

Mastering Python

مشخصات کتاب

Mastering Python

ویرایش:  
نویسندگان:   
سری:  
ISBN (شابک) : 9781785289729, 1785289136 
ناشر: Packt Publishing 
سال نشر: 2016 
تعداد صفحات: 0 
زبان: English 
فرمت فایل : EPUB (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 3 مگابایت 

قیمت کتاب (تومان) : 42,000



کلمات کلیدی مربوط به کتاب تسلط بر پایتون: پایتون، زبان های برنامه نویسی، برنامه نویسی وب، برنامه نویسی، کتاب های الکترونیکی



ثبت امتیاز به این کتاب

میانگین امتیاز به این کتاب :
       تعداد امتیاز دهندگان : 12


در صورت تبدیل فایل کتاب Mastering Python به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

توجه داشته باشید کتاب تسلط بر پایتون نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.


توضیحاتی در مورد کتاب تسلط بر پایتون

با استفاده از تمام ویژگی‌هایی که Python 3.5 ارائه می‌دهد، در هنر نوشتن پایتون زیبا و قدرتمند با استفاده از این کتاب با مهم‌ترین و پیشرفته‌ترین بخش‌های سبک کد پایتون آشنا شوید جنبه‌های پیچیده‌تر پایتون را بیاموزید و آن را در یک زمینه ساختاریافته برای درک عمیق‌تر قرار دهید. the language یک نمای کلی از نحوه تطبیق این وظایف پیشرفته در کل پایتون همراه با مثال‌های عملی ارائه می‌دهد که این کتاب برای چه کسانی است. "پایتونیک" بودن اگر شما یک برنامه نویس پایتون هستید که می خواهید با استفاده از نحو و استفاده از چند تکنیک پیچیده پایتون دقیقاً کدنویسی کنید، این کتاب برای شما مناسب است. آنچه یاد خواهید گرفت یک virtualenv بسازید و یک پروژه جدید شروع کنید درک نحوه و زمان استفاده از پارادایم برنامه نویسی تابعی آشنایی با روش های مختلف نوشتن دکوراتورها درک قدرت ژنراتورها و کوروتین ها بدون انحراف در حساب لامبدا ایجاد متاکلاس ها و نحوه کار با پایتون بسیار آسان‌تر ایجاد اسناد HTML از اسناد و کد با استفاده از Sphinx یاد بگیرید چگونه عملکرد برنامه‌ها را ردیابی و بهینه کنید، هم حافظه و هم cpu از کتابخانه چند پردازشی استفاده کنید، نه فقط به صورت محلی، بلکه در چند ماشین. زبان برنامه نویسی پویا این زبان به دلیل خوانایی بالای خود شناخته شده است و از این رو اغلب اولین زبانی است که توسط برنامه نویسان جدید یاد می شود. پایتون چند پارادایم است، می توان از آن برای دستیابی به یک چیز به روش های مختلف استفاده کرد و با پلتفرم های مختلف سازگار است. حتی اگر نوشتن کد پایتون را آسان می‌دانید، نوشتن کدی که کارآمد، نگهداری آسان و استفاده مجدد باشد چندان ساده نیست. این کتاب راهنمای معتبری است که به شما کمک می‌کند تا روش‌های پیشرفته جدید را به روشی واضح و مبتنی بر متن بیاموزید. این کار با ایجاد یک محیط خاص پروژه با استفاده از venv شروع می‌شود و شما را با نحو مختلف پایتونیک و مشکلات رایج قبل از پوشش دادن ویژگی‌های کاربردی در پایتون آشنا می‌کند. نحوه ایجاد دکوراتورها، ژنراتورها و متاکلاس های مختلف را پوشش می دهد. همچنین شما را با functools.wraps و coroutines و نحوه کار آنها آشنا می کند. بعداً یاد خواهید گرفت که از ماژول asyncio برای مشتریان و سرورهای ناهمزمان استفاده کنید. همچنین با سیستم های مختلف تست مانند py.test، doctest و unittest و ابزارهای اشکال زدایی مانند Python debugger و faulthandler آشنا خواهید شد. شما یاد خواهید گرفت که عملکرد برنامه را بهینه کنید تا در چندین ماشین و نسخه پایتون به طور موثر کار کند. در نهایت، نحوه دسترسی به توابع C با یک فراخوانی ساده پایتون را به شما آموزش می دهد. تا پایان کتاب، می‌توانید اسکریپت‌های پیشرفته‌تری بنویسید و چالش‌های بزرگ‌تری را انجام دهید. سبک و رویکرد این کتاب راهنمای جامعی است که ویژگی‌های پیشرفته زبان پایتون را پوشش می‌دهد، و آنها را با درک معتبری از منطق زیربنایی برای چگونگی، زمان و چرایی استفاده از آن‌ها در میان می‌گذارد. کپی رایت؛ وام؛ درباره نویسنده؛ درباره داوران؛ www.PacktPub.com; فهرست مطالب؛ پیشگفتار؛ فصل 1: شروع به کار -- یک محیط در هر پروژه. ایجاد یک محیط مجازی پایتون با استفاده از venv. ایجاد اولین venv خود. آرگومان های venv; تفاوت بین virtualenv و venv. پیپ بوت استرپینگ با استفاده از surepip. استفاده از surepip نصب دستی پیپ؛ نصب بسته های C/C++؛ دبیان و اوبونتو؛ Red Hat، CentOS و Fedora؛ OS X; پنجره ها؛ خلاصه؛ فصل 2: ​​نحو پایتونیک، مشکلات رایج و راهنمای سبک. سبک کد -- یا کد پایتونیک چیست؟


توضیحاتی درمورد کتاب به خارجی

Master the art of writing beautiful and powerful Python by using all of the features that Python 3.5 offersAbout This BookBecome familiar with the most important and advanced parts of the Python code styleLearn the trickier aspects of Python and put it in a structured context for deeper understanding of the languageOffers an expert's-eye overview of how these advanced tasks fit together in Python as a whole along with practical examplesWho This Book Is ForAlmost anyone can learn to write working script and create high quality code but they might lack a structured understanding of what it means to be 'Pythonic'. If you are a Python programmer who wants to code efficiently by getting the syntax and usage of a few intricate Python techniques exactly right, this book is for you. What You Will LearnCreate a virtualenv and start a new projectUnderstand how and when to use the functional programming paradigmGet familiar with the different ways the decorators can be written inUnderstand the power of generators and coroutines without digressing into lambda calculusCreate metaclasses and how it makes working with Python far easierGenerate HTML documentation out of documents and code using SphinxLearn how to track and optimize application performance, both memory and cpuUse the multiprocessing library, not just locally but also across multiple machinesGet a basic understanding of packaging and creating your own libraries/applicationsIn DetailPython is a dynamic programming language. It is known for its high readability and hence it is often the first language learned by new programmers. Python being multi-paradigm, it can be used to achieve the same thing in different ways and it is compatible across different platforms. Even if you find writing Python code easy, writing code that is efficient, easy to maintain, and reuse is not so straightforward. This book is an authoritative guide that will help you learn new advanced methods in a clear and contextualised way. It starts off by creating a project-specific environment using venv, introducing you to different Pythonic syntax and common pitfalls before moving on to cover the functional features in Python. It covers how to create different decorators, generators, and metaclasses. It also introduces you to functools.wraps and coroutines and how they work. Later on you will learn to use asyncio module for asynchronous clients and servers. You will also get familiar with different testing systems such as py.test, doctest, and unittest, and debugging tools such as Python debugger and faulthandler. You will learn to optimize application performance so that it works efficiently across multiple machines and Python versions. Finally, it will teach you how to access C functions with a simple Python call. By the end of the book, you will be able to write more advanced scripts and take on bigger challenges. Style and ApproachThis book is a comprehensive guide that covers advanced features of the Python language, and communicate them with an authoritative understanding of the underlying rationale for how, when, and why to use them.;Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started -- One Environment per Project; Creating a virtual Python environment using venv; Creating your first venv; venv arguments; Differences between virtualenv and venv; Bootstrapping pip using ensurepip; ensurepip usage; Manual pip install; Installing C/C++ packages; Debian and Ubuntu; Red Hat, CentOS, and Fedora; OS X; Windows; Summary; Chapter 2: Pythonic Syntax, Common Pitfalls, and Style Guide; Code style -- or what is Pythonic code?



فهرست مطالب

Cover
Copyright
Credits
About the Author
About the Reviewers
www.PacktPub.com
Table of Contents
Preface
Chapter 1: Getting Started --
One Environment per Project
Creating a virtual Python environment using venv
Creating your first venv
venv arguments
Differences between virtualenv and venv
Bootstrapping pip using ensurepip
ensurepip usage
Manual pip install
Installing C/C++ packages
Debian and Ubuntu
Red Hat, CentOS, and Fedora
OS X
Windows
Summary
Chapter 2: Pythonic Syntax, Common Pitfalls, and Style Guide
Code style --
or what is Pythonic code? Formatting strings --
printf-style or str.format?PEP20, the Zen of Python
Beautiful is better than ugly
Explicit is better than implicit
Simple is better than complex
Flat is better than nested
Sparse is better than dense
Readability counts
Practicality beats purity
Errors should never pass silently
In the face of ambiguity, refuse the temptation to guess
One obvious way to do it
Now is better than never
Hard to explain, easy to explain
Namespaces are one honking great idea
Conclusion
Explaining PEP8
Duck typing
Differences between value and identity comparisons
Loops. Maximum line lengthVerifying code quality, pep8, pyflakes, and more
flake8
Pylint
Common pitfalls
Scope matters!
Function arguments
Class properties
Modifying variables in the global scope
Overwriting and/or creating extra built-ins
Modifying while iterating
Catching exceptions --
differences between Python 2 and 3
Late binding --
be careful with closures
Circular imports
Import collisions
Summary
Chapter 3: Containers and Collections --
Storing Data the Right Way
Time complexity --
the big O notation
Core collections
list --
a mutable list of items. Dict --
unsorted but a fast map of itemsset --
like a dict without values
tuple --
the immutable list
Advanced collections
ChainMap --
the list of dictionaries
counter --
keeping track of the most occurring elements
deque --
the double ended queue
defaultdict --
dictionary with a default value
namedtuple --
tuples with field names
enum --
a group of constants
OrderedDict --
a dictionary where the insertion order matters
heapq --
the ordered list
bisect --
the sorted list
Summary
Chapter 4: Functional Programming --
Readability versus Brevity
Functional programming
list comprehensions. Dict comprehensionsset comprehensions
lambda functions
The Y combinator
functools
partial --
no need to repeat all arguments every time
reduce --
combining pairs into a single result
Implementing a factorial function
Processing trees
itertools
accumulate --
reduce with intermediate results
chain --
combining multiple results
combinations --
combinatorics in Python
permutations --
combinations where the order matters
compress --
selecting items using a list of Booleans
dropwhile/takewhile --
selecting items using a function
count --
infinite range with decimal steps. Groupby --
grouping your sorted iterable.




نظرات کاربران