airspeed를 사용한 템플릿 설정 관리
https://github.com/purcell/airspeed 1234567891011121314import airespeed t = airspeed.Template("""Old people:#foreach ($person in $people) #if($person.age > 70) $person.name #end#endThird person is $people[2].name""")people = [{'name': 'Bill', 'age': 100}, {'name': 'Bob', 'age': 90}, {'name': 'Mark', 'age': 25}]print t.merge(locals()) Colored by Color Scriptercs 123456789 Old people: Bill Bob Thi..
프로그래밍
2016. 10. 19. 16:58
warpmemory
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
페이지
TAG
- client
- code
- example
- Ansible
- PowerShell
- mysql
- RESTful
- Web
- 코드
- 외부링크
- httpd
- monitoring
- check
- command
- Windows
- Python
- 명령어
- configuration
- 예제
- engineering
- limits
- 이슈처리
- error
- Module
- apache
- deview
- 번역
- MariaDB
- File
- Linux
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함