Files
org/test.py
2026-01-28 21:24:22 +09:00

6 lines
282 B
Python

# 테스트용 스크립트
d='[이름]:박현우 [직급]:3직급 [직위]: [소속]:저탄장옥내화부 상태: 재직, 사내번호:1589'
print(f'{d[d.find('[이름]'): d.find('[', d.find('[이름]')+1)]}')
print(f'{d[d.find('[부서]'): d.find('[', d.find('[부서]')+1)]}')