摘要: 1 import java.util.Arrays; 2 4 public class Work { 7 public static void main(String[] args) { 8 int num[]=new int [10]; 9 // 扩容因子 为 20% 10 12 14 17 10 for(int i=0;i<100;i++){11 //***12 /**13 * 14 * 1.什么情况下需要扩容,什么情况不需要?15... 阅读全文
posted @ 2013-05-10 17:34 Levi.duan 阅读(231) 评论(0) 推荐(0) 编辑
摘要: Python 发送微博 1 #!/usr/bin/env python 2 # -*- coding: utf-8 -*- 3 4 from weibo import * 5 6 def press_sina_weibo(): 7 8 APP_KEY = 'XXXX' 9 APP_SECRET = 'XXXX'10 11 CALLBACK_URL = 'https://api.weibo.com/oauth2/default.html'12 13 client = APIClient(app_key=APP_KEY, app_secret=... 阅读全文
posted @ 2013-05-10 14:37 Levi.duan 阅读(257) 评论(0) 推荐(0) 编辑