Re: html tags and python

2005-03-25 Thread Kane
If I understand what you are asking then Python & CGI are a poor solution. It would be easy to have one page ask for the month, click submit, then have a second page ask for the exact date. Easy; but terrible design. You want to have one page with a dropdown of months. When you select a month,

Re: Max files in unix folder from PIL process

2005-03-28 Thread Kane
I ran into a similar situation with a massive directory of PIL generated images (around 10k). No problems on the filesystem/Python side of things but other tools (most noteably 'ls') don't cope very well.As it happens my data has natural groups so I broke the big dir into subdirs to sidestep t

Re: Max files in unix folder from PIL process

2005-03-29 Thread Kane
Yes I'm talking Linux not BSD so with any luck you won't have the same 'ls' issue; it is not a crash but painfully slow. The only other issue I recall is wildcards fail if they encompass too many files (presumably a bash/max command line size). I would expect the various GUI file managers may giv

Re: Web Application Client Module

2005-04-12 Thread Kane
Since you need javascript the cheap-n-dirty approach (xml parser, gui library of your choice and just enough widget logic/https for your app to work) is a no-go. I don't know of a python library with html rendering and javascript (and https support could easily be another barrier). Another optio

Re: changing colors in python

2005-04-14 Thread Kane
To convert ansi escape sequences into text colors you need a terminal that understands what you are doing. Linux does this by default; dos and windows do not. You need to have an extra program in memory. The conventional approach is the "ANSI.SYS" driver which probably still ships with Windows (

Re: mod_python and open HTTP connection

2006-02-17 Thread Kane
> Does mod_python time out after a minute ? No, but the browser may timeout. Sending a periodic bit-o-data on a long running page is a good idea anyway (so the user knows it is still working). >If I leave an HTTP connection open so that the content keeps loading inside >the >browser window ind

Re: quick script to read digital terrain elevation data?

2006-02-22 Thread Kane
ords[1] + (self.firstRow - 1) * self.deltaY lastRow = max(lastRow, rowEnd) mod = c % colInt if mod == 0 and c >= self.colStr: if outType == 2: writeSubset(oh, planCoords[0], planCoords[1]) else:

Clearing a Text Widget

2005-07-22 Thread Kane Bonnette
Does anyone know how the clear the text from a Tkinter Text Widget? The delete(0, END) trick that works for Entry widgets doesn't work for Text I get "0 is an invalid index" when i try to do so Thanks in advance -- http://mail.python.org/mailman/listinfo/python-list

Re: Clearing a Text Widget

2005-07-22 Thread Kane Bonnette
Kane Bonnette wrote: > Does anyone know how the clear the text from a Tkinter Text Widget? The > delete(0, END) trick that works for Entry widgets doesn't work for Text > > I get "0 is an invalid index" when i try to do so > > Thanks in advance In case any

Re: Welcome to the "Python-list" mailing list (Digest mode)

2018-01-28 Thread nelson jon kane
27;ll check out the FOR Loop in python and see how it is different from the WHILE Loop. ____ From: nelson jon kane Sent: Sunday, January 28, 2018 6:05:04 PM To: python-list@python.org Subject: Re: Welcome to the "Python-list" mailing list (Digest mode) W

Re: Welcome to the "Python-list" mailing list (Digest mode)

2018-01-28 Thread nelson jon kane
When I enter the word python in the search box on my Chrome Windows 10, this is what comes up. Can you tell me what each of these "types" of Python mean? Thank you. [cid:aa3fd74d-d71d-42c0-b063-4f20c463987b] From: Python-list on behalf of python-list-requ...@p