일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- null
- C++
- Eclipse
- 쉘
- with
- ngui
- Shader
- if
- sql
- pi
- sqlite
- pandas
- conda
- expect
- dataframe
- DROP
- postgresql
- SVN
- awk
- autovacuum
- Unity
- boost
- List
- c++11
- SSH
- FIND
- 배열
- mysql
- ubuntu
- python
Archives
- Today
- Total
목록프로그래밍/Python (64)
その先にあるもの…
[PYTHON] C++ 에서 Python 불러오기
참고 자료http://www.clien.net/cs2/bbs/board.php?bo_table=lecture&wr_id=212575https://docs.python.org/3/extending/embedding.html#pure-embeddinghttp://www.codeproject.com/Articles/820116/Embedding-Python-program-in-a-C-Cplusplus-code
프로그래밍/Python
2016. 5. 10. 20:20
[PYTHON] itertools.combinations
N개의 개수 중에서 I 개수 만큼 꺼낼 수 있는 가능한 경우의 수를 구하는 방법 예를 들어 숫자 1에서 45까지의 숫자중 임의의 숫자 6개의 합이 90인 경우의 수를 구할려고 할 때 파이썬의 itertools.combinations 함수가 45까지의 숫자중 6개의 경우의 수를 구해준다. https://docs.python.org/2/library/itertools.html#itertools.combinations
프로그래밍/Python
2015. 7. 30. 14:32
[PYTHON] 리스트 슬라이스
https://wikidocs.net/14 a = "12345"print(a[0:2]) #'12' a = [1, 2, 3, 4, 5]b = a[:2]c = a[2:]print(b)#[1, 2]print(c)#[3, 4, 5] a = [1, 2, 3, ['a', 'b', 'c'], 4, 5]print(a[2:5])#[3, ['a', 'b', 'c'], 4]print(a[3][:2])#['a', 'b']
프로그래밍/Python
2014. 12. 3. 16:58
[PYTHON] list 크기 구하기
s = [1,3,4,8,13,17,20] size = len(s)
프로그래밍/Python
2014. 12. 3. 16:47