小编Kur*_*urt的帖子

如何在<form>中发送输入字段?

关于我的上一个问题.我有一个上传字段,用户可以选择一张图片,然后调整大小(客户端通过JavaScript),base64编码(也是JavaScript)并通过隐藏字段发送.我这样做是为了节省用户的带宽(例如使用3G连接).

但我不知道如何不在标签<input type="file" name="file" id="file" class="span4">内发送用户上传文件<form>.显而易见的解决方案是从表单中排除文件上载字段,但这会杀死我的布局.这可能吗?

html javascript forms jquery

9
推荐指数
2
解决办法
9609
查看次数

Python:从源代码中安装模块

当然你们都知道答案,这很容易,但我是python的新手:)

我在互联网上找到了一段代码,从雅虎财经中读取股票价格

#!/usr/bin/env python
#
#  Copyright (c) 2007-2008, Corey Goldberg (corey@goldb.org)
#
#  license: GNU LGPL
#
#  This library is free software; you can redistribute it and/or
#  modify it under the terms of the GNU Lesser General Public
#  License as published by the Free Software Foundation; either
#  version 2.1 of the License, or (at your option) any later version.


import urllib


"""
This is the "ystockquote" module.

This module provides a Python API for retrieving …

python install module

3
推荐指数
1
解决办法
6138
查看次数

标签 统计

forms ×1

html ×1

install ×1

javascript ×1

jquery ×1

module ×1

python ×1