摘要: ```python # -*-coding:utf8-*- """ 基于字符串数字混合排序的Python脚本 """ def is_number(s): try: float(s) return True except ValueError: pass try: import unicodedata ... 阅读全文
posted @ 2017-12-05 12:18 一条图图犬 阅读(3658) 评论(0) 推荐(0) 编辑
摘要: ```python #!/usr/bin/python # -*- coding:utf-8 -*- import time if __name__ == '__main__': print(time.strftime('%Y-%m-%d %H:%M:%S')) ``` 阅读全文
posted @ 2017-12-05 11:44 一条图图犬 阅读(533) 评论(0) 推荐(0) 编辑