This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import re, math | |
| def MJD2UTCISO(MJD): | |
| """ | |
| 转换MJD时间到ISO格式UTC时间(GMT时区) | |
| :参数 MJD: float或string 格式的MJD时间 | |
| :return:string ISO格式UTC时间(GMT时区) | |
| """ | |
| # MJD = 58120.20833333349 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Python Cheatsheet | |
| ================= | |
| ################################ Input & Output ############################### | |
| name = input('please enter your name: ') | |
| print('hello,', name) | |
| ageStr = input('please enter your age: ') | |
| age = int(ageStr) |