码迷,mamicode.com
首页 >  
搜索关键字:python commands system popen subprocess    ( 184704个结果
cocos2d-x 3.0 HelloWorld项目创建
1、cocos2d支持python,创建项目都可以用它自带的脚本, 所以第一步下载安装python, 然后配置系统环境变量, 让操作系统支持python脚本, 能找到二进制文件       地址: https://www.python.org/ 2、下载cocos2d-x 3.0 源码,解压      地址: http://www.cocos2d-x.org/...
分类:其他好文   时间:2014-07-22 23:00:33    阅读次数:283
更新hosts的python脚本
更新hosts的python脚本...
分类:编程语言   时间:2014-05-03 00:29:18    阅读次数:445
UVA之11078 - Open Credit System
【题目】 Problem E Open Credit System Input: Standard Input Output: Standard Output In an open credit system, the students can choose any course they like, but there is a problem. Some of the stude...
分类:其他好文   时间:2014-05-03 00:22:50    阅读次数:380
Emacs 使用android模式
首先用package system安装android-mode, 然后编辑~/.emacs.d/init.el文件,添加下面几行:(require 'android-mode) (setq android-mode-sdk-dir "/opt/android-sdk-linux/")现在重新启动emacs,然后M-x 中运行命令android-start-emulator此时会提示输入Androi...
分类:移动开发   时间:2014-05-02 22:49:40    阅读次数:561
python 14章,网络编程
一,socket 模块 套接字包括两类:服务器,客户机, 创建一个套接字后让它等待连接 服务器: import socket s = socket.socket() port = 1234 host = socket.gethostname() print host s.bind((host,port)) s.listen(5) while True: get,addr = s...
分类:编程语言   时间:2014-05-02 21:59:57    阅读次数:444
[转]Installing python 2.7 on centos 6.3. Follow this sequence exactly for centos machine only
Okay for centos 6.4 also On apu.0xdata.loc, after this install was done$ which python /usr/local/bin/python$ python -VPython 2.7.3$ ls -ltr /usr/local...
分类:编程语言   时间:2014-05-02 12:53:59    阅读次数:609
简单版猜拳游戏
界面很简单//玩家类using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 猜拳游戏{ /// //...
分类:其他好文   时间:2014-05-02 12:04:15    阅读次数:292
几个数据库的小案例(二):极其简单的省市联动
总用有两个文件(frmMain.cs SqlHelper.cs)//frmMain.cs//作者:Meusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using S...
分类:数据库   时间:2014-05-02 00:24:24    阅读次数:499
(转载)DotNetTextBox编辑器漏洞(system_dntb漏洞)
关键字:system_dntb/确定有 system_dntb/uploadimg.aspx 并能打开,这时候是不能上传的,由于他是验证cookie来得出上传后的路径,这样我们可以用cookie欺骗工具。cookie:UserType=0; IsEdition=0; Info=1; uploadFo...
分类:Web程序   时间:2014-05-02 00:19:15    阅读次数:883
笨方法学python(4)加分题
自己在看笨方法学python这本书,把自己觉得有学到东西的记下来,并不是每个习题都有记录 这次对应的是:习题 6: 字符串(string)和文本 这次只要是想说明一下,在print语句中,只要带有格式化字符的,会当作格式化来处理 脚本1: 结果1: 打出的结果没有%r,那是因为当作格式化处理了 脚本2: 结果2: 会报错,因为print ...
分类:编程语言   时间:2014-05-01 18:24:36    阅读次数:301
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!