دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
دسته بندی: برنامه نویسی: زبان های برنامه نویسی ویرایش: 2 نویسندگان: Michal Jaworski. Tarek Ziade سری: ISBN (شابک) : 1785886851, 9781785886850 ناشر: Packt Publishing سال نشر: 2016 تعداد صفحات: 0 زبان: English فرمت فایل : EPUB (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) حجم فایل: 3 مگابایت
کلمات کلیدی مربوط به کتاب برنامه نویسی پایتون خبره: کتابخانه، ادبیات کامپیوتر، پایتون
در صورت تبدیل فایل کتاب Expert Python Programming به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب برنامه نویسی پایتون خبره نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
با یادگیری بهترین شیوه های کدنویسی و مفاهیم سطح پیشرفته با Python 3.5 به یک برنامه نویس ace Python تبدیل شوید
این کتاب برای توسعه دهندگان وب و برنامه نویسان پایتون که می خواهند شروع به استفاده از نسخه 3.5 کنند و به طور موثر کد بنویسند جذاب است. دانش اولیه برنامه نویسی پایتون مورد انتظار است.
پایتون یک زبان برنامه نویسی پویا است که در طیف گسترده ای استفاده می شود. دامنه ها توسط برنامه نویسانی که آن را ساده و در عین حال قدرتمند می دانند. حتی اگر نوشتن کد پایتون را آسان میدانید، نوشتن کدی که کارآمد و آسان برای نگهداری و استفاده مجدد باشد، یک چالش است.
تمرکز کتاب آشنایی شما با قراردادهای رایج، بهترین شیوهها، ابزارهای مفید و استانداردهایی که توسط متخصصان پایتون به طور روزانه هنگام کار با کد استفاده می شود.
شما با دانستن ویژگی های جدید در پایتون 3.5 و ترفندهای سریع برای بهبود بهره وری شروع خواهید کرد. در مرحله بعد، عناصر نحوی پیشرفته و مفید پایتون را که به این نسخه جدید آورده شده است، یاد خواهید گرفت. با استفاده از مفاهیم شی گرا و مکانیزم های پیشرفته موجود در پایتون، رویکردهای مختلف برای پیاده سازی فرابرنامه نویسی را یاد خواهید گرفت. شما یاد خواهید گرفت که نامهای خوب انتخاب کنید، بستهها بنویسید و فایلهای اجرایی مستقل ایجاد کنید.
همچنین از ابزارهای قدرتمندی مانند buildout و vitualenv برای انتشار و استقرار کد روی سرورهای راه دور برای استفاده در تولید استفاده خواهید کرد. در ادامه، یاد خواهید گرفت که به طور موثر پسوندهای پایتون را با C، C++، cython و pyrex ایجاد کنید. فاکتورهای مهم هنگام نوشتن کد مانند ابزارهای مدیریت کد، نوشتن مستندات واضح و توسعه مبتنی بر آزمایش نیز پوشش داده شده است.
اکنون برای کارآمد کردن کد خود با قوانین کلی بهینهسازی، استراتژیهایی عمیقتر خواهید رفت. یافتن تنگناها و ابزارهای انتخاب شده برای بهینه سازی برنامه ها.
در پایان کتاب، شما در نوشتن کدهای کارآمد و قابل نگهداری متخصص خواهید بود.
راهنمای آسان برای دنبال کردن که بهترین شیوه های صنعت را در برنامه نویسی پایتون پوشش می دهد
Become an ace Python programmer by learning best coding practices and advance-level concepts with Python 3.5
The book would appeal to web developers and Python programmers who want to start using version 3.5 and write code efficiently. Basic knowledge of Python programming is expected.
Python is a dynamic programming language, used in a wide range of domains by programmers who find it simple, yet powerful. Even if you find writing Python code easy, writing code that is efficient and easy to maintain and reuse is a challenge.
The focus of the book is to familiarize you with common conventions, best practices, useful tools and standards used by python professionals on a daily basis when working with code.
You will begin with knowing new features in Python 3.5 and quick tricks for improving productivity. Next, you will learn advanced and useful python syntax elements brought to this new version. Using advanced object-oriented concepts and mechanisms available in python, you will learn different approaches to implement metaprogramming. You will learn to choose good names, write packages, and create standalone executables easily.
You will also be using some powerful tools such as buildout and vitualenv to release and deploy the code on remote servers for production use. Moving on, you will learn to effectively create Python extensions with C, C++, cython, and pyrex. The important factors while writing code such as code management tools, writing clear documentation, and test-driven development are also covered.
You will now dive deeper to make your code efficient with general rules of optimization, strategies for finding bottlenecks, and selected tools for application optimization.
By the end of the book, you will be an expert in writing efficient and maintainable code.
An easy-to-follow guide that covers industry followed best practices in Python programming
Cover
Copyright
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Table of Contents
Preface
Chapter 1: Current Status of Python
Where are we now and where we are going?
Why and how does Python change?
Getting up to date with changes --
PEP documents
Python 3 adoption at the time of writing this book
The main differences between Python 3 and Python 2
Why should I care?
The main syntax differences and common pitfalls
Syntax changes
Changes in the standard library
Changes in datatypes and collections. The popular tools and techniques used for maintaining cross-version compatibilityNot only CPython
Why should I care?
Stackless Python
Jython
IronPython
PyPy
Modern approaches to Python development
Application-level isolation of Python environments
Why isolation?
Popular solutions
virtualenv
venv
buildout
Which one to choose?
System-level environment isolation
Virtual development environments using Vagrant
Containerization versus virtualization
Popular productivity tools
Custom Python shells --
IPython, bpython, ptpython, and so on. Setting up the PYTHONSTARTUP environment variableIPython
bpython
ptpython
Interactive debuggers
Useful resources
Summary
Chapter 2: Syntax Best Practices --
below the Class Level
Python\'s built-in types
Strings and bytes
Implementation details
String concatenation
Collections
Lists and tuples
Dictionaries
Sets
Beyond basic collections --
the collections module
Advanced syntax
Iterators
The yield statement
Decorators
General syntax and possible implementations
Usage and useful examples
Context managers --
the with statement
General syntax and possible implementations. Other syntax elements you may not know yetThe for ... else ... statement
Function annotations
The general syntax
The possible uses
Summary
Chapter 3: Syntax Best Practices --
above the Class Level
Subclassing built-in types
Accessing methods from superclasses
Old-style classes and super in Python 2
Understanding Python\'s Method Resolution Order
super pitfalls
Mixing super and explicit class calls
Heterogeneous arguments
Best practices
Advanced attribute access patterns
Descriptors
Real-life example --
lazily evaluated attributes
Properties
Slots
Metaprogramming. Decorators --
a method of metaprogrammingClass decorators
Using the __new__() method to override instance creation process
Metaclasses
The general syntax
New Python 3 syntax for metaclasses
Metaclass usage
Metaclass pitfalls
Some tips on code generation
exec, eval, and compile
Abstract Syntax Tree
Projects using code generation patterns
Summary
Chapter 4: Choosing Good Names
PEP 8 and naming best practices
Why and when to follow PEP 8?
Beyond PEP 8 --
team-specific style guidelines
Naming styles
Variables
Constants
Naming and usage
Public and private variables.