일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 선택적조인
- WebLogic
- Google Map
- 전자정부프레임워크
- dock
- sencha touch
- swingx
- rowspan
- oracle
- tomcat
- JSON
- Ajax
- jsr 296
- ibsheet
- GPS
- 가우스
- jQuery
- Android
- MFC
- PHP
- JDOM
- Eclipse
- MySQL
- iBATIS
- phonegap
- appspresso
- Spring
- PLSQL
- Struts
- node.js
Archives
- Today
- Total
목록Python (1)
Where The Streets Have No Name
GPS 데이터 가져오기
출처 : http://leewoosung.egloos.com/986759 # -*- coding: EUC-KR -*- import serial #시리얼 포트를 열기위해서 : serial.Serial(..) import time #시간을 알아내기 위해서 : time.ctime(time.time()) #현재 시리얼 포트를 엽니다. s_com4 = serial.Serial(port = 3, baudrate = 4800, timeout = 1) #데이터를 저장할 파일입니다. dst_file = "c:\\gps_message.txt" try: #파일에 추가로 열기를 시도해봅니다. save_file = open(dst_file, 'a') except: #기존에 파일이 없었다면 쓰기로 엽니다. (새로 하나 만듭니다...
Developement/GIS
2008. 4. 30. 01:12