반응형
Function Description
dir([obj]) Display attributes of object or the names of global variables if no parameter given
help([obj]) Display object's documentation string in a pretty-printed format or enters interactive help if no parameter given
int(obj) Convert object to an integer
len(obj) Return length of object
open(fn, mode) Open file fn with mode ('r' = read, 'w' = write)
range([[start, ]stop[,step]) Return a list of integers that begin at start up to but not including stop
in increments of step; start defaults to 0, and step defaults to 1
raw_input(str) Wait for text input from the user, optional prompt string can be provided
str(obj) Convert object to a string
type(obj) Return type of object (a type object itself!)
dir([obj]) Display attributes of object or the names of global variables if no parameter given
help([obj]) Display object's documentation string in a pretty-printed format or enters interactive help if no parameter given
int(obj) Convert object to an integer
len(obj) Return length of object
open(fn, mode) Open file fn with mode ('r' = read, 'w' = write)
range([[start, ]stop[,step]) Return a list of integers that begin at start up to but not including stop
in increments of step; start defaults to 0, and step defaults to 1
raw_input(str) Wait for text input from the user, optional prompt string can be provided
str(obj) Convert object to a string
type(obj) Return type of object (a type object itself!)
반응형
'IT > 인터넷 마케팅' 카테고리의 다른 글
python 엑셀 자동화 [업무자동화] (13) | 2021.02.24 |
---|---|
defold 한글 메뉴얼 (4) | 2020.12.17 |
python 마우스 실시간 위치 좌표로 표시 (6) | 2019.12.16 |
python 특정 디렉토리 파일 이동 프로그램 (7) | 2012.01.10 |
log 파일 생성 raw input (6) | 2010.12.07 |