in Python

[Python] API

– 패턴 사용하기

pattern = ‘([0-9,]+)’

match = re.search(pattern, obj[‘des’])

result = match.group(1)

– 예외처리하기

try:

except Exception, err:

Write a Comment

Comment