• MIT人工智能实验室
  • 大数据分析平台
  • 游戏开发《骑马与砍杀》
  • 量化金融分析
  • python爬虫
  • python django web框架
MIT人工智能实验室 大数据分析平台 游戏开发《骑马与砍杀》 量化金融分析 python爬虫 python django web框架
  • 基于python的简单HTTP服务器实现

    auto 2019-08-11 11:27:12 python

    1821°

    20

    这段时间,学习了一些相关的知识,因为对C++的多线程和网络编程不是很熟悉,先用python实现了...
  • 用Python编写WEB服务器压力测试工

    auto 2019-08-11 11:27:12 python

    1805°

    20

    前言最近在编写一个简单的...想想这种压力测试实际上没啥技术含量,就自己用Python来编写了小段测试代码。使
  • Python 中文转Unicode字符串

    auto 2019-08-11 11:27:12 python

    2410°

    20

    Python 3.6代码:# -*- coding: utf-8 -* def to_unicode(string): ret = '' for v in string: ret = ret ...
  • python3 闭包

    auto 2019-08-11 11:27:12 python

    1731°

    20

    闭包1. 函数引用def test1(): print("--- in test1 func----") #调用函数 test1() #引用函数 ret = ...
  • python中assert的使用

    auto 2019-08-11 11:26:28 python

    1877°

    20

    在python程序中,如果想要确保程序中的某个条件一定为真才会继续执行的话,而可以使用assert来实现。 例如:>>> age = 10 >>> assert 0>> assert age>20 Traceback (most recent call last):
  • Python-工具安装

    auto 2019-08-11 11:26:28 python

    1789°

    20

    Python 常用工具的安装
  • python读文件

    auto 2019-08-11 11:26:28 python

    1801°

    20

    文件 1 内容如下 #some words Sometimes in life, You find a special friend; Someone who changes your life just by being part of it. Someone who makes you laugh until you can't stop; Someone who m
  • Python 数值计算

    auto 2019-08-11 11:26:28 python

    1882°

    20

    print "Welcome to run" print "Please input num" print "1 stand for 矩形" print "2 stand for 圆" print "3 stand for 正方形" s=int(input("Please inp
  • python线程、协程

    auto 2019-08-11 11:26:28 python

    1596°

    20

    线程Threading用于提供线程相关的操作,线程是应用程序中工作的最小单元。更多方法:start 线程准备就绪,等待CPU调度setName 为线程设置名称getName 获取线程名称setDaemon 设置为后台线程或前
  • Python - 定制语法的string

    auto 2019-08-11 11:26:24 python

    1627°

    20

    定制语法的string模板(template) 详解本文地址: ...使用"$"符号, 或 在字符串内, 使用"${}
  • python-sendkeys 模拟键

    auto 2019-08-11 11:26:24 python

    2204°

    20

  • Python3.6 异常处理和asser

    auto 2019-08-11 11:26:24 python

    1824°

    20

    # ----------------------- # __Author : tyran # __Date : 17-11-13 # ----------------------- # 异常...
  • python request 发送pos

    auto 2019-08-11 11:26:24 python

    1759°

    20

    /usr/bin/env python # -*- coding: utf-8 -*- import urllib2 import urllib import cookielib import ...
  • Python abs()函数

    auto 2019-08-11 11:26:24 python

    1829°

    20

    用法描述abs()函数返回给定参数的绝对值。参数可以是实数(整数、...1 >>> abs(13.2) 13.2 >>> abs(4+3j) 5.0
  • Python使用管道(pipe)协同标准

    auto 2019-08-11 11:26:24 python

    1855°

    20

    Python使用管道(pipe)使程序通信 今天在看Python的知识时,发现了Windows下使用“|”,即管道,由于基本上...
  • python 解析 eml文件

    auto 2019-08-11 11:26:24 python

    4581°

    20

    #-*- encoding: gb2312 -*- import email fp = open('xxxx.eml', "r") msg = email.message_from_file(fp)...
  • python 指定浏览器打开网页 / 文

    auto 2019-08-11 11:26:24 python

    2217°

    20

    1. startfile方法(打开指定浏览器)...Files\internet explorer\iexplore.exe"')3.通过指定浏览器打开...
  • Python标准库--留给自己作查询

    auto 2019-08-11 11:24:10 python

    1688°

    20

    虽然“Python语言参考”描述了Python语言的确切语法和语义,但该库参考手册描述了使用Python分发的标准库。...
  • mac 查看python路径

    auto 2019-08-11 11:24:10 python

    2004°

    20

    1,terminal : input: which python 2, terminal: input : python --->import sys ----> print sys....
  • Python 打印中文字符的三种方法

    auto 2019-08-11 11:24:10 python

    2190°

    20

    方法一: 现在用 notepad++,在 UTF-8 格式下... 1 2 3 4 5 6 7 8 9 10 11 import os.path import xlrd,sys