中文技术文章索引 http://tech.e800.com.cn/alllist/37_1_1_1.html

Java 基础编程

NetBeans IDE 6.0 Java Quick Start Tutorial
http://www.netbeans.org/kb/60/java/quickstart.html
NetBeans IDE 6.0 Java 快速入门指南
http://developers.sun.com.cn/Java/quickstart.html

Introduction to Developing General Java Applications
http://www.netbeans.org/kb/60/java/javase-intro.html
开发一般 Java 应用程序简介
http://developers.sun.com.cn/Java/javase-intro.html

Introduction to Profiling Java Applications in NetBeans IDE 6.0
http://www.netbeans.org/kb/60/java/profiler-intro.html
在 NetBeans IDE 6.0 中分析 Java 应用程序性能
http://developers.sun.com.cn/Java/profiler-intro.html

Java GUI 和 Matisse 项目

Binding Beans and Data in a Desktop Application
http://www.netbeans.org/kb/60/java/gui-binding.html
在桌面应用程序中实现 Beans 和数据绑定
http://developers.sun.com.cn/Java/gui-binding.html

Internationalizing a GUI Form
http://www.netbeans.org/kb/60/java/gui-automatic-i18n.html
国际化图形用户界面程序
http://developers.sun.com.cn/Java/gui-automatic-i18n.html

Web 应用程序

Building a Tree From Database Data
http://www.netbeans.org/kb/60/web/databasetree.html
通过数据库数据构建树
http://developers.sun.com.cn/Java/databasetree.html

Using Databound Components to Access a Database
http://www.netbeans.org/kb/60/web/databoundcomponents.html
使用 Databound 组件访问数据库
http://developers.sun.com.cn/Java/databoundcomponents.html

Using Java Persistence API Within a Visual Web Application
http://www.netbeans.org/kb/60/web/web-jpa.html
在 Visual Web 应用程序中使用 Java Persistence API
http://developers.sun.com.cn/Java/web-jpa.html

Modifying Database Table Rows with the Java Persistence API
http://www.netbeans.org/kb/60/web/web-jpa-part2.html
使用 Java Persistence API 修改数据库表行
http://developers.sun.com.cn/Java/web-jpa-part2.html

Performing Inserts, Updates, and Deletes
http://www.netbeans.org/kb/60/web/inserts-updates-deletes.html
执行插入、更新和删除操作
http://developers.sun.com.cn/Java/inserts-updates-deletes.html

Introduction to the Spring Framework
http://www.netbeans.org/kb/60/web/quickstart-webapps-spring.html
Spring Web 框架简介
http://developers.sun.com.cn/Java/quickstart-webapps-spring.html

Introduction to the Struts Web Framework
http://www.netbeans.org/kb/60/web/quickstart-webapps-struts.html
Struts Web 框架简介
http://developers.sun.com.cn/Java/quickstart-webapps-struts.html

Introduction to the Google Web Toolkit Framework
http://www.netbeans.org/kb/60/web/quickstart-webapps-gwt.html
Google Web Toolkit 框架简介
http://developers.sun.com.cn/Java/quickstart-webapps-gwt.html

Introduction to the Wicket Web Framework
http://www.netbeans.org/kb/60/web/quickstart-webapps-wicket.html
Wicket Web 框架简介
http://developers.sun.com.cn/Java/quickstart-webapps-wicket.html

Java EE 应用程序

Getting Started with Java EE Applications
http://www.netbeans.org/kb/60/javaee/ejb30.html
EJB 3.0 应用程序入门
http://developers.sun.com.cn/Java/ejb30.html

Building an EJB 3.0 application using GlassFish v2, Apache Maven 2 and NetBeans IDE 6.0
http://www.netbeans.org/kb/60/javaee/ejb-glassfish-maven.html
使用 GlassFish v2、Apache Maven 2 和 NetBeans IDE 6.0 构建EJB 3.0 应用程序
http://developers.sun.com.cn/Java/ejb-glassfish-maven.html

Mobile 应用程序

End-to-End Web Service Tutorial: Mobile Dilbert Application
http://www.netbeans.org/kb/60/mobility/mobile-dilbert.html
端到端 Web 服务教程:移动 Dilbert 应用程序
http://developers.sun.com.cn/Java/mobile-dilbert.html

SOA 应用程序

Creating a Simple SOA Application With NetBeans
http://www.netbeans.org/kb/60/soa/simple-soa-app.html
使用 NetBean 创建一个简单的 SOA 应用程序
http://developers.sun.com.cn/Java/simple-soa-app.html

Creating a Loan Processing Composite Application
http://www.netbeans.org/kb/60/soa/loanprocessing.html
创建贷款处理复合应用程序
http://developers.sun.com.cn/Java/loanprocessing.html

Getting Started with JAX-WS Web Service Clients
http://www.netbeans.org/kb/60/websvc/client.html
JAX-WS Web 服务客户机入门
http://developers.sun.com.cn/Java/client.html

Getting Started with RESTful Web Services
http://www.netbeans.org/kb/60/websvc/rest.html
REST Web 服务入门
http://developers.sun.com.cn/Java/rest.html

UML 建模

Why Model With UML?
http://www.netbeans.org/kb/60/uml/why-model.html
使用 UML 建模的理由
http://developers.sun.com.cn/Java/why-model.html

Ruby 应用程序

Installing and Configuring Ruby Support
http://www.netbeans.org/kb/60/ruby/setting-up.html
NetBeans 6.0 安装和配置 Ruby Support
http://developers.sun.com.cn/Java/netbeans6-ruby-setting-up.html

Creating a Ruby Weblog in 10 Minutes
http://www.netbeans.org/kb/60/ruby/rapid-ruby-weblog.html
使用 NetBeans 6.0 在10分钟内创建一个 Ruby 博客程序
http://developers.sun.com.cn/Java/netbeans6-rapid-ruby-weblog.html

Mixing Java and Ruby Applications
http://www.netbeans.org/kb/60/ruby/java-ruby.html
混合 Java 和 Ruby 应用程序
http://developers.sun.com.cn/Java/java-ruby.html

NetBeans 平台和模块开发

NetBeans Platform 6.0 Quick Start Tutorial
http://platform.netbeans.org/tutorials/60/nbm-htmleditor.html
NetBeans Platform 6.0 快速入门教程
http://developers.sun.com.cn/Java/nbm-htmleditor.html

NetBeans DTrace GUI Plug-in
http://www.netbeans.org/kb/dtracegui_plugin/NetBeans_DTrace_GUI_Plugin.html
NetBeans DTrace GUI 插件
http://developers.sun.com.cn/solaris/NetBeans_DTrace_GUI_Plugin.html

C/C++ 应用程序

Installing and Configuring C/C++ Support
http://www.netbeans.org/community/releases/60/cpp-setup-instructions.html
安装和配置 C/C++ 支持
http://developers.sun.com.cn/Java/cpp-setup-instructions.html

以上文章均由 Sun 中国技术社区 翻译,包括所有 NetBeans Tutorials 在内的更多 NetBeans 6 中文 技术文章会在两周后整理上线,届时会在 Sun 中国技术社区 和 NetBeans.org 官方站点同时发布。

import unittest from time import sleep from ddt import ddt, data, unpack from selenium import webdriver import openpyxl def read_excel(): xlsx = openpyxl.load_workbook("D:\\python\\project\\xl.xlsx") sheet1 = xlsx['Sheet1'] print(sheet1.max_row) # 行 print(sheet1.max_column) # 列 print('=======================================================') allList = [] for row in range(2, sheet1.max_row + 1): rowlist = [] for column in range(1, sheet1.max_column + 1): rowlist.append(sheet1.cell(row, column).value) allList.append(rowlist) return allList @ddt class ExcelText(unittest.TestCase): def setUp(self) -> None: self.driver = webdriver.Chrome() self.driver.get('https://passport.csdn.net/login?code=applets') self.driver.maximize_window() def tearDown(self) -> None: driver = self.driver sleep(3) driver.quit() @data(*read_excel()) #读取xlsx @unpack def test_excel01(self, flag, username, password): print(flag, username, password) driver = self.driver sleep(2) driver.find_element_by_xpath('/html/body/div[2]/div/div[2]/div[2]/div[1]/div/div[1]/span[4]').click() driver.find_element_by_xpath('/html/body/div[2]/div/div[2]/div[2]/div[1]/div/div[2]/div/div[1]/div/input').send_keys(username) driver.find_element_by_xpath('/html/body/div[2]/div/div[2]/div[2]/div[1]/div/div[2]/div/div[2]/div/input').send_keys(password) driver.find_element_by_xpath('/html/body/div[2]/div/div[2]/div[2]/div[1]/div/div[2]/div/div[4]/button').click() if __name__ == '__main__': unittest.main()可以为我解读一下这几行代码么
06-10
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值