python class def
class result:
def onep(self):
print(1+1)
def twop(self):
print(2+2)
a = result()
a.onep()
a.twop()
번호 | 분류 | 제목 | 날짜 | 조회 수 |
---|---|---|---|---|
1884 | 컴퓨터잡담 | Prototype.js를 제대로 사용하는 방법 | 2010.03.27 | 10299 |
1883 | Server | Proxy and hide ip address problem 1 1 | 2013.04.03 | 12001 |
1882 | 회로도전자부품 | Pspice 따라하기 | 2014.02.12 | 11936 |
1881 | AVR | Pulse and Siren Circuit | 2014.12.04 | 5473 |
1880 | Server | PuTTY Download Page(telnet,ftp,ssh) | 2016.12.06 | 5531 |
1879 | 회로도전자부품 | PWM이란? PWM 적용IC 및 구동방법 | 2013.09.10 | 52042 |
1878 | 파이썬 | python AttributeError: 'WebDriver' object has no attribute 'find_element_by_css_selector' 해결방법 | 2023.05.07 | 47857 |
» | 파이썬 | python class def | 2023.03.04 | 2373 |
1876 | 파이썬 | python html tag 제거 경로 금지 문자 제거 | 2021.10.26 | 3219 |
1875 | 컴퓨터잡담 | python pip 에러 line 193, line 197 해결방법 | 2021.08.12 | 4110 |
http://urin79.com
우린친구블로그