08 2013 档案

摘要:#-*- coding:utf-8 -*-##D.has_key(k): A predicate that returns True if D has a key k.##D.items(): Returns the contents of dictionary D as a list of two-element tuples(k,v),##D.iteritems():Returns an iterator that generates the values from dictionary D as##a sequence of two-element tuples(k,v).##signa 阅读全文
posted @ 2013-08-22 10:44 Alex-Zeng 阅读(348) 评论(0) 推荐(0)
摘要:# -*- coding:utf-8 -*-##s.partition(d)##Searches string s for the first occurrence of some delimiter string d.if s contains##the delimiter,it returns a truple(pre,d,post),where pre is the part of s before##the delimiter ,d is the delimiter itself,and post is the part of s after the delimiter.##s=u&# 阅读全文
posted @ 2013-08-20 18:05 Alex-Zeng 阅读(290) 评论(0) 推荐(0)
摘要:--Notes:测试环境:Windows ,python 2.7.3,python 自带的IDLE#-*- coding: utf-8 -*-# First Lesson# --- Line syntax ---# The comment character is "#" ;comments are terminated by end of line.# Long lines may be continued by ending the line with a backslash(\).# --- Names and Keywords ---# Python names(a 阅读全文
posted @ 2013-08-15 08:53 Alex-Zeng 阅读(257) 评论(0) 推荐(0)
摘要:参考帖子:http://www.cognoschina.net/club/thread-29255-3-1.html没有实现自动登录前,每次打开pyi 都要输入用户名密码,利用脚本加载的时候十分不方便。1.首先确保已经安装了common logon。装好了cognos目录下会多一个commonLogon的目录。如果没有安装,网上提供了安装方式(笔者没试过,请酌情考量):For Cognos Series 7 Version 3 (7.3) and next versions:Open the \Cognos\amwcls directory on the installation CD and 阅读全文
posted @ 2013-08-14 18:42 Alex-Zeng 阅读(559) 评论(0) 推荐(0)