- 博客(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
1773
原创 服务器端
#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
156
原创 客户端
#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
125
原创 拷贝压缩包里的文件到指定的目录们
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
1247
原创 行数和单词数统计
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
198
原创 求和最大的数字子串
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
230
原创 查找最长数字子串
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
223
原创 词频统计
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
183
JAVA求救。。。。。。。。。。。。。。。。。。。
2017-07-30
TA创建的收藏夹 TA关注的收藏夹
TA关注的人