码迷,mamicode.com
首页 >  
搜索关键字:python paramiko threading    ( 137519个结果)
python基础 -- acm
浙大acm,第一题 Calculate a + b Input The input will consist of a series of pairs of integers a and b,separated by a space, one pair of integers per line. Output For each pair of input integers a ...
分类:编程语言   时间:2014-09-03 06:16:56    阅读次数:260
L01-03:python学习之控制语句
要求:1、接受用户输入;2、判断用户是否是alex,如果不是重新接受输入;3、判断用户alex的密码是否是11111,若不是重新输入;代码如下:input=raw_input("yourname:") whileTrue: ifinput==‘alex‘: print"welcomealex" password=raw_input("yourpassword:") p=‘111111‘ while..
分类:编程语言   时间:2014-09-03 02:45:16    阅读次数:223
字典---Dictionary<TKey,TValue>
=================================================EmployeeID.cs(学生编号类)usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespaceConsoleApplication7 { //作为键的类型必须要重写GetHashCode() p..
分类:其他好文   时间:2014-09-03 02:44:16    阅读次数:237
字典---ToLookup
------------------------------------------------------------------------------Person.csusingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespaceConsoleApplication1 { publicclassPerson { publicst..
分类:其他好文   时间:2014-09-03 02:43:16    阅读次数:159
python使用异步任务celery出现异常崩溃时retry重试
前言:python下的celery是啥东西大家应该有了解,是一个异步的任务框架。话说,我以前写过一个报警平台的项目,也需要任务的扩展成分布式,当时总是觉得用celery不是那么太靠谱,所以就自己写了一个分布式的任务派发的系统。今个和朋友聊起了分布式爬虫,这哥们说任务有时候经..
分类:编程语言   时间:2014-09-03 02:42:47    阅读次数:1943
字典---有序字典(SortedDictionary<TKey,TValue>)
--------------------------------------------------------------EmployeeID.cs(键)usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; usingSystem.Collections; publicclassEmployeeID:IComparable<Emp..
分类:其他好文   时间:2014-09-03 02:42:16    阅读次数:179
python学习笔记-1
python执行方法:在linux命令行中输入python将进入python交互环境中,在这可以输入python语言的命令或函数,如exit()为退出交互环境,id()为查看变量引用的值在内存中的存储位置,使用vim编辑器打开一个文档,首行输入#!/usr/bin/python,后接python语言,保存退出后,添..
分类:编程语言   时间:2014-09-03 02:41:46    阅读次数:253
《C#高级编程第七版》多线程之Events
按照范例,将代码稍加变动,打出来了,如下所示using System;using System.Collections.Generic;using System.Linq;using System.Threading;using System.Threading.Tasks;using System...
分类:编程语言   时间:2014-09-03 01:27:15    阅读次数:282
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!