'DIGITory > Codes' 카테고리의 다른 글
Test Random apk (3) | 2016.04.13 |
---|---|
코드 수행 시간 for C/C++ (0) | 2014.07.25 |
Test Random apk (3) | 2016.04.13 |
---|---|
코드 수행 시간 for C/C++ (0) | 2014.07.25 |
#!/usr/bin/python
# -*- coding: 949 -*-
위와 같이 949 혹은 cp949 ms949... 등과 같이 선언하면 됨.
그러나!
ubuntu에서는 'SyntaxError: 'cp949' codec can't decode bytes in position 20-21: illegal multibyte sequence' 와 같은 에러가 발생 함.
ubuntu의 한글코드 기본값이 utf-8이므로,
파이썬 코드를 편집할 때 첫째줄에
# -*- coding:utf-8 -*-
을 추가하시면 됩니다. (출처 : "https://kldp.org/node/81708")
when I tried to install ubuntu 12.04, I got this error.
"/usr/lib/ubiquity/plugins/ubi-timezone.py" follows the message "ubiquity crashed with ValueError in raw_decode(): No JSON object could be decoded"
this is the discussion of ubuntu forum : "http://ubuntuforums.org/archive/index.php/t-1965802.html"
and I fixed this that unplugged network cable.
To create an executable file on desktop (0) | 2018.02.13 |
---|---|
GPG error : The following signatures couldn't be verified because the public key is not available: NO_PUBKEY (0) | 2015.04.15 |
synergy 사용 시 chrome에서 cursor 모양이 update 되지 않는 현상 (0) | 2014.12.02 |
Ubuntu - Add Excutable Icon to Dock (0) | 2014.11.17 |
Linux 에서 alz , egg 파일 압축 및 압축해제하기 (0) | 2014.10.30 |