
Basics of Python Programming: A Quick Guide for Beginners
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
All prices
More details
Content
- Cover
- Title
- Copyright
- End User License Agreement
- Contents
- Foreword
- Preface
- Introduction to Python
- INTRODUCTION
- TECHNICAL STRENGTHS OF PYTHON
- Portability
- Object-Oriented
- Community Support
- Advanced Features
- Memory Management
- Ease of Use
- Installing Python
- Windows Installer
- Ubuntu
- Linux Mint
- Python IDLE
- Anaconda Open-source Distribution
- Installing Anaconda on Windows
- Installing Anaconda on Linux
- First Python Program
- Python Keywords
- Identifiers
- Statements
- Indentation
- Comments
- Coding Styles
- Functional
- Imperative
- Procedural
- Object-oriented
- CONCLUDING REMARKS
- Data Types, Operators, and Expressions
- INTRODUCTION
- NUMBER
- Sequence
- DICTIONARY
- BOOLEAN
- SET
- TYPE CONVERSION
- Implicit Type Conversion
- Explicit Type Conversion
- OPERATORS
- Arithmetic Operators
- Addition (+) Operator
- Subtraction (-) Operator
- Multiplication (*) Operator
- Division (/) Operator
- Modulus (%) Operator
- Exponent (**) Operator
- Floor Division (//) Operator
- Relational Operators
- Greater than (&) Operator
- Greater than or equal to (&=) Operator
- Less than (&) Operator
- Less than or equal to (&=) Operator
- Equal to (==) Operator
- Not equal to (! =) Operator
- Assignment Operator
- Assignment (=) Operator
- Add AND (+=) Operator
- Subtract AND (-=) Operator
- Multiply AND (*=) Operator
- Divide AND (/=) Operator
- Modulus AND (%=) Operator
- Exponent AND (**=) Operator
- Floor Division (//=) Operator
- Unary Operators
- Bitwise Operators
- Binary AND (&) Operator
- Binary OR (|) Operator
- Binary XOR (^) Operator
- Binary One's Complement (~) Operator
- Binary Left Shift (&&) Operator
- Binary Right Shift (&&) Operator
- Logical Operators
- Logical AND Operator
- Logical OR Operator
- Logical NOT Operator
- Membership Operators
- Operator (in)
- Operator (not)
- Identity Operators
- Operator (is)
- Operator (is not)
- Operators' Precedence and Associativity
- EXPRESSIONS
- Identifiers
- Literals
- Operators
- STRING OPERATIONS
- Accessing Values in Strings
- Triple Quotes
- CONCLUDING REMARKS
- Control Flow
- INTRODUCTION
- SEQUENTIAL STATEMENTS
- DECISION CONTROL STRUCTURES
- If Statements
- If-else Statements
- Nested if
- if-elif-else
- LOOPING STATEMENTS
- For Loop
- While Loop
- Nested Loop
- Break Statement
- Continue Statement
- The Pass Statement
- CONCLUDING REMARKS
- Functions
- INTRODUCTION
- Definition
- PREDEFINED FUNCTIONS
- USER-DEFINED FUNCTIONS
- Function Call
- Function Parameters and Arguments
- Default Arguments
- Variable Scope and Lifetime
- Scope of the Variable
- Local Scope
- Global Scope
- The Lifetime of the Variable
- Local and Global Variables
- Global Variables
- Global Statement
- Return Statement
- Lambda Functions
- Recursive Functions
- Function Redefinition
- CONCLUDING REMARKS
- Sequence-String and List
- INTRODUCTION
- STRING
- String Concatenation
- Using + Operator
- Using join() Method
- Using % Operator
- Using Format() Function
- Appending Strings
- Using += Operator
- Using Join()
- Multiplying Strings
- Immutable Strings
- String Formatting Operator
- Built-in String Functions
- Slice Operation
- The ord() Function
- The chr() Function
- String Comparison
- Using Relational Operators
- Using is and is not
- Using User-defined Function
- Iterating String
- split() Function
- re.findall() Function
- The String Module
- String Module Constants
- string.ascii_letters
- string.ascii_lowercase
- string.ascii_uppercase
- string.digits
- string.hexdigits
- string.punctuation
- String capwords() Function
- String Module Classes
- Formatter
- Template
- Regular Expression
- LISTS
- Using List Index
- List Operations
- Updating Values in Lists
- Nested List
- Aliasing
- Cloning Lists
- Cloning List using Slicing
- Cloning List using Extend()
- Cloning List using List()
- Cloning List using List Comprehension
- Cloning List using Append()
- Cloning List using Copy()
- Built-in Functions
- List Built-in List Methods
- List as Arrays
- Loops in Lists
- For Loop in the List
- While Looping in the List
- List Comprehension
- Enumerate() Method
- Numpy in Loop
- List in Functions
- CONCLUDING REMARKS
- Tuple and Dictionaries
- INTRODUCTION
- TUPLE
- TheTuple ()Function
- Accessing Tuple
- Tuple Indexes
- Tuple Slicing
- Updating Tuple
- Deleting Elements from a Tuple
- Tuple Operations
- Tuple Basic Functions
- Tuple Assignment
- Tuples and Functions
- Nesting of Tuples
- Tuples from String and List
- zip() Function
- Inverse zip(*) Function
- Tuple Sorting
- DICTIONARY
- Dictionary Creation
- Accessing Dictionary Values
- Modifying Dictionary
- Delete an Element from the Dictionary
- The Clear () Function
- Sorting Dictionaries
- Sorting Dictionary by Value
- Sorting Dictionary in Reverse Order
- Iterating Over a Dictionary
- Nested Dictionaries
- Updating Nested Dictionary
- Deleting Elements from a Nested Dictionary
- Deleting a Dictionary from the Nested Dictionary
- Iterating Through a Nested Dictionary
- Built-in Dictionary Functions
- The Copy () Method
- Formatting Dictionaries
- CONCLUDING REMARKS
- File Handling
- INTRODUCTION
- FILE
- Open() Function
- Close() Function
- Write() Function
- Writelines() Method
- Writing Numbers to a File
- Read() Method
- Readline() Method
- Readlines() Method()
- Reading Contents with a Loop
- Creating a New File
- File Object Attributes
- File Positions
- File Rename
- Deleting a File
- Binary Files
- Directory Operations
- Current Working Directory
- List of Directories
- Creating a Directory
- Change Directory
- Renaming a Directory
- Delete a Directory
- CONCLUDING REMARKS
- Exception Handling
- INTRODUCTION
- HANDLING EXCEPTIONS
- EXCEPT BLOCK
- ELSE AND FINALLY, KEYWORD
- RAISING EXCEPTIONS
- Built-in Exceptions
- User-defined Exceptions
- CONCLUDING REMARK
- Modules and Packages
- INTRODUCTION
- MODULES
- Import Statement
- From.Import Statement
- Renaming A Module
- Dir() Built-In Function
- Reload () Function
- Built-In Modules
- PACKAGE
- Creating Package
- Sub Packages
- CONCLUDING REMARK
- Object-Oriented Programming
- INTRODUCTION
- CLASS AND OBJECT
- DATA ABSTRACTION
- ENCAPSULATION
- INHERITANCE
- POLYMORPHISM
- Defining a Class
- Creating an Object
- Deleting Properties or Object
- Data Abstraction Example
- CONSTRUCTORS
- Parameterized Constructor
- Default Constructor
- INHERITANCE IN PYTHON
- TYPES OF INHERITANCE
- Single Inheritance
- Multi-level Inheritance
- Multiple Inheritance
- Hierarchical Inheritance
- The issubclass(sub,sup) method()
- The isinstance (obj, class) method()
- POLYMORPHISM IN PYTHON
- Polymorphism in Operators
- Function Polymorphism
- Polymorphism in Class Methods
- Method Overriding
- Built-in Class Functions
- Built-in Class Attributes
- Static Variables
- CONCLUDING REMARKS
- Python for Machine Learning
- INTRODUCTION
- IMPORTANT PYTHON LIBRARIES
- NUMPY
- PANDAS
- SCIKIT-LEARN
- MATPLOTLIB
- TENSORFLOW
- KERAS
- PYTORCH
- NLTK
- Installing NLTK on Mac/ Unix
- Installing NLTK on Windows
- CONCLUDING REMARKS
- Programming with Python
- INTRODUCTION
- BASIC PYTHON PROGRAM
- Program to Solve a Quadratic Equation
- Program to Swap Two Numbers
- Program to Find the Factorial of Two Numbers
- Program for Fibonacci Series Using Recursion
- Sorting Elements of Array in Ascending Order
- Program to Print the Sum of Elements of Array
- Program to Transpose a Matrix
- Program to Reverse a String
- Program to Concatenate Two Strings
- Program to Append Elements to the List
- Program to Delete an Element of List
- Program for Linear Search
- Program for Binary Search
- Program to Perform Time Series Analysis
- CONCLUDING REMARKS
- Bibliography
- Subject Index
- Back Cover
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.
File format: ePUB
Copy protection: without DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use a reader that can handle the file format ePUB, such as Adobe Digital Editions or FBReader – both free (see eBook Help).
- Tablet/Smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePUB works well for novels and non-fiction books – i.e., 'flowing' text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook does not use copy protection or Digital Rights Management
For more information, see our eBook Help page.