ChinaUnix.net
相关文章推荐:

python 表单打印

我现在要测试web页面上的表单是否可用 form 的action 设置为acc.py python获得http请求然后解析将提交到的信息打印出来 这个脚本该怎么谢啊

by 怕蛇的老虎 - Python - 2008-01-18 10:35:36 阅读(2803) 回复(1)

相关讨论

我想用python编写脚本向这个网页http://loschmidt.chemi.muni.cz/hotspotwizard/提交参数并且拿到结果,应该怎么做?

by 笑傲蜗牛 - Python - 2012-03-07 18:57:38 阅读(1687) 回复(3)

html提交表单后,python是怎么获得这些数据的? php是通过$_GET/ $_POST,python 呢? python仅仅是接收post过来的几个数据而已。 谢谢!

by diyself - Python - 2009-04-10 12:39:00 阅读(4761) 回复(8)

python Web编程比较的感兴趣,想了解一下python是怎样进行web编程的。 同学们更否提供一个python验证表单输入的列子? 谢谢?

by yuyoo_zhao - Python - 2008-04-28 21:36:39 阅读(2735) 回复(2)

# -*- coding: cp936 -*- import urllib2,urllib,sys """ 使用GET在百度搜索引擎上查询 在百度的搜索条中随便输入一些内容,会有w和cl两项构成GET串 此例演示如何生成GET串,并进行请求. """ url = "http://www.baidu.com/s" search = [('w','python'),('cl','3')] getString = url + "?" + urllib.urlencode(search) req = urllib2.Request(getString) fd = urllib2.urlopen(req) while 1: data = fd.read(1024) if not len...

by mseaspring - Python文档中心 - 2009-12-27 11:53:06 阅读(2774) 回复(0)

我想用python模拟以下表单的提交 http://genes.mit.edu/mirscan/ 请各位高手指点。。。

by huangtinghua - Python - 2006-06-29 13:01:58 阅读(2471) 回复(1)

发现python里面扩展了日志打印功能。感觉比java自带的还好,和log4j很类似。 下面总结下其用法。先说一种不用配置文件的: 1 # -*- coding: gb2312 -*- 2 import logging 3 4 logging.basicConfig(level=logging.INFO, 5 format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s', 6 datefmt='%m-%d %H:%M', 7 filename='./AutoUpdate.log', 8 ...

by mseaspring - Linux文档专区 - 2009-06-29 15:27:23 阅读(1084) 回复(0)

本帖最后由 meto2009 于 2013-04-06 21:03 编辑 from poster.encode import multipart_encode from poster.streaminghttp import register_openers import urllib2 register_openers() datagen, headers = multipart_encode({'file':open('test.txt', 'rb')}) request = urllib2.Request('http://127.0.0.1:8080/', datagen, headers) response = urllib2.urlopen(request) print response.read() 文件是上传上去了,但是报如下...

by meto2009 - Python - 2013-04-07 10:22:37 阅读(2164) 回复(1)

我想要获取 name 为 'search_data'的 数据 有什么方法可以获取 提交的内容啊。。。 还有就是

by kim125 - Python - 2015-03-27 16:36:24 阅读(4037) 回复(3)

想用python编一个程序时刻监控着mysql的一张表单,当该表单内容增加时,python程序会侦测到,然后会执行另一个程序,请教如何实现。 谢谢!

by panfeiboy - MySQL - 2007-10-11 09:36:44 阅读(1749) 回复(0)

想用python编一个程序时刻监控着mysql的一张表单,当该表单内容增加时,python程序会侦测到,然后会执行另一个程序。 谢谢!

by panfeiboy - Python - 2007-10-27 22:33:06 阅读(2770) 回复(4)