
Python is an interpreter language developed by Amsterdam's Guido van Rossum in 1990. It is said that Guido got the name from his favorite comedy show,

As in my previous scrip, there are several ways to use Python.ex.1) basic Python2) Python Anconda3) Jupyter Notebook4) Google Colab(same as Jupyter, a

A previous post explained what Python is and how to install it.In this post, let's find out what we can do with Python and find out the direction of l

Basic grammar

if , while, for statement

When programming, often find writing the same thing over and over again. This is when a function is needed. In other words, if there is a repetitive p

Object (Instance): A specific entity that is created following a blueprint (class). It holds data (variables) and functions (methods) to manipulate th

클래스를 정의하는 간단한 예제class Person:Person이라는 이름의 클래스를 정의하는 구문보통 클래스 이름은 대문자로 시작하는 ‘카멜 케이스(CamelCase)’로 작성하는 것이 관례 (예: Person, MyClass, StudentInfo 등)pass파이썬
2.5 Module 모듈은 파이썬 코드가 들어 있는 \*.py 파일 하나를 가리킴 예를 들어, my_module.py라는 파일에 작성된 변수, 함수, 클래스 등이 곧 모듈의 구성 요소가 됨. 2.5.1 Why use Module? 코드 재사용: 모듈에 정의된 함
예외는 프로그램 실행 도중 예상치 못한 상황에서 발생하는 오류를 뜻한다.예를 들어, 0으로 나누려고 하거나, 존재하지 않는 파일을 열려고 시도하는 경우가 해당된다.프로그램 중단 방지: 예외가 발생했을 때, 곧바로 프로그램이 종료되지 않고 적절히 처리하여 계속 실행할 수
graycolormatplotlibconvolutioncanny_edge.py