Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #40514
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <davea@davea.name> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.014 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'filename': 0.07; 'subject:file': 0.07; 'subject:form': 0.07; "'''": 0.09; 'filename.': 0.09; 'tuple.': 0.09; 'sys.exit(0)': 0.16; 'tabs': 0.16; 'wrote:': 0.17; 'replacing': 0.17; 'appropriate': 0.20; 'all,': 0.21; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; "doesn't": 0.28; 'indentation': 0.29; 'code': 0.31; 'print': 0.32; 'to:addr:python-list': 0.33; 'but': 0.36; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'most': 0.61; 'show': 0.63; 'programs,': 0.71; 'received:74.208': 0.71; 'matters.': 0.84; 'received:74.208.4.194': 0.84 |
| Date | Tue, 05 Mar 2013 04:51:41 -0500 |
| From | Dave Angel <davea@davea.name> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Downloading a file form a displayed table |
| References | <f99ae3d5-6f1f-4dfc-84da-78b758a5147a@googlegroups.com> |
| In-Reply-To | <f99ae3d5-6f1f-4dfc-84da-78b758a5147a@googlegroups.com> |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Provags-ID | V02:K0:qKl/d163vtYqcrKk77TeygO7PprjckUxKpKZGciytlp /KYuBGvlwWhJ8hGOlUQVPxHD0ujsc0dtFCTTbYLyRNVLr75qQ2 vzVEaDLNrmzi4S82lyekAsoAkf04eOKHZU5SwgkNJ4AK0cWTrh r3G4cb8GCvEoVUjA/RHVOBBrJMofV/NVta+SrOMv/lU0PkGN/R PnpNpwR37qWXjHRCjTBLfnoGumcB2Ot4DOHvAUK8HaKeSYzK32 IVMHOp51QwA2YzCt8qV7NDmWJj8ywdrP9jdMDeWr97tQy1dRgn QVCDY8gdHbBbO8fZdeEWQyZbdJFgAANLh+H4iVO7ZK9nQqe0Q= = |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2875.1362477114.2939.python-list@python.org> (permalink) |
| Lines | 25 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1362477114 news.xs4all.nl 6962 [2001:888:2000:d::a6]:46820 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:40514 |
Show key headers only | View raw
On 03/05/2013 04:00 AM, Νίκος Γκρ33κ wrote: > > <snip> > for filename in os.walk(path): But os.walk() doesn't return a filename. It returns a tuple. Have you tested any of this code outside of a server? Also, you're using tabs here. They don't show up in most email programs, so you're better off replacing them with an appropriate number of spaces. After all, indentation matters. > print ''' > <form method="get" action="%s"> > print( "<tr><td><center> <button type='submit'> %s </button> </td></tr>" ) % filename > </form> > ''' > > sys.exit(0) > -- DaveA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Downloading a file form a displayed table Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-05 01:00 -0800
Re: Downloading a file form a displayed table Dave Angel <davea@davea.name> - 2013-03-05 04:45 -0500
Re: Downloading a file form a displayed table Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-05 01:48 -0800
Re: Downloading a file form a displayed table Dave Angel <davea@davea.name> - 2013-03-05 05:05 -0500
Re: Downloading a file form a displayed table Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-05 01:48 -0800
Re: Downloading a file form a displayed table Dave Angel <davea@davea.name> - 2013-03-05 04:51 -0500
Re: Downloading a file form a displayed table Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-05 02:24 -0800
Re: Downloading a file form a displayed table Lele Gaifax <lele@metapensiero.it> - 2013-03-05 12:29 +0100
Re: Downloading a file form a displayed table Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-05 02:24 -0800
Re: Downloading a file form a displayed table Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-05 05:01 -0800
Re: Downloading a file form a displayed table Joel Goldstick <joel.goldstick@gmail.com> - 2013-03-05 08:38 -0500
Re: Downloading a file form a displayed table "Vytas D." <vytasd2013@gmail.com> - 2013-03-05 13:38 +0000
Re: Downloading a file form a displayed table Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-05 06:37 -0800
Re: Downloading a file form a displayed table Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-05 06:37 -0800
Re: Downloading a file form a displayed table Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-03-05 14:04 +0000
csiph-web