파이썬 예외
예외처리(try ~ except) def f(a, b): try: ifa andb: return(a * b) + (a / b) elifa: return '불능' else: return '부정' exceptErrorName: return '똑 바로 살아라' 예외발생시키기 raise문에오류/예외의이름을넘길수있다. class ShortInputException(Exception): length = 0 atleast = 0 '''A user-defined exception class.''' def __init__(self, length, atleast): Exception.__init__(self) self.length = length self.atleast = atleast def exam(): try: te..
카테고리 없음
2018. 8. 24. 10:02
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- python3
- 파이썬3
- JavaScript
- 페이스북 로그인
- react
- data gird component
- JSON
- data table component
- Spring
- data grid component
- angular router
- Spring Boot
- https://www.tistory.com/auth/logout/
- mobx
- Java
- Router
- Python
- JPA
- React-router
- data component module
- CSS
- jQuery
- MySQL
- Angular
- localStorage
- facebook login
- Redux
- 파이썬
- data component
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함