os.remove()删除一个文件os.removefirs()删除多个目录os.path.isfile()判断给出的路径是否是一个文件os.path.isdir()判断给出的是否是一个目录os.path.isabs()判断是否是绝对路径os.path.exists()检验给出的路径是否存在os.path.split()返回一个路径的目录或者文件名os.path.sp..
分类:
编程语言 时间:
2014-09-07 03:25:05
阅读次数:
337
最近手头上有一个项目,是关于新浪微博的,其中有一环要做新浪微博的爬虫。虽然之前把《Python学习手册》和《Python核心编程》都囫囵吞栆地通读完了,不过真正到做项目的时候还是什么都不会。于是在网上找了大量的资料。关于获取新浪微博的内容,大致有两种方法,一种是用纯爬..
分类:
编程语言 时间:
2014-09-07 03:22:35
阅读次数:
670
/**
* Sets the port of the local Socks5 proxy. Default is 7777. If you set the port to a negative
* value Smack tries the absolute value and all following until it finds an open port.
...
分类:
其他好文 时间:
2014-09-07 03:18:54
阅读次数:
250
/**
* Sets the port of the local Socks5 proxy. Default is 7777. If you set the port to a negative
* value Smack tries the absolute value and all following until it finds an open port.
...
分类:
其他好文 时间:
2014-09-07 03:18:44
阅读次数:
207
网络请求封装 //
// ASIHTTPRequest+Request.h
// CloudShopping
//
// Created by sixiaobo on 14-7-9.
// Copyright (c) 2014年 com.Uni2uni. All rights reserved.
//
#import "ASIFormDataRequest.h"...
分类:
其他好文 时间:
2014-09-07 02:15:24
阅读次数:
235
最近负责搭建某系统的用户环境,其中涉及从测试环境导入数据,由于受客观因素制约,不能使用传输表空间方法同步,因此需要用imp/exp或数据泵的方法,这里采用的是imp/exp。下面记录操作过程中碰到的问题。
问题1:exp导出时ORA-00904:
"IFREEPOOL": invalid identifier和"OLEVEL":
invalid identifier错误
第...
分类:
其他好文 时间:
2014-09-06 23:51:54
阅读次数:
503
Python伪开发者对于搜狐云景的测评本人是GAE和OpenShift的狂热爱好者,玩过各种国外PaaS。某次想搞个稍微复杂点的Python Web程序,需要比较好的网络传输速度,就试图找前PM(Project Manager)要个国内的VPS耍一把。前PM表示近来搞了个搜狐云景的公测激活码,让我先...
分类:
编程语言 时间:
2014-09-06 23:46:44
阅读次数:
373
This document is the user manual for the Yasm assembler. It is intended as both an introduction and a general-purpose reference for all Yasm users.
1....
分类:
其他好文 时间:
2014-09-06 23:44:05
阅读次数:
686
Description
Problem H: Queuing at the doctors
Due to the increasing number of weird viruses spreading around, all the members of the International Confederation of Revolver Enthusiasts (ICORE) ar...
分类:
其他好文 时间:
2014-09-06 21:21:44
阅读次数:
369
整合两道差不多的题目放上来,其中第一题是第二题的基础。
1.
Given a binary tree, determine if it is height-balanced.
For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two...
分类:
其他好文 时间:
2014-09-06 21:21:03
阅读次数:
279