kioku-space

As a personal memory space.

Python Quick Guide - Step 1 Basic Syntax and Data Types (7) - Lists (3)

Info
  • This course is designed to help you learn the basics of Python programming as quickly as possible through hands-on practice.
  • The “Style Guide” sections primarily cover guidelines from PEP8 for writing clean Python code.
  • You can run and see the results of each code example.
    Feel free to experiment with the code - reloading the page will reset the content.

This is a continuation of “Step 1: Basic Syntax and Data Types”.

Python Quick Guide - Step 1 Basic Syntax and Data Types (6) - Lists (2)

Info
  • This course is designed to help you learn the basics of Python programming as quickly as possible through hands-on practice.
  • The “Style Guide” sections primarily cover guidelines from PEP8 for writing clean Python code.
  • You can run and see the results of each code example.
    Feel free to experiment with the code - reloading the page will reset the content.

This is a continuation of “Step 1: Basic Syntax and Data Types”.

Python Quick Guide - Step 1 Basic Syntax and Data Types (5) - Lists (1)

Info
  • This course is designed to help you learn the basics of Python programming as quickly as possible through hands-on practice.
  • The “Style Guide” sections primarily cover guidelines from PEP8 for writing clean Python code.
  • You can run and see the results of each code example.
    Feel free to experiment with the code - reloading the page will reset the content.

This is a continuation of “Step 1: Basic Syntax and Data Types”.

I Created EasyBench: A Simple Python Benchmarking Tool

I’ve created EasyBench, a benchmarking tool that makes it easy to measure execution time of Python functions.

Python already has a standard library called timeit.
However, when actually using it, I encountered the following issues:

  1. Code needs to be input as strings
  2. While there is a setup functionality, it only executes once before the overall process begins,
    and there’s no feature to perform setup immediately before each trial without including it in the measurement time

I was recently writing an introductory Python article and wanted to explain computational complexity by measuring actual execution times to give readers a tangible experience.
However, due to the constraints above, I couldn’t measure as precisely as I wanted,
which led me to develop EasyBench as a more flexible tool.

Python Quick Guide - Step 1 Basic Syntax and Data Types (4) - Variables and Assignment

Info
  • This course is designed to help you learn the basics of Python programming as quickly as possible through hands-on practice.
  • The “Style Guide” sections primarily cover guidelines from PEP8 for writing clean Python code.
  • You can run and see the results of each code example.
    Feel free to experiment with the code - reloading the page will reset the content.

This is a continuation of “Step 1: Basic Syntax and Data Types”.

Python Quick Guide - Step 1: Basic Syntax and Data Types (3) - str, bool, None

Info
  • This course is designed to help you learn the basics of Python programming as quickly as possible through hands-on practice.
  • The “Style Guide” sections primarily cover guidelines from PEP8 for writing clean Python code.
  • You can run and see the results of each code example.
    Feel free to experiment with the code - reloading the page will reset the content.

This is a continuation of “Step 1: Basic Syntax and Data Types”.