Python Tutorial
Python is a verstile programming language that has gained a lot of attention and popularity. Using Python, you do things like develop web applications, desktop applications, task automation, artificial intelligence (AI), big data, data analytics, machine learning (ML), and many other things.
Python is really becoming as the leader in data science and data analytics. With so many open source libraries to choose from (Pandas, s
Insert an image in a text editor QTextEdit in PyQt5
In this PyQt5 tutorial, we are going to learn how to insert an image in a text editor (QTextEdit widget). Buy Me a Coffee? Your support is much appreciated! PayPal Me: https://www.paypal.me/jiejenn/5 Venmo: @Jie-Jenn Source Code: import sys from PyQt5.QtWidgets import...
Make certain rows or columns Read-Only on a table widget in PyQt5
In this PyQt5 Tutorial, we are going to learn how we can use QStyledItemDelegate class to set certain rows or certain columns Read-Only on a QTableWidget. Buy Me a Coffee? Your support is much appreciated! PayPal Me: https://www.paypal.me/jiejenn/5 Venmo: @Jie-Jenn...
How to upload a video to YouTube using YouTube Data API in Python
In this tutorial, we are going to learn how to upload a video to YouTube using YouTube Data API in Python. Makes sure your account is verified. If not, go to https://www.youtube.com/verify to verify your account. This method supports media upload. Uploaded files must...
How to use Gmail API to send an email with attachments in Python
In this Python tutorial, we will learn how to send an email with attachments using Google Gmail API service. Using Gmail API, we can Read and send messages, manage drafts and attachments, search threads and messages, work with labels, setup push notifications, and...
How to clear a YouTube playlist with Python and YouTube API
In this tutorial, we are going to learn how to clear a YouTube playlist using YouTube Data API in Python. So, there are couple reasons you why may want to delete videos to empty out a playlist instead of deleting a playlist and recreate a new one. For one, some people...
Introduce PyLance for Visual Studio Code (VS Code)
Microsoft recently released a new VS Code extension called Pylance, an improved language server specifically for Python. To install the Pylance extension, simply search for Pylance from the marketplace in VS Code. Features Docstrings Signature help, with type...
Remove duplicate videos from a YouTube playlist using Python and YouTube API
In this Python tutorial, we are going to learn how to use YouTube Data API to remove duplicate videos from a YouTube playlist. Buy Me a Coffee? Your support is much appreciated! PayPal Me: https://www.paypal.me/jiejenn/5 Venmo: @Jie-Jenn Source Code: from Google...
QListWidget Basics
In this PyQt5 tutorial, we are going to learn the basics of how to use the QListWidget in Python. A QListWidget (or QList Widget) is a powerful widget to provide a list view to allow a user to easily select an item from a list. Buy Me a Coffee? Your support is much...
Implement Button (widget) Drag And Move Feature
In This PyQt5 tutorial, I will be walking you through the steps to implement the feature where you can drag a button (or an object in general) with your mouse to a different location with your mouse. Buy Me a Coffee? Your support is much appreciated! PayPal Me:...
Rotate widgets with QStackedWidget class
In this PyQt5 Tutorial, we are going to look how to rotate different widget items with QStackedWidget. Buy Me a Coffee? Your support is much appreciated! PayPal Me: https://www.paypal.me/jiejenn/5 Venmo: @Jie-Jenn Source Code: import sys from PyQt5.QtWidgets import...