educative.io

Python 101: Interactively learn how to program with Python 3 (Michael Driscoll)


11. Introspection - The Python Dir We’ve already seen ‘dir’ function. Let’s look at it in more detail 10. Classes - Creating a Class How to create a class in python? 2. Lists, Tuples and Dictionaries - Tuples Let’s learn about Tuples in Python 2. Lists, Tuples and Dictionaries - Dictionaries Dictionaries are one of the most used data structures in Python. Let’s learn about dictionaries in python 3. Conditional Statements - Special Characters How are we going to print special characters like new line and tabs etc. in Python? 5. Python Comprehensions - Dictionary comprehensions We are going to look at Dictionary comprehensions in python 6. Exception Handling - Introduction to Exception Handling In this chapter, we are going to look at Exception handling in python. 7. Working with Files - How To Read Files Piece by Piece Instead of reading the whole file, we are going to learn how to read a file in small chunks 7. Working with Files - Using the with Operator Files in python can be handled in a simpler way using the with operator. 8. Importing - Importing python modules Have questions about Importing python modules? Go for it! 9. Functions - A Note on Scope and Globals Let’s learn about how scope works in python 10. Classes - Subclasses We’re going to learn about subclassing (or inheritance) in Python 11. Introspection - Python Help! Python has a great help utility. 2. Lists, Tuples and Dictionaries - Lists Let’s learn about Lists and their usage in Python 1. All About Strings - String Methods Let’s learn about methods provided by the Python’s string object 1. All About Strings - String Formatting In this lesson, we will learn about formatting strings in Python 3. Conditional Statements - The if statement Learn how if statements work in Python 3. Conditional Statements - Boolean Operations Boolean operations are used to combine multiple conditions. Let’s learn how we are going to use boolean operators in python. 3. Conditional Statements - Checking for Nothing Python has a way to depict the absence of a value. Let’s learn about python keyword ‘None’ 4. Loops - The while Loop Another type of loop in python is while loop. Let’s learn how a while loop works in python 4. Loops - What else is for in loops What’s else in the for loops? 5. Python Comprehensions - Set Comprehensions It’s time to learn about Set comprehensions in Python 6. Exception Handling - Common Exceptions We’ll look at some common exceptions in Python 6. Exception Handling - The finally Statement Let’s learn about finally statement while handling exceptions in python 7. Working with Files - Introduction to File Handling In this chapter, we will learn how to read and write files using python 7. Working with Files - How to Read a File Let’s learn how to read a file in python 8. Importing - Importing Everything! Have questions about Importing Everything!? Go for it! 9. Functions - Functions What else to say. Let’s start learning how to create functions in python 9. Functions - Keyword Arguments Have questions about Keyword Arguments? Go for it! 9. Functions - args and kwargs Have questions about args and kwargs? Go for it! 1. All About Strings - Strings in Python Let’s learn about String data type in Python 3. Conditional Statements - What are conditional statements? Learn about conditional statements in python. What’s the syntax and how do they help in creating programs? 3. Conditional Statements - if __name__ == “__main__” Does your Python program always starts at the top of the file or can you tell Python where to start? Let’s find out! 4. Loops - Introduction to Loops Have questions about Introduction to Loops? Go for it! 4. Loops - The for Loop We’ll learn about for loops in Python. 5. Python Comprehensions - Introduction to Comprehensions In this chapter, we are going to look at python 6. Exception Handling - How to Handle Exceptions How can we handle an exception thrown within a python process 6. Exception Handling - try, except, or else! Have questions about try, except, or else!? Go for it! 7. Working with Files - Writing Files in Python We’re going to learn how to write files in python 7. Working with Files - Catching Errors in file handling Errors are inevitable. How to catch errors in python while reading or writing files 8. Importing - import this Have questions about import this? Go for it! 8. Importing - Using from to import Have questions about Using from to import? Go for it! 9. Functions - Passing Arguments to a Function Have questions about Passing Arguments to a Function? Go for it! 9. Functions - Coding tip: Don't repeat yourself Have questions about Coding tip: Don’t repeat yourself? Go for it! 10. Classes - What is self? ‘self’ has a special place while working with classes in python 11. Introspection - Introduction to Introspection What’s Introspection and how can it help you become a better python programmer 12. The CSV Module - What's the CSV Module Python has an awesome CSV module to help you parse CSV files 13. configparser - Creating a Config File Have questions about Creating a Config File? Go for it! 14. Logging - Logging in Python Let’s learn about how to log in python 16. Sending emails - Sending Multiple Emails at Once How to send multiple emails in python 12. The CSV Module - Writing a CSV File Writing a CSV file in python 13. configparser - How to Use Interpolation Using interpolation with configparser in python 14. Logging - How to log From Multiple Modules (and Formatting too!) Have questions about How to log From Multiple Modules (and Formatting too!)? Go for it! 15. The os Module - os.name Have questions about os.name? Go for it! 15. The os Module - Directory and file functions in Python os module in python provides several methods to work with directories and files. We will look at some of those functions in this lesson 16. Sending emails - Sending email in python We’ll explore the basics of sending email in python 18. The subprocess Module - Python's subprocess module Have questions about Python’s subprocess module? Go for it! 18. The subprocess Module - The call function How to call another process in python? 18. The subprocess Module - The Popen Class How python’s Popen works to create a child process? 21. Working with Dates and Time - Date and time in Python Have questions about Date and time in Python? Go for it! 22 - The xml module - Introduction to xml module Have questions about Introduction to xml module? Go for it! 22 - The xml module - Working with minidom Have questions about Working with minidom? Go for it! 22 - The xml module - Parsing with ElementTree Have questions about Parsing with ElementTree? Go for it! 22 - The xml module - How to Parse XML with ElementTree Have questions about How to Parse XML with ElementTree? Go for it! 25 - The lambda - Lambda statement in Python Have questions about Lambda statement in Python? Go for it! 26 - Code Profiling - Introduction to Code Profiling Have questions about Introduction to Code Profiling? Go for it! 27 - An Intro to Testing - Testing with doctest Have questions about Testing with doctest? Go for it! 13. configparser - Configuration files and config parser Have questions about Configuration files and config parser? Go for it! 13. configparser - How to Read, Update and Delete Options Have questions about How to Read, Update and Delete Options? Go for it! 14. Logging - Configuring Logs for Work and Pleasure Have questions about Configuring Logs for Work and Pleasure? Go for it! 17. The SQLite Module - Getting started with SQLite in python In this chapter, we are going to learn how to use SQLite in python 22 - The xml module - How to Edit XML with ElementTree Have questions about How to Edit XML with ElementTree? Go for it! 23 - The Python Debugger - Debugger module in Python Have questions about Debugger module in Python? Go for it! 24 - Decorators - Creating a Logging Decorator Have questions about Creating a Logging Decorator? Go for it! 24 - Decorators - Built-in Decorators Have questions about Built-in Decorators? Go for it! 24 - Decorators - Replacing Setters and Getters with a Python property Have questions about Replacing Setters and Getters with a Python property? Go for it! 27 - An Intro to Testing - Other Notes Have questions about Other Notes? Go for it! 28 - Installing Modules - A Note on Dependencies Have questions about A Note on Dependencies? Go for it! 30 - Parsing XML with lxml - What are we learning in this chapter? Have questions about What are we learning in this chapter?? Go for it! 30 - Parsing XML with lxml - Creating XML with lxml.objectify Have questions about Creating XML with lxml.objectify? Go for it! 31 - Python Code Analysis - Getting Started with pyflakes Have questions about Getting Started with pyflakes? Go for it! 32 - The requests package - How to Submit a Web Form Have questions about How to Submit a Web Form? Go for it! 33 - SQLAlchemy - SQLAlchemy in Python Have questions about SQLAlchemy in Python? Go for it! 12. The CSV Module - Reading a CSV File Have questions about Reading a CSV File? Go for it! 15. The os Module - os.environ, os.getenv() and os.putenv() Have questions about os.environ, os.getenv() and os.putenv()? Go for it! 15. The os Module - os.path and related functions Python provides several methods to work with filesystem and directory paths 16. Sending emails - Send email using the TO, CC and BCC lines Have questions about Send email using the TO, CC and BCC lines? Go for it! 16. Sending emails - Add an attachment / body using the email module How to add attachments to your emails in python 20. The threading module - Threads in Python Have questions about Threads in Python? Go for it! 20. The threading module - Writing a Threaded Downloader We’ll write a downloader in python using multiple threads to learn more about the threads 23 - The Python Debugger - How to Start the Debugger Have questions about How to Start the Debugger? Go for it! 24 - Decorators - Python Decorators Have questions about Python Decorators? Go for it! 24 - Decorators - A Simple Function Have questions about A Simple Function? Go for it! 30 - Parsing XML with lxml - Parsing XML with lxml Have questions about Parsing XML with lxml? Go for it! 30 - Parsing XML with lxml - Parsing XML with lxml.objectify Have questions about Parsing XML with lxml.objectify? Go for it! 33 - SQLAlchemy - How to Insert / Add Data to Your Tables Have questions about How to Insert / Add Data to Your Tables? Go for it! 36 - How to Add Your Code to PyPI - Creating a setup.py File Have questions about Creating a setup.py File? Go for it! 37 - The Python egg - Introduction to Python eggs Have questions about Introduction to Python eggs? Go for it! 39 - py2exe - Introduction to py2exe Have questions about Introduction to py2exe? Go for it! 17. The SQLite Module - How to Create a Database and INSERT Some Data Have questions about How to Create a Database and INSERT Some Data? Go for it! 17. The SQLite Module - Updating and Deleting Records We’ll learn how to update and delete records in SQLite using Python 17. The SQLite Module - Basic SQLite Queries Let’s learn SQL Queries in Python 18. The subprocess Module - Learning to Communicate with subprocess How to communicate with the subprocess in Python 19. The sys Module - Python's sys module Learn the usage of sys module in python 21. Working with Dates and Time - The datetime Module Have questions about The datetime Module? Go for it! 21. Working with Dates and Time - The time Module Have questions about The time Module? Go for it! 22 - The xml module - How to Create XML with ElementTree Have questions about How to Create XML with ElementTree? Go for it! 23 - The Python Debugger - Stepping Through the Code Have questions about Stepping Through the Code? Go for it! 23 - The Python Debugger - Setting breakpoints Have questions about Setting breakpoints? Go for it! 25 - The lambda - Tkinter + lambda Have questions about Tkinter + lambda? Go for it! 26 - Code Profiling - Profiling Your Code with cProfile Have questions about Profiling Your Code with cProfile? Go for it! 27 - An Intro to Testing - doctest and unittest Have questions about doctest and unittest? Go for it! 27 - An Intro to Testing - Test Driven Development with unittest Have questions about Test Driven Development with unittest? Go for it! 28 - Installing Modules - Introduction to Installing packages Have questions about Introduction to Installing packages? Go for it! 28 - Installing Modules - Using pip Have questions about Using pip? Go for it! 29 - ConfigObj - Using a configspec Have questions about Using a configspec? Go for it! 31 - Python Code Analysis - pylint Have questions about pylint? Go for it! 28 - Installing Modules - Using easy\_install Have questions about Using easy_install? Go for it! 29 - ConfigObj - configobj in Python Have questions about configobj in Python? Go for it! 30 - Parsing XML with lxml - Parsing the Book Example Have questions about Parsing the Book Example? Go for it! 31 - Python Code Analysis - Analyzing Your Code Have questions about Analyzing Your Code? Go for it! 33 - SQLAlchemy - How to Delete Records in SQLAlchemy Have questions about How to Delete Records in SQLAlchemy? Go for it! 37 - The Python egg - Creating an egg Have questions about Creating an egg? Go for it! 28 - Installing Modules - Installing from Source Have questions about Installing from Source? Go for it! 33 - SQLAlchemy - How to Create a Database Have questions about How to Create a Database? Go for it! 34 - virtualenv - Virtual environments Have questions about Virtual environments? Go for it! 35 - Creating Modules and Packages - Introduction to Creating Modules & Packages Have questions about Introduction to Creating Modules & Packages? Go for it! 36 - How to Add Your Code to PyPI - What's this chapter about? Have questions about What’s this chapter about?? Go for it! 36 - How to Add Your Code to PyPI - Registering Packages Have questions about Registering Packages? Go for it! 36 - How to Add Your Code to PyPI - Uploading Packages to PyPI Have questions about Uploading Packages to PyPI? Go for it! 38 - Python wheels - Introduction to Python wheel Have questions about Introduction to Python wheel? Go for it! 38 - Python wheels - Installing a Python wheel Have questions about Installing a Python wheel? Go for it! 32 - The requests package - What is a 'requests' package? Have questions about What is a ‘requests’ package?? Go for it! 33 - SQLAlchemy - The Basic SQL Queries of SQLAlchemy Have questions about The Basic SQL Queries of SQLAlchemy? Go for it! 34 - virtualenv - Creating a Virtual Environment Have questions about Creating a Virtual Environment? Go for it! 35 - Creating Modules and Packages - How to Create a Python Module Have questions about How to Create a Python Module? Go for it! 35 - Creating Modules and Packages - How to Create a Python Package Have questions about How to Create a Python Package? Go for it! 38 - Python wheels - Creating a wheel Have questions about Creating a wheel? Go for it! 39 - py2exe - Creating a Simple GUI Have questions about Creating a Simple GUI? Go for it! 39 - py2exe - The py2exe setup.py file Have questions about The py2exe setup.py file? Go for it! 39 - py2exe - Creating an Advanced setup.py File Have questions about Creating an Advanced setup.py File? Go for it! 40 - bbfreeze - bbfreeze package Have questions about bbfreeze package? Go for it! 40 - bbfreeze - Getting Started with bbfreeze Have questions about Getting Started with bbfreeze? Go for it! 40 - bbfreeze - Using bbfreeze's Advanced Configuration Have questions about Using bbfreeze’s Advanced Configuration? Go for it! 41 - cx\_Freeze - Introduction to cx_Freeze Have questions about Introduction to cx_Freeze? Go for it! 41 - cx\_Freeze - Getting Started with cx_Freeze Have questions about Getting Started with cx_Freeze? Go for it! 41 - cx\_Freeze - Advanced cx_Freeze - Using a setup.py File Have questions about Advanced cx_Freeze - Using a setup.py File? Go for it! 42 - PyInstaller - Introduction to PyInstaller Have questions about Introduction to PyInstaller? Go for it! 42 - PyInstaller - Getting Started with PyInstaller Have questions about Getting Started with PyInstaller? Go for it! 42 - PyInstaller - PyInstaller and wxPython Have questions about PyInstaller and wxPython? Go for it! 43 - Creating an Installer - Introduction to Creating an Installer Have questions about Introduction to Creating an Installer? Go for it! 43 - Creating an Installer - Getting Started with GUI2Exe Have questions about Getting Started with GUI2Exe? Go for it! 43 - Creating an Installer - Let's Make an Installer! Have questions about Let’s Make an Installer!? Go for it! 10. Classes - Introduction to classes in Python We’ll explore classes in Python in this chapter. 14. Logging - Creating a Simple Logger Have questions about Creating a Simple Logger? Go for it! 15. The os Module - Python's os module Python’s os module is used to interact with the operating system. Let’s explore it a little bit. 33 - SQLAlchemy - How to Modify Records with SQLAlchemy Have questions about How to Modify Records with SQLAlchemy? Go for it! 5. Python Comprehensions - List comprehensions Let’s look at list comprehensions 1. All About Strings - String Slicing In this lesson, we learn about string slicing in Python 2. Lists, Tuples and Dictionaries - What are we learning in this chapter? Have questions about What are we learning in this chapter?? Go for it! 11. Introspection - The Python Type Have questions about The Python Type? Go for it!
About the Python 101: Interactively learn how to program with Python 3 (Michael Driscoll) category [Python 101: Interactively learn how to program with Python 3 (Michael Driscoll)] (1)
Need explanation for the following [5. Python Comprehensions - List comprehensions] (3)