Skip to content
Chunyang Wen
Writing About

Interesting dunder method in Python

Posted
By Chunyang Wen
1 min read
blog, python
python
This post is licensed under CC BY 4.0 by the author.
Share

Further Reading

Jul 18, 2020

Enum in Cpp and Python

Enum is very commonly used both in cpp and python. In this blog, we will introduce enumeration in cpp and python. Cpp Unscoped enumeration Scoped enumeration Python ...

Dec 24, 2017

A guide to Python's Magic Methods

翻译自:A guide to Python’s Magic Methods 引言 构造和初始化 自定义类中工作的算子 引言 这篇指导是几个月博客的累积成果,主题是:魔法方法(magic methods)。 什么是魔法方法?他们是 Python 面向对象编程的全部,是你为给类增加魔力而添加的特殊方法。魔法方法前后总 是包围着两个下划线(例如,__init__, __...

Oct 28, 2019

Python File related IO

Introduction open io module io.StringIO/io.BytesIO io.open An interesting example Summary Reference Introduction Most of the time, we will interact with files o...

-

-

Home Writing About RSS
© 2026 Chunyang Wen

Trending Tags

python cpp dailycodingproblem leetcode google reading tools tensorflow facebook shell

New content available