Serializing Objects With the Python pickle Module

As a developer, you may sometimes need to send complex object hierarchies over a network or save the internal state of your objects to a disk or database for later use. To accomplish this, you can use a process called serialization, which is fully supported by the standard library thanks to the Python pickle module. In this course, you’ll learn: What it means to serialize and deserialize an object Which modules you can use to serialize objects in Python Which […]

Read more

Django Admin Customization

The Django framework comes with a powerful administrative tool called admin. You can use it out of the box to quickly add, delete, or edit any database model from a web interface. But with a little extra code, you can customize the Django admin to take your admin capabilities to the next level. In this course, you’ll learn how to: Add attribute columns in the model object list Link between model objects Add filters to the model object list Make […]

Read more

Building HTTP APIs With Django REST Framework

REST is a loosely defined protocol for listing, creating, changing, and deleting data on your server over HTTP. The Django REST framework (DRF) is a toolkit built on top of the Django web framework that reduces the amount of code you need to write to create REST HTTP API interfaces. In this course you’ll learn about: The REST protocol DRF Serializers and how to use them with Django objects Using Django views and DRF ViewSet classes to create REST end-points […]

Read more

Managing Python Dependencies

Managing Python Dependencies is your “one-stop shop” for picking up modern Python dependency management practices and workflows with minimal time investment. The course consists of 32 bite-sized video lessons, each focusing on a single concept. Progressing through the course, you’ll quickly build up a comprehensive knowledge of dependency management best practices in Python at your own, comfortable pace. Along the way, you’ll see hands on examples and step-by-step workflows that reinforce the skills you’re learning. By the end, you’ll know […]

Read more

Introduction to Sorting Algorithms in Python

Sorting is a basic building block that many other algorithms are built upon. It’s related to several exciting ideas that you’ll see throughout your programming career. Understanding how sorting algorithms in Python work behind the scenes is a fundamental step toward implementing correct and efficient algorithms that solve real-world problems. In this course, you’ll learn: How different sorting algorithms in Python work and how they compare under different circumstances How Python’s built-in sort functionality works behind the scenes How different […]

Read more

Evaluate Expressions Dynamically With Python eval()

The built-in Python function eval() is used to evaluate Python expressions. You can pass a string containing Python, or a pre-compiled object into eval() and it will run the code and return the result. Although Python’s eval() is an incredibly useful tool, the function has some important security implications that you should consider before using it. In this course, you’ll learn how eval() works and how to use it safely and effectively in your Python programs. In this tutorial, you’ll […]

Read more

Stochastic Gradient Descent Algorithm With Python and NumPy

Stochastic gradient descent is an optimization algorithm often used in machine learning applications to find the model parameters that correspond to the best fit between predicted and actual outputs. It’s an inexact but powerful technique. Stochastic gradient descent is widely used in machine learning applications. Combined with backpropagation, it’s dominant in neural network training applications. Basic Gradient Descent Algorithm The gradient descent algorithm is an approximate and iterative method for mathematical optimization. You can use it to approach the minimum […]

Read more

Python Web Applications: Deploy Your Script as a Flask App

You wrote a Python script that you’re proud of, and now you want to show it off to the world. But how? Most people won’t know what to do with your .py file. Converting your script into a Python web application is a great solution to make your code usable for a broad audience. In this tutorial, you’ll learn how to go from a local Python script to a fully deployed Flask web application that you can share with the […]

Read more

Plot With Pandas: Python Data Visualization Basics

Whether you’re just getting to know a dataset or preparing to publish your findings, visualization is an essential tool. Python’s popular data analysis library, pandas, provides several different options for visualizing your data with .plot(). Even if you’re at the beginning of your pandas journey, you’ll soon be creating basic plots that will yield valuable insights into your data. In this course, you’ll learn: What the different types of pandas plots are and when to use them How to get […]

Read more

Qt Designer and Python: Build Your GUI Applications Faster

To create a GUI for your windows and dialogs in PyQt, you can take two main paths: you can use Qt Designer, or you can hand code the GUI in plain Python code. The first path can dramatically improve your productivity, whereas the second path puts you in full control of your application’s code. GUI applications often consist of a main window and several dialogs. If you’re looking to create these graphical components in an efficient and user-friendly way, then […]

Read more
1 8 9 10 11 12