Coder Social home page Coder Social logo

wolfhong / magicmethods Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rafekettler/magicmethods

1.0 2.0 0.0 1.33 MB

Guide to Python's magic methods

Home Page: http://www.rafekettler.com/magicmethods.html

Makefile 0.27% Python 10.82% HTML 47.77% TeX 36.59% CSS 4.55%

magicmethods's Introduction

Before All

原项目是我看过的介绍Python Magic Method 最好的文章. 我很希望有更多的人来学习python, 了解python.

我将该文章翻译成了中文,放在了我的博客上

此外, 对于我在阅读英语原文过程中感到生涩难懂的部分, 或者作者没有提及的部分,我写了一些例子来说明解释.

由于有自己对于学习的考量,翻译过程中,我将一些章节的顺序进行了修改,将常见的魔术方法放在前面介绍.

希望对你的python学习会有帮助^^

A guide to Python's magic methods

Written by Rafe Kettler in the year 2011.

Licensed under Creative Commons CC--NC-BY-SA (see http://creativecommons.org/licenses/by-nc-sa/3.0/). Basically, noncommercial, requires attribution, must be reproduced with a similar license. 'Nuff said.

Can be seen at http://www.rafekettler.com/magicmethods.html in relatively up to date form.

For forkers:

Edit magicmethods.markdown/magicmethods.tex, then run make docs. The build script requires the Python Markdown module, so you'll have to run pip install markdown if you don't already have it. Happy hacking!

magicmethods's People

Contributors

ashwch avatar charley-peng avatar der-gabe avatar koorgoo avatar petrushev avatar qur2 avatar rafekettler avatar redtoad avatar samebchase avatar seliopou avatar tiago avatar valscion avatar wolfhong avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.