On 19/06/2021 07:50, Chris Angelico wrote:
On Sat, Jun 19, 2021 at 4:16 PM Rob Cliffe via Python-list
wrote:
On 18/06/2021 11:04, Chris Angelico wrote:
sys.version
'3.10.0b2+ (heads/3.10:33a7a24288, Jun 9 2021, 20:47:39) [GCC 8.3.0]'
def chk(x):
... if not(0 < x < 10): raise Excep
On Sat, Jun 19, 2021 at 5:13 PM Rob Cliffe via Python-list
wrote:
>
>
>
> On 19/06/2021 07:50, Chris Angelico wrote:
> > On Sat, Jun 19, 2021 at 4:16 PM Rob Cliffe via Python-list
> > wrote:
> >>
> >>
> >> On 18/06/2021 11:04, Chris Angelico wrote:
> >> sys.version
> >>> '3.10.0b2+ (heads/3.1
On Sat, 19 Jun 2021, MRAB wrote:
It looks like you're mixing some Python usage ("faker.names()") in with
command line usage.
MRAB,
You are correct. That was my problem.
Judging from the docs, I'd say you need something more like:
$ faker -o temp.out name
for 1 fake name or:
$ faker -r
liyaanns...@gmail.com 在 2021年6月18日 星期五下午2:28:35 [UTC+8] 的信中寫道:
> I am using Colab. How could solve this problem.
> import tkinter as Tk
> from tkinter import *
> import sys
> import os
> #create main window
> master = Tk()
> master.title("tester")
> master.geometry("300x100")
>
>
> #make
Christian Gollwitzer 在 2021年6月19日 星期六下午12:27:54 [UTC+8] 的信中寫道:
> Am 19.06.21 um 05:59 schrieb Jach Feng:
> import tkinter as Tk
> Tk
> > > 'C:\\Users\\jfong\\AppData\\Local\\Programs\\Python\\Python36-32\\lib\\tkinter\\__init__.py'>
> >
> from tkinter import *
> Tk
> >
Christian Gollwitzer 在 2021年6月19日 星期六下午1:54:46 [UTC+8] 的信中寫道:
> Am 19.06.21 um 07:16 schrieb Jach Feng:
> > Christian Gollwitzer 在 2021年6月19日 星期六下午12:27:54 [UTC+8] 的信中寫道:
> >> Am 19.06.21 um 05:59 schrieb Jach Feng:
> >> import tkinter as Tk
> >> Tk
> >>> >>> 'C:\\Users\\jfong\\AppData
On 6/18/2021 8:13 PM, Chris Angelico wrote:
On Sat, Jun 19, 2021 at 9:50 AM Terry Reedy wrote:
Why are there two separate bytecode blocks for the "raise Exception"?
Because one block must POP_TOP and other must not.
I'd have thought that the double condition would still be evaluated as
one
Am 19.06.21 um 05:59 schrieb Jach Feng:
import tkinter as Tk
Tk
from tkinter import *
Tk
tkinter
Traceback (most recent call last):
File "", line 1, in
NameError: name 'tkinter' is not defined
What's the point? That has no relation to the question.
"import A as B" does not define
On 6/18/2021 2:28 AM, Liya Ann Sunny wrote:
I am using Colab. How could solve this problem.
import tkinter as Tk
If you do this, import 'as tk'.
from tkinter import *
The second import overwrites the first since it imports tkinter.Tk as
'Tk'. Don't try to do both.
import sys
import os
Am 19.06.21 um 06:26 schrieb George Furbish:
On Saturday, June 19, 2021 at 12:22:31 AM UTC-4, Christian Gollwitzer wrote:
Am 19.06.21 um 02:03 schrieb George Furbish:
Does Tk support interpolation/subpixel positioning of canvas elements? (e.g.
images, text.) I have moving elements on my canvas
Am 19.06.21 um 07:16 schrieb Jach Feng:
Christian Gollwitzer 在 2021年6月19日 星期六下午12:27:54 [UTC+8] 的信中寫道:
Am 19.06.21 um 05:59 schrieb Jach Feng:
import tkinter as Tk
Tk
from tkinter import *
Tk
tkinter
Traceback (most recent call last):
File "", line 1, in
NameError: name 'tkinter' is not
Hello Team,
I have installed the Python 3.9.5 and trying to remove from the PC through
the Uninstall Program (All Possible ways - Through Control Panel or
Uninstall Python executable)
It just outputs saying Uninstall Successfully but nothing happening (Still
listed in Programs List) and even not
On 6/19/21 10:14 AM, Manish Jain wrote:
Hello Team,
I have installed the Python 3.9.5 and trying to remove from the PC through
the Uninstall Program (All Possible ways - Through Control Panel or
Uninstall Python executable)
It just outputs saying Uninstall Successfully but nothing happening (St
On 6/19/2021 12:42 AM, Christian Gollwitzer wrote:
Am 19.06.21 um 06:26 schrieb George Furbish:
On Saturday, June 19, 2021 at 12:22:31 AM UTC-4, Christian Gollwitzer
wrote:
Am 19.06.21 um 02:03 schrieb George Furbish:
Does Tk support interpolation/subpixel positioning of canvas
elements? (e.g.
Chris Angelico writes:
>>> sys.version
'3.10.0b2+ (heads/3.10:33a7a24288, Jun 9 2021, 20:47:39) [GCC 8.3.0]'
>>> def chk(x):
... if not(0 < x < 10): raise Exception
...
>>> dis.dis(chk)
2 0 LOAD_CONST 1 (0)
2 LOAD_FAST
Unrelated topic, but i thought Windows 10 will be retired anytime soon.
On Sun, Jun 20, 2021 at 5:58 AM Mats Wichmann wrote:
> On 6/19/21 10:14 AM, Manish Jain wrote:
> > Hello Team,
> >
> > I have installed the Python 3.9.5 and trying to remove from the PC
> through
> > the Uninstall Program (A
16 matches
Mail list logo