自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (2)
  • 问答 (1)
  • 收藏
  • 关注

原创 统计班级的学生总数、学生最大的年龄以及姓名。

fileinfo = open('/home/wei/fty/test/im/fileFunction/studentInfo.log', 'r+',encoding = 'utf-8')class maxinfo: maxAge = 0 maxName = ''count = 0for lineInfo in fileinfo: StudentInfo = lin...

2018-09-16 11:12:44 1711

原创 服务器端

#ser.py#!/usr/bin/python3# -*- coding: utf-8 -*-import socketimport _threadimport jsonimport MySQLdb# encoding: utf-8db = MySQLdb.connect(host='127.0.0.1',user='root', passwd='a15737321920',...

2018-09-16 10:46:03 141

原创 客户端

#clnt.pyimport socketimport jsonimport MySQLdbimport datetime,time# encoding: utf-8#打开数据库db = MySQLdb.connect(host='127.0.0.1',user='root', passwd='a15737321920',db ='userInfor')# 使用cursor()...

2018-09-16 10:44:27 112

原创 拷贝压缩包里的文件到指定的目录们

using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;using System.Threading.Tasks;using System.IO.Compression; //for zipfile//ref 和 out 的区别/**...

2018-08-30 15:25:08 1209

原创 行数和单词数统计

using System;using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;namespace HowManyRaws{ class Program { static void Main(string[] ...

2018-08-29 23:30:34 183

原创 求和最大的数字子串

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1{ /* * * Problem 3: * Complete...

2018-08-29 22:54:41 210

原创 查找最长数字子串

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;/* * Problem 1: * You are given a string, and the task is to implement a functi...

2018-08-29 22:52:58 200

原创 词频统计

using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1{ /* * * Problem 2: ...

2018-08-29 22:49:44 165

图书馆管理系统

东方故事使得

2017-07-08

学生管理系统

都是高帅富的

2017-07-08

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除