• MIT人工智能实验室
  • 大数据分析平台
  • 游戏开发《骑马与砍杀》
  • 量化金融分析
  • python爬虫
  • python django web框架
MIT人工智能实验室 大数据分析平台 游戏开发《骑马与砍杀》 量化金融分析 python爬虫 python django web框架
  • python easygui & Tki

    auto 2019-08-31 09:40:20 python

    1716°

    20

    importeasygui easygui.msgbox("HELLOLMDTX!")#使用按钮得到输入 importeasygui a=easygui.buttonbox("whatisyouneed:",choices=['a','b','
  • python-PS图片

    auto 2019-08-31 09:40:20 python

    1684°

    20

    fromPILimportImageColor#pipinstallpillow#http://pillow-zh-cn.readthedocs.io/zh_CN/latest/installation.htmlImageColor.getcolor('red','RGB')(255,0,0)ImageColor.getcolor('red','RGBA')#A透明度,png图片(255,0,0,
  • python MySQLdb 常用操作

    auto 2019-08-31 09:40:20 python

    1570°

    20

    我采用的是MySQLdb操作的MYSQL数据库。先来一个简单的例子吧:importMySQLdb try: conn=MySQLdb.connect(host='localhost',user='root',passwd='root',db='test',port=3306) cur=con
  • python入门常识

    auto 2019-08-31 09:40:20 python

    1700°

    20

    python入门必备常识
  • Python脚本消费kafka数据

    auto 2019-08-30 09:29:51 python

    2323°

    20

    kafka简介(摘自百度百科) 一、简介: 详见:...1、生产者: from kafka...
  • python学习练习提高网址

    auto 2019-08-30 09:29:51 python

    2254°

    20

    1. 点击打开链接 job伯乐在线 讲解的很好2. 菜鸟教程 3. 廖雪峰4. 量化课堂
  • python使用urllib2通过htt

    auto 2019-08-30 09:29:51 python

    2066°

    20

    # -*- coding: utf-8 -*- import urllib2 # http发送报文 def httpsend(url, bw): req = ...
  • Python能用来做什么?这3大主要用途

    auto 2019-08-30 09:29:51 python

    1878°

    20

    导读:如果你想学Python,或者你刚开始学习Python,那么你可能会问:“我能用Python做什么?”这个问题不好...
  • Python struct模块-深入学习

    auto 2019-08-30 09:29:51 python

    2152°

    20

    Python struct模块 Python struct模块 用处struct模块中的函数格式化字符串 对齐方式格式符 code使用示例...
  • 测试python程序运行时间

    auto 2019-08-30 09:29:51 python

    2196°

    20

    import time import decimal # text decimal_sum print("decimal:") start =time.time() sum = decimal....
  • 如何对python的bytes类型数据s

    auto 2019-08-30 09:29:51 python

    2176°

    20

    对str类型数据进行split操作如下: >>> s = 'abc\ndef' >>> s.split('\n') ...
  • 【算法——Python实现】最大堆和最小

    auto 2019-08-30 09:29:51 python

    1979°

    20

    # _*_ encoding:utf-8 _*_ """ 最大堆 """ class MaxHeap(object): # def __init__(self): # self.data = ...
  • python websocket模拟客户

    auto 2019-08-30 09:29:51 python

    2105°

    20

    from websocket import create_connection ws = create_connection("ws://127.0.0.1:9002") ws.send(...
  • python 基础知识汇总(注释规范)

    auto 2019-08-30 09:29:51 python

    2139°

    20

    1.python的注释规范 python 分为 单行注释,多行注释以及特殊注释 ... 3、告诉LINUX/UNIX去找到python的翻译
  • python查看安装了哪些模块

    auto 2019-08-30 08:40:35 python

    1625°

    20

    可以用pip list 或者用help('modules')
  • 使用 python 实现 Voronoi

    auto 2019-08-30 08:40:35 python

    2300°

    20

    以下程序 使用python实现 Voronoi图from PIL import Image import random import math def generate_...
  • Python 数组的切片操作

    auto 2019-08-30 08:40:35 python

    1876°

    20

    针对数组的切片操作
  • 【python基础】——python 复

    auto 2019-08-30 08:40:35 python

    1629°

    20

    >>> b = 3 - 5j >>> a (2+4j) >>> b (3-5j) >>> 对应的实部、虚部和共轭复数可以很容易的获取。就像下...
  • Python 下载图片的三种方法

    auto 2019-08-30 08:40:35 python

    2089°

    20

    import os os.makedirs('./image/', exist_ok=True) IMAGE_URL = ...urllib_download(): from urllib.request...
  • Python串口编程(转载)

    auto 2019-08-30 08:40:35 python

    1875°

    20

    短接串口的2、3脚,创建一个文本,如: [python] view plaincopyprint? import serial