숫자, 영어를 따라치기 귀찮을때 사진찍고 ocr 사이트로..
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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | ➜ ~ python Python 2.7.13 (default, Dec 18 2016, 07:03:39) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> a = ['3.36', '1.98', '3.80', '2.35', '5.94', '2.96', '5.30', '3.95', '3.33', '3.43', '9.26', '4.24', '3.33', '2.52', '2.90', '2.70', '4.41', '2.00', '3.67', '2.30', '4.50', '4.14', '9.85', '3.73', '1.50', '1.93', '1.93', '1.78', '3.63', '2.65', '4.14', '2.02', '4.42', '2.53', '9.00', '3.88', '2.10', '2.22', '7.27', '4.11'] >>> for t in a.replace('\n',' ').replace(' ',' ').split(' '): ... print t ... 3.36 1.98 3.80 2.35 5.94 2.96 5.30 3.95 3.33 3.43 9.26 4.24 3.33 2.52 2.90 2.70 4.41 2.00 3.67 2.30 4.50 4.14 9.85 3.73 1.50 1.93 1.93 1.78 3.63 2.65 4.14 2.02 4.42 2.53 9.00 3.88 2.10 2.22 7.27 4.11 | cs |
'기타' 카테고리의 다른 글
WDK10 offline installer (0) | 2019.05.31 |
---|---|
IDA struct gdb에 적용하기(gdb add struct) (1) | 2019.05.06 |
gcc mips => asm (0) | 2018.09.18 |
라즈베리파이 IP 확인하기 (1) | 2017.05.29 |
리눅스에서 C언어 컴파일 (0) | 2017.05.05 |