![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python 学习分享
Endeavour-id
互联网金融
展开
-
python实现扫描指定端口
#!/usr/bin/env python # encoding: utf-8 import socket,sys ip = '172.16.138.238' port = [23,80,8080,123,465,789,323,3306,3389,139,138] def portScan(ip,port): s = socket.socket() s.settimeout(1...原创 2019-07-05 13:59:33 · 632 阅读 · 0 评论 -
Python简单实现飞机大战
# -*- coding:utf-8 -*- import pygame from pygame.locals import * import time import random class Hero_Plane(object): def __init__(self,screen_temp): self.x = 140 self.y = 520 ...原创 2020-07-08 22:19:13 · 212 阅读 · 0 评论