I had read "More on Defining Functions" sections of "The Python
Tutorial" carefully yesterday. One thing in the example code(Re: How can
an int be '+' with a tuple?) puzzles me again. It's the line 19:
def progress(*any):
threadQueue.put((onProgress, any + context))
action
On Sun, 03 Jun 2018 16:36:12 -0700, bellcanadardp wrote:
> hello peter ...how exactly would i solve this issue .i have a script
> that works in python 2 but not pytho3..i did 2 to 3.py ...but i still
> get the errro...character undefieed..unicode decode error cant decode
> byte 1x09 in line 74
On Tuesday, 22 May 2018 17:23:55 UTC-4, Peter J. Holzer wrote:
> On 2018-05-20 15:43:54 +0200, Karsten Hilbert wrote:
> > On Sun, May 20, 2018 at 04:59:12AM -0700, bellcanada...@gmail.com wrote:
> >
> > > On Saturday, 19 May 2018 19:48:20 UTC-4, Skip Montanaro wrote:
> > > > As Chris indicated,
Am 03.06.18 um 21:54 schrieb Jim Lee:> import tkinter as tk
from tkinter import ttk
root = tk.Tk()
cb = ttk.Combobox(root)
cb.grid(row=0, column=0, sticky='NSEW')
cb['values'] = ['one', 'two', 'three', 'four']
root.mainloop()
The text of the values in the combobox dropdown list is white on
whi
Given the following snippet (Python 3.6.5, Tk 8.6.8):
import tkinter as tk
from tkinter import ttk
root = tk.Tk()
cb = ttk.Combobox(root)
cb.grid(row=0, column=0, sticky='NSEW')
cb['values'] = ['one', 'two', 'three', 'four']
root.mainloop()
The text of the values in the combobox dropdown list i
On 2018-06-03 13:57:26 +1000, Ben Finney wrote:
> (For good reasons, attachments are dropped when messages are distributed
> on the forum.)
By "the forum" you mean Gmane? (I got the attachment over the mailing
list)
hp
--
_ | Peter J. Holzer| we build much bigger, better disaste
i am saran. i want to learn python programming.
--
https://mail.python.org/mailman/listinfo/python-list
moidee...@gmail.com wrote:
> I am a Newbie
>
> I have this code
>
> from tkinter import *
>
> root = Tk()
> root.geometry("1200x1000+30+30")
> # width x height + x_offset + y_offset:
> T = Text(root, height=10, width=100)
> T.place(x=20, y=30)
> for i in range(40):
>T.insert(END, "This is l
Hi,
Any ideas why this is happening ?
erob@marina:/home/www/open-neurosecurity.org/trunk$ schevo editor
zodb://127.0.0.1:4545
07:32:16 environ No en_CA translation found for domain kiwi
07:32:16 environ No en_CA translation found for domain gazpacho
libschevo 4.0.1 ::
Chris Warrick writes:
> On Sun, 3 Jun 2018 at 10:32, Cecil Westerhof wrote:
>>
>> When executing:
>> pip3 list --no-cache-dir --outdated
>>
>> I got:
>> prompt-toolkit 1.0.152.0.1wheel
>> PyGObject 3.28.23.28.3 sdist
>> youtube-dl 2018.5.30 2018.6.2 wheel
>
On Sun, 3 Jun 2018 at 10:32, Cecil Westerhof wrote:
>
> When executing:
> pip3 list --no-cache-dir --outdated
>
> I got:
> prompt-toolkit 1.0.152.0.1wheel
> PyGObject 3.28.23.28.3 sdist
> youtube-dl 2018.5.30 2018.6.2 wheel
>
> So I executed:
> pip3 insta
When executing:
pip3 list --no-cache-dir --outdated
I got:
prompt-toolkit 1.0.152.0.1wheel
PyGObject 3.28.23.28.3 sdist
youtube-dl 2018.5.30 2018.6.2 wheel
So I executed:
pip3 install --upgrade prompt-toolkit PyGObject youtube-dl
This gave:
Successf
Forgive my ignorance of "*any" notation. I don't have real experience of
using it in my codes so far, and didn't know those parameters were
packed as a tuple:-(
Steven D'Aprano 於 2018/6/3 下午 01:08 寫道:
On Sun, 03 Jun 2018 04:59:34 +, Steven D'Aprano wrote:
On Sun, 03 Jun 2018 10:55:04 +080
13 matches
Mail list logo