摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication2{ class Pr 阅读全文
posted @ 2017-02-16 15:44 一直为你守候 阅读(441) 评论(0) 推荐(0) 编辑
摘要: string str = "|||"; Console.WriteLine(str.Substring(0, str.Length - 1)); Console.WriteLine(str.Remove(str.LastIndexOf("|"), 1)); Console.WriteLine(str 阅读全文
posted @ 2017-02-15 16:00 一直为你守候 阅读(242) 评论(2) 推荐(0) 编辑
摘要: 从零开始的Python爬虫速成指南 原文出处: 舞鹤 序 本文主要内容:以最短的时间写一个最简单的爬虫,可以抓取论坛的帖子标题和帖子内容。 本文受众:没写过爬虫的萌新。 入门 0.准备工作 需要准备的东西: Python、scrapy、一个IDE或者随便什么文本编辑工具。 1.技术部已经研究决定了, 阅读全文
posted @ 2017-02-15 11:19 一直为你守候 阅读(377) 评论(0) 推荐(0) 编辑
摘要: int[] nums = { 12,13,14,15,16,17,18}; //初始化字符串 int length = Convert.ToInt32(nums.Length);//转化 //Console.WriteLine(length); length=7 string[] str = new string[lengt... 阅读全文
posted @ 2017-02-15 11:01 一直为你守候 阅读(135) 评论(0) 推荐(0) 编辑