Last active
December 17, 2015 00:09
-
-
Save yong27/5519148 to your computer and use it in GitHub Desktop.
Idioms for Hangul Python programming. It's for Python 3.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unittest | |
class 유형: | |
def __init__(자기, *인수, **키워드인수): | |
자기.생성될때(*인수, **키워드인수) | |
class 시험사례(unittest.TestCase): | |
같아야함 = unittest.TestCase.assertEquals | |
class 배열(list): | |
추가 = list.append | |
class 사전(dict): | |
가져오기 = dict.get | |
class 문자(str): | |
연결 = str.join | |
뒤집기 = reversed | |
빈문자로연결 = 문자().연결 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Refer to 파이썬3과 함께 한글로 프로그래밍하기