Jinku Hu
Python 3 Basic Tutorial
- Python Tutorial - Introduction
- Python Tutorial - Installation
- Python Tutorial - Hello World
- Python Tutorial - Keywords and Identifiers
- Python Tutorial - Statement and Comment
- Python Tutorial - Variables and Data Types
- Python Tutorial - Operators
- Python Tutorial - Namescape and Scope
- Python Tutorial - Numbers and Conversion
- Python Tutorial - Data Type-List
- Python Tutorial - Data Type-Tuple
- Python Tutorial - Data Type-String
- Python Tutorial - Data Type-Array
- Python Tutorial - Data Type-Set
- Python Tutorial - Data Type Dictionary
- Python Tutorial - Decision Control
- Python Tutorial - For Loop
- Python Tutorial - While Loop
- Python Tutorial - Loop Continue and Break
- Python Tutorial - Pass Statement
- Python Tutorial - Function
- Python Tutorial - Function Arguments
- Python Tutorial - Recursive Function
- Python Tutorial - File Operation
- Python Tutorial - File Directory Operation
- Python Tutorial - Class
- Python Tutorial - Class Inheritance
- Python Tutorial - Exception Handling
Tkinter Tutorial
- Tkinter Tutorial - Introduction
- Tkinter Tutorial - Hello World
- Tkinter Tutorial - Label Widget
- Tkinter Tutorial - Button
- Tkinter Tutorial - Checkbutton
- Tkinter Tutorial - Radiobutton
- Tkinter Tutorial - Combobox
- Tkinter Tutorial - Entry
- Tkinter Tutorial - Layout Management
- Tkinter Tutorial - Menubar
- Tkinter Tutorial - Status Bar
- Tkinter Tutorial - Scale
- Tkinter Tutorial - Message Box
- Tkinter Tutorial - Scrollbar
C# Howtos
JavaScript Tutorial
- JavaScript Tutorial - Introduction
- JavaScript Tutorial - Hello World
- JavaScript Tutorial - Statements and Comments
- JavaScript Tutorial - Variables
- JavaScript Tutorial - Strings
Python Matplotlib Howto's
- Plot Horizontal and Vertical Line in Matplotlib
- Change the Figure Size in Matplotlib
- Rotate X-Axis Tick Label Text in Matplotlib
- Set Tick Labels Font Size in Matplotlib
- Place Legend Outside the Plot in Matplotlib
- Change Legend Font Size in Matplotlib
- Plot List of X,y Coordinates in Matplotlib
- Set Plot Background Color in Matplotlib
- Plot Two Histograms Together in Matplotlib
- Create Different Subplot Sizes in Matplotlib
- Draw Rectangle on Image in Matplotlib
- Hide Axis Text Ticks and/or Tick Labels in Matplotlib
- Create a Single Legend for All Subplots in Matplotlib
Python NumPy Tutorial
- NumPy Tutorial - Introduction and Installation
- NumPy Tutorial - NumPy Multidimensional Array-Ndarray
- NumPy Tutorial - NumPy Data Type and Conversion
- NumPy Tutorial - NumPy Array Creation
- NumPy Tutorial - NumPy Math Operation and Broadcasting
- NumPy Tutorial - NumPy Array Reshape and Resize
- NumPy Tutorial - NumPy Array Append
Batch Howtos
Matplotlib Tutorial
- Matplotlib Tutorial - Introduction and Installation
- Matplotlib Tutorial - Line Chart
- Matplotlib Tutorial - Axis Label
- Matplotlib Tutorial - Axes Title
- Matplotlib Tutorial - Pie Chart
- Matplotlib Tutorial - Place Text in the Plot
PyQt5 Tutorial
- PyQt5 Tutorial - Basic Window
- PyQt5 Tutorial - Label
- PyQt5 Tutorial - Push Button
- PyQt5 Tutorial - BoxLayout
- PyQt5 Tutorial - Grid Layout
- PyQt5 Tutorial - CheckBox
- PyQt5 Tutorial - MenuBar
- PyQt5 Tutorial - Radiobutton
Git Tutorial
- Git Tutorial - Installation
- Git Tutorial - Repository Initialization
- Git Tutorial - Git Workflow
- Git Tutorial - Diff to Compare Differences
- Git Tutorial - File Operation
- Git Tutorial - Unstage Files
- Git Tutorial - Branches
- Git Tutorial - Merge Branches
- Git Tutorial - Rebase
Python Tkinter Howtos
- Pass Arguments to Tkinter Button Command
- Set Tkinter Background Color
- Freeze the Tkinter Window Frame Size
- Close a Tkinter Window With a Button
- Use a Timer in Tkinter
- Switch Frames in Tkinter
- Create Dropdown Menu in Tkinter
- Set a Tkinter Window With a Constant Size
- Change Tkinter Button State
- Change the Tkinter Label Font Size
- Hide, Recover and Delete Tkinter Widgets
- Make Tkinter Text Widget Read Only
- Change the Tkinter Label Text
- Bind Multiple Commands to Tkinter Button
- Create a New Window by Clicking a Button in Tkinter
- Bind Enter Key to a Function in Tkinter
- Set Window Icon in Tkinter
- Create Full Screen Window in Tkinter
- Get the Input From Tkinter Text Box
- Delete Tkinter Text Box's Contents
- Set Font of Tkinter Text Widget
- Set Text of Tkinter Text Widget With a Button
- Set Text of Tkinter Entry Widget With a Button
- Get the Tkinter Label Text
- Set Border of Tkinter Label Widget
- Change the Tkinter Button Size
- Set the Default Text of Tkinter Entry Widget
- Set Height and Width of Tkinter Entry Widget
- Update the Tkinter Button Text
- Change Tkinter Button Color
Python How-To's
- Convert Bytes to Int in Python 2.7 and 3.x
- Convert Int to Bytes in Python 2 and Python 3
- Create and Activate a Python Virtual Environment
- Print Multiple Arguments in Python
- Read User Input as Integers in Python
- Install a Python Package .Whl File
- Get the Current Script File Directory in Python
- Check if a Key Exists in a Dictionary in Python
- Check a String Is Empty in a Pythonic Way
- Remove Whitespace From a String in Python
- Get the Current Time in Python
- Get All the Files of a Directory
- Convert String to Datetime in Python
- Append Text to a File in Python
- Check if a File Exists in Python
- Find Files With a Certain Extension Only in Python
- Sort a Python Dictionary by Value
- Convert String to Lowercase in Python 2 and 3
- Check Whether a String Contains Substring in Python
- What Is the Difference Between List Methods Append and Extend
- Convert a List to String in Python
- Merge Two Dictionaries in Python 2 and 3
- Check the Python Version in the Scripts
- Pretty Print a JSON File in Python
- Initiate 2-D Array in Python
- Check Whether a Value Exists in Python List in a Fast Way
- Create a List With a Specific Size in Python
- Convert Bytes to String in Python 2 and Python 3
- Convert String to Float or Int in Python
- Read One File Line by Line to a List in Python
- Join Two Sets in Python
- Convert String to Bytes in Python
- Check a String Contains a Number in Python
- Find Key by Value in Python Dictionary
- Count Unique Values in Python List
Python Module Tutorials
Python Pandas Howtos
- Delete Pandas DataFrame Column
- Convert Pandas Column to Datetime
- Convert DataFrame Column to String in Pandas
HTML Howtos
PHP Howtos
C Howtos
Python Pandas Functions
- Pandas DataFrame DataFrame.min() Function
- Pandas DataFrame DataFrame.max() Function
- Pandas DataFrame DataFrame.median() Function
- Pandas DataFrame DataFrame.to_excel() Function
- Pandas Series Series.nunique() Function
- Pandas DataFrame DataFrame.isin() Function
Python Numpy Functions
- Python Numpy.linalg.inv() - Inverse Matrix
- Python Numpy.sqrt() - Square Root
- Python Numpy.square() - Square
- Python Numpy.log() - Logarithm
- Python Numpy.mean() - Arithmetic Mean
Author: Jinku Hu
Founder of DelftStack.com. Jinku has worked in the robotics and automotive industries for over 8 years. He sharpened his coding skills when he needed to do the automatic testing, data collection from remote servers and report creation from the endurance test. He is from an electrical/electronics engineering background but has expanded his interest to embedded electronics, embedded programming and front-/back-end programming.
LinkedIn