2008年10月22日

Python py2exe[转]

摘要: 一、简介 py2exe是一个将python脚本转换成windows上的可独立执行的可执行程序(*.exe)的工具,这样,你就可以不用装python而在windows系统上运行这个可执行程序。 py2exe已经被用于创建wxPython,Tkinter,Pmw,PyGTK,pygame,win32com client和server,和其它的独立程序。py2exe是发布在开源许可证下的。 二、安... 阅读全文

posted @ 2008-10-22 21:44 starspace 阅读(250) 评论(0) 推荐(0) 编辑

实战py2exe 将docutils转换为EXE [转]

摘要: 本文原始链接:http://blog.csdn.net/liigo/archive/2006/11/11/1379374.aspx py2exe,顾名思义,其作用就是将python源代码程序转换为可(脱离python环境)直接执行的EXE文件。 py2exe官方说明的很明白,它只是收集python程序中依赖的库/文件(*.pyc/py, python??.dll, ...)并将其打包,它生成的EX... 阅读全文

posted @ 2008-10-22 21:43 starspace 阅读(466) 评论(0) 推荐(0) 编辑

python编程-将Python程序转化为可执行程序 [转]

摘要: 工欲善其事,必先利其器.python是解释型的语言,但是在windows下如果要执行程序的话还得加个python shell的话,未免也太麻烦了.而这里所说的东西就是将python程序转换为exe文件.下面是一些常用的工具,不过似乎py2exe应用的更加广泛一些. py2exe http://py2exe.sf.net 只支持windows平台,应该是大家听到最多的一个名... 阅读全文

posted @ 2008-10-22 20:07 starspace 阅读(655) 评论(0) 推荐(0) 编辑

用python开发windows程序 [转]

摘要: 今天终于可以用wxPython开发GUI程序了,非常高兴。把其中的一些注意点写下来以供参考。在windows XP平台下,首先需要做以下环境的配置: 1. 首先是安装python ,安装完之后将python/bin所在目录添加到path中。 2. 安装wxPython, 此时要注意wxPython的版本要与前面python的版本一致。 3. 安装py2exe, 这是w... 阅读全文

posted @ 2008-10-22 20:07 starspace 阅读(989) 评论(0) 推荐(0) 编辑

手工将python程序发布为exe执行程序 [转]

摘要: 1. 手动制作python的exe可执行程序Python没有内建一个编译为exe的功能。给python程序的部署带来不少的麻烦。所以就会出现一些py2exe之类的很不错的工具,用于自动把.py文件编译为.exe文件。 最近抽空研究了一下手动实现类似py2exe的功能,希望加强对python的了解。结果还相当不错。把结果记录下来,与大家共享。 1.1. 原理文中所描述的方法,基于python的... 阅读全文

posted @ 2008-10-22 20:02 starspace 阅读(1101) 评论(0) 推荐(0) 编辑

xargs与cp结合使用

摘要: find . -name "*" |xargs cp ???? 这里 xargs cp 怎么区分cp源 和 cp目的 例如:想把 查询到的文件 都copy到/home/users/中去 find . -name "*" | xargs cp /home/users/ find . -name "*" | xargs -i cp {} /home/users/ -I 必须指... 阅读全文

posted @ 2008-10-22 18:03 starspace 阅读(13237) 评论(0) 推荐(2) 编辑

使用WatiN对ASP.NET页面进行单元测试 [转]

摘要: 本文翻译自:Unit Testing ASP.NET Pages Using WatiN。 引言 单元测试是应用程序设计的一个重要部分,它可应用于程序的多个层次。本文将主要关注用户界面层的单元测试。我们将使用WatiN 测试ASP.NET应用程序。 什么是WatiN? WatiN 是一个源自Watir的工具,用于测试Web页面。WatiN表示Web Application Testing in... 阅读全文

posted @ 2008-10-22 16:25 starspace 阅读(203) 评论(0) 推荐(0) 编辑

WatiN ——HTML Mapping Table

摘要: HTML Mapping Table This document provides a mapping table between the html element code in a webpage and the WatiN API. Html element WatiN Class WatiN ... 阅读全文

posted @ 2008-10-22 16:01 starspace 阅读(678) 评论(0) 推荐(0) 编辑

Web Automation with Python for .NET

摘要: Unlike the traditional Ranorex API, the new Web Automation API is natively provided only for .NET languages. However, there are two easy ways how you can still use Python with Ranorex Web Automation. ... 阅读全文

posted @ 2008-10-22 16:00 starspace 阅读(549) 评论(0) 推荐(0) 编辑

Global GUI map for automation with VS.NET

摘要: Writing test code based on RanoreXPath is not a big challenge. In fact, it’s always the same procedure. First, find the element within a web page. After that, automate it (click, set value,…). Two sim... 阅读全文

posted @ 2008-10-22 15:59 starspace 阅读(459) 评论(0) 推荐(0) 编辑

Data driven test automation with Excel

摘要: Download Ranorex Studio Excel Sample (16KB) Microsoft Excel is often used to store and manage test cases and test data. Why? Because Excel is a widespread tool. Nearly every Windows based machine has ... 阅读全文

posted @ 2008-10-22 15:59 starspace 阅读(706) 评论(0) 推荐(0) 编辑

学习如何利用FitNesse解决开发质量方面的问题 [转]

摘要: 摘要 本文描述了如何使用开源的FitNesse来实现真正的测试先行开发过程,并让客户、需求提报工程师、开发人员、以及测试人员进行协同工作,达到需求更精准、减少需求更改、测试数据与Junit单元测试代码分离的目的,让这一切更简洁、更易于维护。 作者:Stephan Wiesner 译者:陈海青(joson) 在过去的几年里,我在开发测试工作中担任过各种角色,使用过服务器端的JavaScript,... 阅读全文

posted @ 2008-10-22 15:57 starspace 阅读(888) 评论(0) 推荐(0) 编辑

WatiN、Wax、WatiN Test Recorder开源自动化测试框架 [转]

摘要: 出自http://www.cnblogs.com/oscarxie/ 最近有点时间,觉得可以研究下自动化测试框架了,其实现成的框架已经有很多,比较有名的是Watir和Selenium,还有从05年开始的基于.net的WatiN,鉴于自己接触多的是.net方面的,所以先选择WatiN来研究。 研究之前,要做的准备工作就是收集相关的资料,列下来,之后做个To Do List排个计划来逐一阅读和实践。 ... 阅读全文

posted @ 2008-10-22 15:19 starspace 阅读(504) 评论(0) 推荐(0) 编辑

用pywin写简单的窗口界面

摘要: 工作的关系,要截取一窗口的屏幕内容,然后保存到一个EXCEL文件中。我是个比较懒惰的人,就写了个Python程序完成这一连串工作。(计算机就是要干苦活累活嘛,所以有人说,程序员的懒惰是一种美德,很是赞同!) #!coding = utf-8 import win32ui import win32gui import win32con from pywin.mfc import dialog i... 阅读全文

posted @ 2008-10-22 13:47 starspace 阅读(1113) 评论(0) 推荐(0) 编辑

用Python处理Excle文件

摘要: [1]使用PyExcelerator读写EXCEL文件(Platform: Win,Unix-like) 优点:简单易用 缺点:不可改变已存在的EXCEL文件。 PyExcelerator是一个开源的MS Excel文件处理python包。它主要是用来写 Excel 文件.URL: http://sourceforge.net/projects/pyexcelerator/ 我没有找... 阅读全文

posted @ 2008-10-22 13:47 starspace 阅读(542) 评论(0) 推荐(0) 编辑

Python操作Word、EXCEL,ACCESS

摘要: python Excel 编程 1)Excel hyperlink: xlsApp = win32com.client.Dispatch('Excel.Application') cell = xls.App.ActiveSheet.Cells(1,1) cell.Hyperlink.Add(cell,'http://xxx') 2)Excel row/column count: sht ... 阅读全文

posted @ 2008-10-22 13:45 starspace 阅读(1140) 评论(0) 推荐(0) 编辑

导航