Meeran Rizvi wrote:
> I just want to save it as a xls file and also from xls file i need to get
> the data and display in a text box.
>
> Or either i just display the output in my text widget and also save it as
> an xls file
What exactly you want to do is up to you; just try your hands at it
t; > >> br = mechanize.Browser()
> > >> br.set_handle_robots(False)
> > >> br.open(url)
> > >> br.select_form(name="x")
> > >> br["q"] = str(new)
> > >> res = br.submit()
> > >&g
quot;] = str(new)
> >> res = br.submit()
> >> content = res.read()
> >> with open("result1.xls", "w") as f:
> >> f.write(content)
> >> fun()
> >> Go = Button(obj,text="GO",width=5,command=fun)
> &
n(url)
>> br.select_form(name="x")
>> br["q"] = str(new)
>> res = br.submit()
>> content = res.read()
>> with open("result1.xls", "w") as f:
>> f.write(content)
>> fun()
>> Go = Button(obj,t
On Monday, January 30, 2017 at 12:02:40 PM UTC+5:30, Meeran Rizvi wrote:
> Hello Guys,
> Here i am creating a GUI which will act as a search engine that will find the
> results from the browser and save the results as a xls file.
> When i typed something in my search box and click the (GO)button.I
ntent = res.read()
> with open("result1.xls", "w") as f:
> f.write(content)
> fun()
> Go = Button(obj,text="GO",width=5,command=fun)
> Label.pack()
> search.pack()
> Go.pack()
> mainloop()
>
It is possible to display the output in my GUI itself?
--
https://mail.python.org/mailman/listinfo/python-list
Peter Otten wrote:
> PS: You can verify that you understood this by answering the question:
> what happens if the user hits the go-button while the second thread is
> still running. Hint: as written the script does not handle this correctly.
On second thought it's probably not as bad as I thought
Meeran Rizvi wrote:
> On Monday, January 30, 2017 at 12:02:40 PM UTC+5:30, Meeran Rizvi wrote:
>> Hello Guys,
>> Here i am creating a GUI which will act as a search engine that will find
>> the results from the browser and save the results as a xls file. When i
>> typed something in my search box
On Monday, January 30, 2017 at 12:02:40 PM UTC+5:30, Meeran Rizvi wrote:
> Hello Guys,
> Here i am creating a GUI which will act as a search engine that will find the
> results from the browser and save the results as a xls file.
> When i typed something in my search box and click the (GO)button.I
hmmeeranrizv...@gmail.com wrote:
> Hello Guys,
> Here i am creating a GUI which will act as a search engine that will find
> the results from the browser and save the results as a xls file. When i
> typed something in my search box and click the (GO)button.It should
> display search in progress.wh
Hello Guys,
Here i am creating a GUI which will act as a search engine that will find the
results from the browser and save the results as a xls file.
When i typed something in my search box and click the (GO)button.It should
display search in progress.when the file is saved it should display don
On Thu, Apr 25, 2013 at 3:08 AM, Daniel Kersgaard
wrote:
> import tkinter
> import tkinter.messagebox
>
> class MyGui:
> def _init_(self):
> ... all code here
>
> poop = MyGui()
As already mentioned, changing that to __init__ makes everything work
(I just tested in Python 3.3 on Windows). But
On 4/24/2013 1:53 PM, Chris “Kwpolska” Warrick wrote:
Please try fixing it and running it _outside of IDLE_, which is also
built in Tk
The default mode of Idle runs user code in a separate process. Editing
tkinter code with Idle and running it (in the separate process) should
be no problem.
On 2013-04-24, Arnaud Delobelle wrote:
> His class is not a frame, it's just a container for the tkinter
> code. It's a bit unusual but it looks correct to me (apart from
> the single underscores in __init__() as spotted by Ned
> Batchelder).
I dunno if it makes any difference, but it's usual to
On 24 April 2013 18:53, Chris “Kwpolska” Warrick wrote:
> On Wed, Apr 24, 2013 at 7:08 PM, Daniel Kersgaard
> wrote:
>> Today, being the last day of lectures at school, my instructor ran briefly
>> through Tkninter and GUIs. I'd been looking forward to this particular
>> lesson all semester, bu
On 4/24/2013 1:08 PM, Daniel Kersgaard wrote:
Today, being the last day of lectures at school, my instructor ran briefly
through Tkninter and GUIs. I'd been looking forward to this particular lesson
all semester, but when I got home and copied a sample program from my textbook
verbatim, IDLE
On Wed, Apr 24, 2013 at 7:08 PM, Daniel Kersgaard
wrote:
> Today, being the last day of lectures at school, my instructor ran briefly
> through Tkninter and GUIs. I'd been looking forward to this particular lesson
> all semester, but when I got home and copied a sample program from my
> textboo
On 04/24/2013 01:08 PM, Daniel Kersgaard wrote:
Today, being the last day of lectures at school, my instructor ran briefly
through Tkninter and GUIs. I'd been looking forward to this particular lesson
all semester, but when I got home and copied a sample program from my textbook
verbatim, IDLE
Today, being the last day of lectures at school, my instructor ran briefly
through Tkninter and GUIs. I'd been looking forward to this particular lesson
all semester, but when I got home and copied a sample program from my textbook
verbatim, IDLE does nothing. No error, no nothing. Any ideas? He
On Friday 19 April 2013 22:16:18 Chris Angelico did opine:
> On Sat, Apr 20, 2013 at 9:10 AM, Dennis Lee Bieber
>
> wrote:
> > On Fri, 19 Apr 2013 09:24:36 +1000, Chris Angelico
> >
> > declaimed the following in gmane.comp.python.general:
> >> On Fri, Apr 19, 2013 at 8:57 AM, Walter Hurry
w
On Sat, Apr 20, 2013 at 9:10 AM, Dennis Lee Bieber
wrote:
> On Fri, 19 Apr 2013 09:24:36 +1000, Chris Angelico
> declaimed the following in gmane.comp.python.general:
>
>> On Fri, Apr 19, 2013 at 8:57 AM, Walter Hurry
>> wrote:
>> > On Fri, 19 Apr 2013 08:00:11 +1000, Chris Angelico wrote:
>> >
On 19/04/2013 10:42, Alister wrote:
On Thu, 18 Apr 2013 23:24:29 +0200, Tracubik wrote:
Hi all!
I'm trying to make a simple program that essentially do this:
1) open a html file (extracted epub file)
2) search for occurrences like "ita-ly"
3) put them on a simple GUI: 1 text field and two butt
Hi,
> These days, GUI programming is to me just
> programming and calling on certain libraries/modules.
+1
> One thing you may want to consider is using your main thread for the
> UI, and spinning off another thread to do your search. But do that
> ONLY if you know you understand threads, and thr
On Thu, 18 Apr 2013 23:24:29 +0200, Tracubik wrote:
> Hi all!
> I'm trying to make a simple program that essentially do this:
>
> 1) open a html file (extracted epub file)
> 2) search for occurrences like "ita-ly"
> 3) put them on a simple GUI: 1 text field and two buttons: keepy it and
> correct
On Fri, Apr 19, 2013 at 8:57 AM, Walter Hurry wrote:
> On Fri, 19 Apr 2013 08:00:11 +1000, Chris Angelico wrote:
>
>> But 1 Corinthians 13:11
>
> You are grown up now, I surmise.
:) Born in 1984, so that'll give you some idea where I was in the 1990s.
ChrisA
--
http://mail.python.org/mailman/li
On Fri, 19 Apr 2013 08:00:11 +1000, Chris Angelico wrote:
> But 1 Corinthians 13:11
You are grown up now, I surmise.
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, Apr 19, 2013 at 7:36 AM, Tracubik wrote:
> On 18/04/2013 23:27, John Gordon wrote:
>>
>> In <5170648d$0$1368$4fafb...@reader2.news.tin.it> Tracubik
>> writes:
>>
>>> i suppose i've to first generate the window and than populate it, but
>>> where i've to put the "search for occurences" cod
On 18/04/2013 23:27, John Gordon wrote:
In <5170648d$0$1368$4fafb...@reader2.news.tin.it> Tracubik
writes:
i suppose i've to first generate the window and than populate it, but
where i've to put the "search for occurences" code? I don't think init()
is the right place..
What GUI library are
In <5170648d$0$1368$4fafb...@reader2.news.tin.it> Tracubik
writes:
> i suppose i've to first generate the window and than populate it, but
> where i've to put the "search for occurences" code? I don't think init()
> is the right place..
What GUI library are you using?
--
John Gordon
Hi all!
I'm trying to make a simple program that essentially do this:
1) open a html file (extracted epub file)
2) search for occurrences like "ita-ly"
3) put them on a simple GUI: 1 text field and two buttons: keepy it and
correct it (i.e. it will become italy)
now this is quite simple but ho
30 matches
Mail list logo