易截截图软件、单文件、免安装、纯绿色、仅160KB

python实现自动登录的问题

想通过python post来实现自动登录新浪围脖已获得登录后页面的源码
但是仔细的看了下登录页面的源码
HTML code:
<body style=" background:#C4EFF4 url(http://simg.sinajs.cn/miniblog/images/common/login/zlogin3.jpg) no-repeat center 461px">
<div class="loginWarp">
<div class="warpB1"></div>
<div class="warpC">
<div class="loginMain">
<div class="loginMain2" id="login_form">
<table class="regTab"><tr><th>还没有新浪微博账号?</th><td class="regBg"><a href="http://t.sina.com.cn/reg.php">立即注册</a></td>

</tr></table>
<table class="loginTable">
<tr>
<th> </th>
<td class="yzm" id="errortip" style="color:red"></td>
</tr>
<tr>
<th>登录名:</th>

<td><div class="input_login"><input type="text" id="loginname" name="loginname" value="" tabindex="1" /></div></td>
</tr>
<tr>
<th>密码:</th>
<td><div class


相关问答:

python PIL模块打开图片问题

请问下,我的是python2.5安装了PIL模块,然后编写程序打开本机上的一个图片时,为什么老出现错误呢,老是找不到图片,错误提示如下:File "C:\Python25\Lib\site-packages\PIL\Image.py", line 1888, in o ......

IIS 7 python 2.6 cgi 文件上传问题

我每次上传的文件读到的数据都不正确。2M 的图片读得10多K 。。哪位大侠可以帮帮我啊。
#!D:\ProgrammerTools\python26\python.exe
#encoding=utf-8
import cgitb
import os
cgitb.enable()
import cgi,urllib ......

python怎么print 'hello world'

大家好,我是一个新手,刚开始学python,但是刚开始的helloworld都没法打印,让我很无奈。
我的python安装路径为f:\python31。在path中也设置对了,在windows下运行是这样显示的,希望各位前辈指点一下。谢谢
Pyth ......

python list中添加类对象的问题

在list中添加一个类的局部变量 这样做是否合法 请看下面例子:
Python code:

class A():
def __init__( self ):
self.__a = 0
self.__b = 'hello'
def get_a( self ):
ret ......

拜师贴:如何使用python抓取网页数据

如何使用python,将下面的网页
http://quotes.money.163.com/corp/1034/code=600221.html
那张资产负债表抓取出来,发到一个文本文件中?
请留下qq,我拜你为师


Python code:
import re
import url ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号