![]() |
|
Practical Guide to Python - Printable Version +- Softwarez.Info - Software's World! (https://softwarez.info) +-- Forum: Library Zone (https://softwarez.info/Forum-Library-Zone) +--- Forum: Video Tutorials (https://softwarez.info/Forum-Video-Tutorials) +--- Thread: Practical Guide to Python (/Thread-Practical-Guide-to-Python) |
Practical Guide to Python - AD-TEAM - 08-26-2025 ![]() Practical Guide to Python WEBRip | English | MP4 + Project Files | 1912 x 1088 | AVC ~861 kbps | 29.970 fps AAC | 93.4 Kbps | 48.0 KHz | 2 channels | ~5 hours | 1.78 GB Genre: eLearning Video / Development, Programming Languages, Python Quote:This course leverages your experience as a coder in other languages to quickly get you up to speed with writing effective Python. Learn why you might want to use Python and all the foundational basics: data types, numbers, strings, lists, sets, tuples, and dictionaries. We will then cover some practical applications for those python programs, go over libraries and modules, and end the course build in the Django web framework.Published: December 22, 2020 Table of Contents Introduction Introduction 00:00:00 - 00:09:22 Introduction Nina Zakharenko introduces the Practical Python course and walks through the editor setup, and the prerequisites. Course Setup 00:09:23 - 00:18:50 Course Setup Nina creates a directory and virtual environment for the Python project. The virtual environment allows a specific version of Python to be used in a project without interfering with other versions required by the operating system. REPL & Running Python 00:18:51 - 00:28:07 REPL & Running Python Nina demonstrates how to use the Python REPL to run programs line-by-line. Using the REPL can be faster than using a Python file since it eliminates the hassle of running a full program. The output is instantaneous inside the REPL as each line is run. Why Python? Why Python & Python Philosophy 00:28:08 - 00:38:58 Why Python & Python Philosophy Nina describes the history of Python, and why it appeals to a wide range of developers, from beginners to large-scale development teams at Instagram or Dropbox. Since Python is open source, there is a large community of contributors and third-party packages. Anatomy of a Python Program 00:38:59 - 00:49:12 Anatomy of a Python Program Nina walks through a completed Python program that uses the GitHub API to load data from Python, JavaScript, and Ruby repositories with over 60000 stars. The code contains examples of variables, functions, lists, dictionaries, and loops. Running Python Q&A 00:49:13 - 00:50:37 Running Python Q&A Nina answers questions about different string formatters, and how to install third-party packages like the "request" package. Variables & Data Types Variables 00:50:38 - 00:57:26 Variables Nina demonstrates how to create variables in Python. Variables are dynamically typed and the recommended naming convention is all lowercase letters with underscores between words. Helpful REPL Methods 00:57:27 - 01:03:18 Helpful REPL Methods Nina shares three helpful methods that can be used in the REPL. The type() method will return the type of a variable. The dir() method returns all the built-in methods for a class. The help() method returns the documentation for any class type or class method. Numbers 01:03:19 - 01:08:36 Numbers Nina demonstrates the int, float, and complex number types. The Boolean values True and False cast to the int values 1 and 0. Strings 01:08:37 - 01:17:19 Strings Nina demonstrates how to work with strings. Preceding a string with the letter "f" creates an f-string which allows variables and expressions to be added inside curly brackets. String methods like replace() return the modified string value without mutating the original string. Lists 01:17:20 - 01:26:02 Lists Nina demonstrates the list data type. Lists can be sorted or mutated with methods like append(), insert(), and reverse(). Data Types, Strings & Numbers Practice 01:26:03 - 01:33:08 Data Types, Strings & Numbers Practice Nina walks the students through the data types, strings and numbers practice. Functions, Loops, & Logic Tuples 01:33:09 - 01:40:01 Tuples Nina explains that tuples are light-weight collections for keeping track of related, but different items. Unlike lists, tuples are immutable. Sets 01:40:02 - 01:48:45 Sets Nina demonstrates that sets are mutable data types that store immutable items in an unsorted way. Items can be added and removed from sets. Unlike a list or tuple, a set can only contain one instance of a unique item. Dictionaries 01:48:46 - 01:58:14 Dictionaries Nina explains that dictionaries store data in key-value pairs. Dictionaries allow for fast item look up and fast membership testing because their keys are immutable. Running py Files 01:58:15 - 02:05:00 Running py Files Nina shares some naming convention guidelines for Python files. File names should be short, all lowercase and use underscores to separate words. Python .pyc files are compiled intermediary files that can be ignored and should not be checked into source control. The pprint module is useful for printing large data structures like long lists or big dictionaries. Functions, Arguments & Scope 02:05:01 - 02:22:08 Functions, Arguments & Scope Nina explains that functions are defined with the "def" keyword. Arguments are included between the parentheses of a function. The body of a function is indented after the function definition. Boolean Logic & Control Statements 02:22:09 - 02:37:28 Boolean Logic & Control Statements Nina demonstrates boolean operators and controls statements like if, elif, and else. The "is" keyword best for checking identity between two objects, not equality. If/Else statements use a colon and indentation similar to function blocks. Sets, Tuples, & Dictionaries Practice 02:37:29 - 02:48:35 Sets, Tuples, & Dictionaries Practice Nina walks the students through the Sets, Tuples, & Dictionaries practice. Functions & Logic Practice 02:48:36 - 02:56:56 Functions & Logic Practice Nina walks the students through the Functions and Logic practice. Loops 02:56:57 - 03:09:05 Loops Nina demonstrates "for" loops. The range() and enumerate() functions simplify the syntax when looping over large amounts of data. Tuple unpacking is useful when looping over tuples and dictionaries. Loops Practice 03:09:06 - 03:13:46 Loops Practice Nina walks the students through the Loops practice. Practical Applications List Comprehensions 03:13:47 - 03:26:34 List Comprehensions Nina uses a list comprehension to perform an operation on every item in a list with only one line of code. A condition can be added to the list comprehension to determine if that value should be included in the returned list. Generator expressions are also covered in this segment. Slicing 03:26:35 - 03:29:56 Slicing Nina demonstrates how to use slicing to return a subset from a larger list. Slicing can be used on any data type that maintains an order, such as a string, list, or tuple. Working with Files 03:29:57 - 03:33:11 Working with Files Nina explains how Python works with files on the operating system and the different modes available when opening a file. A context manager is a safer way to work with files since it will automatically close the file even if an exception occurs. Working with Files Practice 03:33:12 - 03:36:27 Working with Files Practice Nina walks the students through the working with Files practice. Practical Applications Practice 03:36:28 - 03:38:25 Practical Applications Practice Nina walks the students through the Practical Applications practice. Object Oriented Python Classes vs Instances 03:38:26 - 03:46:24 Classes vs Instances Nina introduces Python classes, and explains the difference between a classes and the instance of a class. All Python data types inherit from a superclass. Within a class definition, the "self" keyword is used to reference the individual instance of that class. Methods & Magic Methods 03:46:25 - 03:53:34 Methods & Magic Methods Nina uses the @classmethod annotation to define a static method on a class that's shared across all instances. Python classes also have magic methods that are defined with two underscores before and after the method name. Some examples of magic methods are __init__(), __str__(), and __repr__(). Inheritance 03:53:35 - 03:54:43 Inheritance Nina shares a brief inheritance example. If a subclass is defined in the same file as its superclass, the class definition should be below the superclass's definition. Tracebacks & Exceptions 03:54:44 - 04:02:10 Tracebacks & Exceptions Nina implements exception handling with the "try" and "except" keywords. If an exception is thrown inside the "try" block, the error can be handled inside the "except" block. Multiple "except" blocks can be added to handle specific exception types. Object Oriented Python Main Method 04:02:11 - 04:06:12 Main Method Nina recommends adding a main method to Python programs to make them more modular. The main method will only execute when the program is running as a stand-alone application. If it has been imported in another module, the main method will not run. Virtual Environments 04:06:13 - 04:08:28 Virtual Environments Nina shares best practices around using virtual environments. A requirements.txt file is used to annotate dependencies for a virtual environment. This file can be created manually or generated automatically by Python's package manager. Libraries, Modules & Imports 04:08:29 - 04:13:18 Libraries, Modules & Imports Nina explains how the import keyword is used to import either an entire module or just a function from a module. Python's standard library contains a number of useful modules for handling dates, system-specific functions, and json data. External Libraries & requests Library 04:13:19 - 04:18:41 External Libraries & requests Library Nina recommends copying the "pip install" command from the Python Package Index website to ensure the correct external package is installed. The requests library loads data from an external API. The status_code property in the response object can be used to handle successful or erroneous requests. Object Oriented Python Practice 04:18:42 - 04:21:59 Object Oriented Python Practice Nina walks the students through the Object Oriented Python practice. Libraries & Modules Practice 04:22:00 - 04:26:07 Libraries & Modules Practice Nina walks the students through the Libraries and Modules practice. Web Frameworks Python Web Frameworks 04:26:08 - 04:29:33 Python Web Frameworks Nina introduces the Django and Flask frameworks for Python. Django includes a lot of features out of the box like ORM, user authentication, and content management. Flask allows users to create basic backend APIs easily, but requires third-party packages to extend beyond this basic functionality. Setup Django Blog Project 04:29:34 - 04:34:34 Setup Django Blog Project Nina installs the Django framework and uses it to create a basic blog application. The migrate command uses the manage.py file to initialize the database. The runserver command starts the local development server. Databases 04:34:35 - 04:43:36 Databases Nina explores the Django project and the code that communicates with the SQLite database. Whenever a field is added or removed from the models in Django, the makemigrations and migrate commands should be run to update the database. The Django "shell" command allows models to be worked with in the command line. Views, Routes, & Templates 04:43:37 - 04:51:21 Views, Routes, & Templates Nina explains how Django manages views and routes within the application. HTML templates are returned based on the pattern of the URL. Class-based views are also discussed in this segment. Django Admin 04:51:22 - 04:55:52 Django Admin Nina uses the Django admin interface to manage the content of the blog. The admin can also manage user authentication and permissions. Django Tests & Final Project Practice 04:55:53 - 04:57:10 Django Tests & Final Project Practice Nina explains why unit tests in Django should inherit from the TestCase class and not the built-in unit test package in Python. This segment also covers the final project practice which involves sorting blog posts and adding an is_draft field. Wrapping Up Wrapping Up 04:57:11 - 04:59:08 Wrapping Up Nina wraps up the course by sharing some additional Python resources, more information about Python frameworks, and how to connect with the Python development community. also You can find my other helpful (if old file-links don't show activity, try copy-paste them to the address bar) General Complete name : 2. Helpful REPL Methods.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom (isom/iso2/avc1/mp41) File size : 40.3 MiB Duration : 5 min 51 s Overall bit rate mode : Variable Overall bit rate : 962 kb/s Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Main@L4 Format settings : CABAC / 3 Ref Frames Format settings, CABAC : Yes Format settings, RefFrames : 3 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 5 min 51 s Source duration : 5 min 50 s Bit rate mode : Variable Bit rate : 861 kb/s Maximum bit rate : 7 000 kb/s Width : 1 912 pixels Original width : 1 920 pixels Height : 1 088 pixels Original height : 1 080 pixels Display aspect ratio : 16:9 Original display aspect ratio : 16:9 Frame rate mode : Variable Frame rate : 29.970 (29970/1000) FPS Minimum frame rate : 7.493 FPS Maximum frame rate : 89.910 FPS Original frame rate : 29.970 (30000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.014 Stream size : 36.0 MiB (89%) Source stream size : 36.0 MiB (89%) Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 mdhd_Duration : 351017 Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : mp4a-40-2 Duration : 5 min 51 s Bit rate mode : Variable Bit rate : 93.4 kb/s Maximum bit rate : 150 kb/s Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Stream size : 3.91 MiB (10%) Screenshots ✅ Exclusive eLearning Videos ← add to bookmarks Feel free to contact me when links are dead or want any repost ![]() DDownload RapidGator NitroFlare |