python 和shell 脚本写作的基本流程 Python:#!/usr/bin/env pythondef func1(): passdef func2(): passif __name__=='__main__': func1() func2() shell:#!/usr/bin/env bashfunc1(){ #do sth}func2(){ #do sth}m...
JavaScript Learning JavaScript 是一种轻量级的编程语言。javascript 是可插入HTML页面的编程代码。javascript 插入HTML页面后可以由所有现代浏览器执行。javascript 很容易学习。学习地址:http://www.w3school.com.cn/js/js_obj_date.asp http://www.w3school.com.cn/j
jQuery learning ////////////////////////////////////////////////////////////// JQuery Learning ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Csharp启动关闭进程 本文主要内容:通过代码的方式关闭进程。 以前关闭进程的方式,通常采用bat文件的方式。现在通过采用另外一种方式关闭进程。关闭进程主要思路:遍历所有进程,根据进程名称,找出需要关闭的进程。开启进程主要思路:通过递归的方式找出文件夹中所有的exe文件,并且开启。其主要代码如下:[csharp] view plaincopy #
selenium learning Learn linked 学习链接 http://pan.baidu.com/share/link?shareid=4052478095&uk=1311029430firebug download addreessMercury测试工具体系(QTP,QC,LR,WR),是强大的工具功能体系,但价格也不菲;故而thoughtworks特意把他们的Web开源工具命,命名为seleniu
datagridview操作 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Data.OleDb;using System.Data.SqlClient;using System.Drawing;using System.Linq;u
DataGridView表单中产生checkbox列的头也绘画成一个checkbox using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Drawing;using System.Windows.Forms;namespace _4._0NewPropert
C#learning materials using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Data.OleDb;using System.Drawing;using System.Linq;using System.Text;using Syste
C#学习 namespace _4._0NewProperty{ public partial class Form2 : Form { public Form2() { InitializeComponent(); //Mylabel("子窗体到父窗体", "Name4", label1_Cli
C#几个常用的传值例子 传值:(父窗体向子窗体传值):1. 并调用子窗体Form2的公开属性或方法 将Form1的textBox1的值设置给Form2的textBox2 public partial class Form1 : Form { public Form1() { InitializeComponent();
C#笔记 address:http://wenku.baidu.com/link?url=bDFZzy7VFKi8UzOVkoIMVdyRVcFsBhOiU78Qo34E78xHn8JKKKBc_nNIG-WUZVOm2rsja70zZteZohZtq3D_S33XCGz3FUzi_ae6hDup2DC
C#console application using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Diagnostics;namespace ConsoleApplication1{ class Progra
python 类 [python] view plaincopyprint?#类定义 class people: #定义基本属性 name = '' age = 0 #定义私有属性,私有属性在类外部无法直接进行访问 __weight = 0 #定义构造方法 def __init__(self,n,a,w):
my if if判断 .2012-11-24 16:16 8人阅读 评论(0) 收藏 编辑 删除 -b file 若文件存在且是一个块特殊文件,则为真-c file 若文件存在且是一个字符特殊文件,则为真-d file 若文件存在且是一个目录,则为真-e file 若文件存在,则为真-f file