Thank you, I subclassed SGMLParser.py, borrowing ideas from
DiveIntoPython's BaseHTMLProcessor.py. It appears to work:
###
class Scrape(SGMLParser):
TAGS_TO_SCRAPE = ['p', 'br', 'b', 'i']
def reset(self):
self.pieces = []
self.isScraping = 0
> > I want to make caculator program which enables me to enter 2numbers
> > and mathsmatics sign and calculates it. I think this is too difficult
> > for newbie like me...
> >
> > Please input data
> >
> > Number1:
> > Mathsmetics Sign:
> > Number2:
> >
> > (Number1) (Sign) (Number2) = (Result)
>
Hi everyone,
I'm working on a little Python CGI project, but I think I'm stuck on some of
the MIME magic. I've got a Web form that collects various bit of text and,
optionally, a file can be uploaded too. The file could be almost any kind of
document from jpeg to PDF.
The form data get passed to
. Sm0kin'_Bull said unto the world upon 2005-02-19 16:15:
I want to make caculator program which enables me to
enter 2numbers and mathsmatics sign and calculates it.
I think this is too difficult for newbie like me...
Please input data
Number1:
Mathsmetics Sign:
Number2:
(Number1) (Sign) (Number2)
. Sm0kin'_Bull schrieb:
I want to make caculator program which enables me to
enter 2numbers and mathsmatics sign and calculates it.
I think this is too difficult for newbie like me...
Please input data
Number1:
Mathsmetics Sign:
Number2:
(Number1) (Sign) (Number2) = (Result)
I wrote this but, Erro
Ismael Garrido schrieb:
Hello.
This is my code:
class Node:
def __init__(self, tag, value=None, **kwargs):
self.tag = tag
self.value = value
self.kwargs = kwargs
self.childs = []
def addChild(self, tag, value=None, **kwargs):
node = Node(tag, value, kwargs)
I want to make caculator program which enables me to
enter 2numbers and mathsmatics sign and calculates it.
I think this is too difficult for newbie like me...
Please input data
Number1:
Mathsmetics Sign:
Number2:
(Number1) (Sign) (Number2) = (Result)
I wrote this but, Error occurs
print "Please in
Hello.
This is my code:
class Node:
def __init__(self, tag, value=None, **kwargs):
self.tag = tag
self.value = value
self.kwargs = kwargs
self.childs = []
def addChild(self, tag, value=None, **kwargs):
node = Node(tag, value, kwargs)
self.childs.appen
If anyone is interested in an invitation to Google GMail, let me know
and I will send you a free invitation to join. It works great for
organizing mailing lists and with 1000 MB of storage, you don't have
to manage your inbox.
--
Have you seen the dog lately?
Email - [EMAIL PROTECTED]
Blog - i
Adam Cripps wrote:
Secondly, when I try to exit the app, the quit button doesn't kill the
root, window, but just the widgets. How do I reference the root window
and all, instead of just exiting the widgets?
Try
self.quit()
instead of
self.destroy()
On Sat, 19 Feb 2005 10:43:07 +0100, Gregor Lingl <[EMAIL PROTECTED]> wrote:
> Hi Adam!
>
> I'm not a Tkinter expert, so I probably cannot provide
> the best solution for your problem.
> Nevertheless I tried two corrections, which adress your
> problem seeminly successfully
>
> Adam Cripps schrieb
Hi Adam!
I'm not a Tkinter expert, so I probably cannot provide
the best solution for your problem.
Nevertheless I tried two corrections, which adress your
problem seeminly successfully
Adam Cripps schrieb:
I'm trying out Tkinter as one of my first forays into GUI programming.
However, I'm having a
I'm trying out Tkinter as one of my first forays into GUI programming.
However, I'm having a couple of problems.
My intitial efforts can be seen at:
http://www.monkeez.org/code/python/tkinter/min.txt or here [1].
Firstly, I'm trying to grab the contents of Entry widget entry1 with a
StringVar and
Bill Mill said unto the world upon 2005-02-18 20:29:
On Fri, 18 Feb 2005 17:20:03 -0800 (PST), Terry Carroll <[EMAIL PROTECTED]>
wrote:
On Thu, 17 Feb 2005, Jeff Shannon wrote:
On Thu, 17 Feb 2005 15:54:43 -0800 (PST), Terry Carroll <[EMAIL PROTECTED]>
wrote:
Interesting -- I prefer the CHM (Win
14 matches
Mail list logo