Jinku Hu

Python 3 Basic Tutorial

  1. Python Tutorial - Introduction
  2. Python Tutorial - Installation
  3. Python Tutorial - Hello World
  4. Python Tutorial - Keywords and Identifiers
  5. Python Tutorial - Statement and Comment
  6. Python Tutorial - Variables and Data Types
  7. Python Tutorial - Operators
  8. Python Tutorial - Namescape and Scope
  9. Python Tutorial - Numbers and Conversion
  10. Python Tutorial - Data Type-List
  11. Python Tutorial - Data Type-Tuple
  12. Python Tutorial - Data Type-String
  13. Python Tutorial - Data Type-Array
  14. Python Tutorial - Data Type-Set
  15. Python Tutorial - Data Type Dictionary
  16. Python Tutorial - Decision Control
  17. Python Tutorial - For Loop
  18. Python Tutorial - While Loop
  19. Python Tutorial - Loop Continue and Break
  20. Python Tutorial - Pass Statement
  21. Python Tutorial - Function
  22. Python Tutorial - Function Arguments
  23. Python Tutorial - Recursive Function
  24. Python Tutorial - File Operation
  25. Python Tutorial - File Directory Operation
  26. Python Tutorial - Class
  27. Python Tutorial - Class Inheritance
  28. Python Tutorial - Exception Handling

Tkinter Tutorial

  1. Tkinter Tutorial - Introduction
  2. Tkinter Tutorial - Hello World
  3. Tkinter Tutorial - Label Widget
  4. Tkinter Tutorial - Button
  5. Tkinter Tutorial - Checkbutton
  6. Tkinter Tutorial - Radiobutton
  7. Tkinter Tutorial - Combobox
  8. Tkinter Tutorial - Entry
  9. Tkinter Tutorial - Layout Management
  10. Tkinter Tutorial - Menubar
  11. Tkinter Tutorial - Status Bar
  12. Tkinter Tutorial - Scale
  13. Tkinter Tutorial - Message Box
  14. Tkinter Tutorial - Scrollbar

C# Howtos

  1. C# Convert Int to String

JavaScript Tutorial

  1. JavaScript Tutorial - Introduction
  2. JavaScript Tutorial - Hello World
  3. JavaScript Tutorial - Statements and Comments
  4. JavaScript Tutorial - Variables
  5. JavaScript Tutorial - Strings

Python Matplotlib Howto's

  1. Plot Horizontal and Vertical Line in Matplotlib
  2. Change the Figure Size in Matplotlib
  3. Rotate X-Axis Tick Label Text in Matplotlib
  4. Set Tick Labels Font Size in Matplotlib
  5. Place Legend Outside the Plot in Matplotlib
  6. Change Legend Font Size in Matplotlib
  7. Plot List of X,y Coordinates in Matplotlib
  8. Set Plot Background Color in Matplotlib
  9. Plot Two Histograms Together in Matplotlib
  10. Create Different Subplot Sizes in Matplotlib
  11. Draw Rectangle on Image in Matplotlib
  12. Hide Axis Text Ticks and/or Tick Labels in Matplotlib
  13. Create a Single Legend for All Subplots in Matplotlib

Python NumPy Tutorial

  1. NumPy Tutorial - Introduction and Installation
  2. NumPy Tutorial - NumPy Multidimensional Array-Ndarray
  3. NumPy Tutorial - NumPy Data Type and Conversion
  4. NumPy Tutorial - NumPy Array Creation
  5. NumPy Tutorial - NumPy Math Operation and Broadcasting
  6. NumPy Tutorial - NumPy Array Reshape and Resize
  7. NumPy Tutorial - NumPy Array Append

Batch Howtos

  1. Shutdown Restart and or Log Off in a Bat File
  2. Sleep or Wait X Seconds in a Bat File

Matplotlib Tutorial

  1. Matplotlib Tutorial - Introduction and Installation
  2. Matplotlib Tutorial - Line Chart
  3. Matplotlib Tutorial - Axis Label
  4. Matplotlib Tutorial - Axes Title
  5. Matplotlib Tutorial - Pie Chart
  6. Matplotlib Tutorial - Place Text in the Plot

PyQt5 Tutorial

  1. PyQt5 Tutorial - Basic Window
  2. PyQt5 Tutorial - Label
  3. PyQt5 Tutorial - Push Button
  4. PyQt5 Tutorial - BoxLayout
  5. PyQt5 Tutorial - Grid Layout
  6. PyQt5 Tutorial - CheckBox
  7. PyQt5 Tutorial - MenuBar
  8. PyQt5 Tutorial - Radiobutton

Git Tutorial

  1. Git Tutorial - Installation
  2. Git Tutorial - Repository Initialization
  3. Git Tutorial - Git Workflow
  4. Git Tutorial - Diff to Compare Differences
  5. Git Tutorial - File Operation
  6. Git Tutorial - Unstage Files
  7. Git Tutorial - Branches
  8. Git Tutorial - Merge Branches
  9. Git Tutorial - Rebase

Python Tkinter Howtos

  1. Pass Arguments to Tkinter Button Command
  2. Set Tkinter Background Color
  3. Freeze the Tkinter Window Frame Size
  4. Close a Tkinter Window With a Button
  5. Use a Timer in Tkinter
  6. Switch Frames in Tkinter
  7. Create Dropdown Menu in Tkinter
  8. Set a Tkinter Window With a Constant Size
  9. Change Tkinter Button State
  10. Change the Tkinter Label Font Size
  11. Hide, Recover and Delete Tkinter Widgets
  12. Make Tkinter Text Widget Read Only
  13. Change the Tkinter Label Text
  14. Bind Multiple Commands to Tkinter Button
  15. Create a New Window by Clicking a Button in Tkinter
  16. Bind Enter Key to a Function in Tkinter
  17. Set Window Icon in Tkinter
  18. Create Full Screen Window in Tkinter
  19. Get the Input From Tkinter Text Box
  20. Delete Tkinter Text Box's Contents
  21. Set Font of Tkinter Text Widget
  22. Set Text of Tkinter Text Widget With a Button
  23. Set Text of Tkinter Entry Widget With a Button
  24. Get the Tkinter Label Text
  25. Set Border of Tkinter Label Widget
  26. Change the Tkinter Button Size
  27. Set the Default Text of Tkinter Entry Widget
  28. Set Height and Width of Tkinter Entry Widget
  29. Update the Tkinter Button Text
  30. Change Tkinter Button Color

Python How-To's

  1. Convert Bytes to Int in Python 2.7 and 3.x
  2. Convert Int to Bytes in Python 2 and Python 3
  3. Create and Activate a Python Virtual Environment
  4. Print Multiple Arguments in Python
  5. Read User Input as Integers in Python
  6. Install a Python Package .Whl File
  7. Get the Current Script File Directory in Python
  8. Check if a Key Exists in a Dictionary in Python
  9. Check a String Is Empty in a Pythonic Way
  10. Remove Whitespace From a String in Python
  11. Get the Current Time in Python
  12. Get All the Files of a Directory
  13. Convert String to Datetime in Python
  14. Append Text to a File in Python
  15. Check if a File Exists in Python
  16. Find Files With a Certain Extension Only in Python
  17. Sort a Python Dictionary by Value
  18. Convert String to Lowercase in Python 2 and 3
  19. Check Whether a String Contains Substring in Python
  20. What Is the Difference Between List Methods Append and Extend
  21. Convert a List to String in Python
  22. Merge Two Dictionaries in Python 2 and 3
  23. Check the Python Version in the Scripts
  24. Pretty Print a JSON File in Python
  25. Initiate 2-D Array in Python
  26. Check Whether a Value Exists in Python List in a Fast Way
  27. Create a List With a Specific Size in Python
  28. Convert Bytes to String in Python 2 and Python 3
  29. Convert String to Float or Int in Python
  30. Read One File Line by Line to a List in Python
  31. Join Two Sets in Python
  32. Convert String to Bytes in Python
  33. Check a String Contains a Number in Python
  34. Find Key by Value in Python Dictionary
  35. Count Unique Values in Python List

Python Module Tutorials

  1. Python Regular Expression Tutorial

Python Pandas Howtos

  1. Delete Pandas DataFrame Column
  2. Convert Pandas Column to Datetime
  3. Convert DataFrame Column to String in Pandas

HTML Howtos

  1. Center a Video in HTML

PHP Howtos

  1. Achieve Multithreading in PHP

C Howtos

  1. Convert a String to Integer in C

Python Pandas Functions

  1. Pandas DataFrame DataFrame.min() Function
  2. Pandas DataFrame DataFrame.max() Function
  3. Pandas DataFrame DataFrame.median() Function
  4. Pandas DataFrame DataFrame.to_excel() Function
  5. Pandas Series Series.nunique() Function
  6. Pandas DataFrame DataFrame.isin() Function

Python Numpy Functions

  1. Python Numpy.linalg.inv() - Inverse Matrix
  2. Python Numpy.sqrt() - Square Root
  3. Python Numpy.square() - Square
  4. Python Numpy.log() - Logarithm
  5. Python Numpy.mean() - Arithmetic Mean
Author: Jinku Hu
Jinku Hu avatar Jinku Hu avatar

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