From alan.gauld at yahoo.co.uk Thu Jan 14 20:02:29 2021 From: alan.gauld at yahoo.co.uk (Alan Gauld) Date: Fri, 15 Jan 2021 01:02:29 +0000 Subject: [Idle-dev] how to run a program In-Reply-To: References: Message-ID: On 25/12/2020 19:10, kostas margelos wrote: > To whom it may concern, > > I just installed python 3.9.1(64bit) on my pc and trying to learn how to > program. There are a ton of videos on YouTube on starting with IDLE, try watching one of those. If your bandwidth is limited an old-school text/graphics tutorial is here: https://www.hashcollision.org/hkn/python/idle_intro/ It's very old (uses Python v2.4!) but apart from needing to put () around your print strings it's still valid. ie use print("Hello") instead of print "Hello" Or look at the introductory sections in my tutorial(see below) for other options. -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos From bhermannegro at bhermann.space Wed Jan 20 05:18:59 2021 From: bhermannegro at bhermann.space (bhermannegro at bhermann.space) Date: Wed, 20 Jan 2021 11:18:59 +0100 Subject: [Idle-dev] shortcuts 4 file menu don't work Message-ID: Hello all ! sorry to send this, but i didn't find anything on the web even on google. It is about idle-python 3.8 and 3.9 on kubuntu (ubuntu + plasma kde) 20: 1) about, shortcuts for open, close files etc.. do not work (CNTR+X or CNTR+S ... +O and so on) 2) with the mouse, ok, i can do the commands, but the file's names won't immediately appear (must "onmouseover" the square icons in the menu to let appears the name's files.) bye for now! bruno From tjreedy at udel.edu Wed Jan 20 23:58:45 2021 From: tjreedy at udel.edu (Terry Reedy) Date: Wed, 20 Jan 2021 23:58:45 -0500 Subject: [Idle-dev] shortcuts 4 file menu don't work In-Reply-To: References: Message-ID: On 1/20/2021 5:18 AM, bhermannegro at bhermann.space wrote: > Hello all ! > > sorry to send this, but i didn't find anything on the web even on google. > > It is about idle-python 3.8 and 3.9 on kubuntu (ubuntu + plasma kde) 20: > > 1) about, shortcuts for open, close files etc.. do not work (CNTR+X or > CNTR+S ... +O and so on) > > 2) with? the mouse, ok, i can do the commands, but the file's names > won't immediately appear (must "onmouseover" the square icons in the > menu to let appears the name's files.) I am aware that shortcuts are messed up on Mac. It would probably help to know if this Linux issue is kubuntu only, ubuntu only, or general linus. -- Terry Jan Reedy From taleinat at gmail.com Thu Jan 21 03:16:49 2021 From: taleinat at gmail.com (Tal Einat) Date: Thu, 21 Jan 2021 10:16:49 +0200 Subject: [Idle-dev] shortcuts 4 file menu don't work In-Reply-To: References: Message-ID: The shortcuts work as expected for me with Python 3.8 and 3.9 (installed via apt) on Ubuntu 20.04 with the default window manager. On Thu, Jan 21, 2021 at 6:59 AM Terry Reedy wrote: > On 1/20/2021 5:18 AM, bhermannegro at bhermann.space wrote: > > Hello all ! > > > > sorry to send this, but i didn't find anything on the web even on google. > > > > It is about idle-python 3.8 and 3.9 on kubuntu (ubuntu + plasma kde) 20: > > > > 1) about, shortcuts for open, close files etc.. do not work (CNTR+X or > > CNTR+S ... +O and so on) > > > > 2) with the mouse, ok, i can do the commands, but the file's names > > won't immediately appear (must "onmouseover" the square icons in the > > menu to let appears the name's files.) > > I am aware that shortcuts are messed up on Mac. It would probably help > to know if this Linux issue is kubuntu only, ubuntu only, or general linus. > > -- > Terry Jan Reedy > > > _______________________________________________ > IDLE-dev mailing list > IDLE-dev at python.org > https://mail.python.org/mailman/listinfo/idle-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.wichmann at ieee.org Thu Jan 21 11:17:02 2021 From: m.wichmann at ieee.org (Mats Wichmann) Date: Thu, 21 Jan 2021 09:17:02 -0700 Subject: [Idle-dev] shortcuts 4 file menu don't work In-Reply-To: References: Message-ID: Same here with Fedora and Linux Mint using Cinnamon. But those have to be let through by the wm - that is, Plasma is probably the first place to look. On Thu, Jan 21, 2021 at 1:17 AM Tal Einat wrote: > The shortcuts work as expected for me with Python 3.8 and 3.9 (installed > via apt) on Ubuntu 20.04 with the default window manager. > > On Thu, Jan 21, 2021 at 6:59 AM Terry Reedy wrote: > >> On 1/20/2021 5:18 AM, bhermannegro at bhermann.space wrote: >> > Hello all ! >> > >> > sorry to send this, but i didn't find anything on the web even on >> google. >> > >> > It is about idle-python 3.8 and 3.9 on kubuntu (ubuntu + plasma kde) 20: >> > >> > 1) about, shortcuts for open, close files etc.. do not work (CNTR+X or >> > CNTR+S ... +O and so on) >> > >> > 2) with the mouse, ok, i can do the commands, but the file's names >> > won't immediately appear (must "onmouseover" the square icons in the >> > menu to let appears the name's files.) >> >> I am aware that shortcuts are messed up on Mac. It would probably help >> to know if this Linux issue is kubuntu only, ubuntu only, or general >> linus. >> >> -- >> Terry Jan Reedy >> >> >> _______________________________________________ >> IDLE-dev mailing list >> IDLE-dev at python.org >> https://mail.python.org/mailman/listinfo/idle-dev >> > _______________________________________________ > IDLE-dev mailing list > IDLE-dev at python.org > https://mail.python.org/mailman/listinfo/idle-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tjreedy at udel.edu Fri Jan 22 01:44:01 2021 From: tjreedy at udel.edu (Terry Reedy) Date: Fri, 22 Jan 2021 01:44:01 -0500 Subject: [Idle-dev] shortcuts 4 file menu don't work In-Reply-To: References: Message-ID: On 1/21/2021 11:17 AM, Mats Wichmann wrote: > Same here with Fedora and Linux Mint using Cinnamon.? But those have to > be let through by the wm - that is, Plasma is probably the first place > to look. > > On Thu, Jan 21, 2021 at 1:17 AM Tal Einat > wrote: > > The shortcuts work as expected for me with Python 3.8 and 3.9 > (installed via apt) on Ubuntu 20.04 with the default window manager. > > On Thu, Jan 21, 2021 at 6:59 AM Terry Reedy > wrote: > > On 1/20/2021 5:18 AM, bhermannegro at bhermann.space > wrote: > > Hello all ! > > > > sorry to send this, but i didn't find anything on the web > even on google. > > > > It is about idle-python 3.8 and 3.9 on kubuntu (ubuntu + > plasma kde) 20: > > > > 1) about, shortcuts for open, close files etc.. do not work > (CNTR+X or > > CNTR+S ... +O and so on) > > > > 2) with? the mouse, ok, i can do the commands, but the file's > names > > won't immediately appear (must "onmouseover" the square icons > in the > > menu to let appears the name's files.) > > I am aware that shortcuts are messed up on Mac.? It would > probably help > to know if this Linux issue is kubuntu only, ubuntu only, or > general linus. Absent information otherwise, I conclude that this is a 3rd-party issue between tcl/tk and the kubuntu graphics system. IDLE calls a tkinter method to bind a key action to a Python function. Tkinter wraps the python callback in a tcl function and asks tcl/tk to bind the key action to the tcl function. Getting the key event is between the OS and tcl. -- Terry Jan Reedy