Re: Python running in the Command Prompt Window questions

2020-08-02 Thread dn via Python-list
On 03/08/2020 13:52, Steve wrote: When I double click on a .py file, it executes at the command prompt with black background and small white font. Is there python code to change the font size and background color? Ctrl-Shift-+ ? === FootNote: Would it be

Re: (Issue resolved!) Issue with Python module downloads from Library for a beginner Python coder.

2020-08-02 Thread Sarvesh Poddar via Python-list
Hi terry, I am so happy to mention that your suggestion worked! I moved the file from Tkinter to Lib and I am suddenly able to import the file.  Thanks you so much @Bob, @Arjun, @Cameron for your suggestions. I can finally move forward. I hope to contribute to this community in future after gain

Re: Issue with Python module downloads from Library for a beginner Python coder.

2020-08-02 Thread Sarvesh Poddar via Python-list
Hello Dennis, Sorry for my copy-paste error and thanks for highlighting the same. I will make sure that from next time I will maintain the line breaks. I tried opening it in CMD and it did open with the skewed triangle figure although I am still not able to use it in my IDLE environment. Unfortu

Python running in the Command Prompt Window questions

2020-08-02 Thread Steve
When I double click on a .py file, it executes at the command prompt with black background and small white font. Is there python code to change the font size and background color? === FootNote: Would it be ironic if Popeye’s chicken was fried in Olive Oil?

Re: questions re: calendar module

2020-08-02 Thread Richard Damon
On 8/2/20 5:38 PM, o1bigtenor wrote: > On Sun, Aug 2, 2020 at 2:08 PM Dennis Lee Bieber > wrote: >> On Sat, 1 Aug 2020 19:24:41 -0500, o1bigtenor >> declaimed the following: >> >>> It is very disappointing - - - -suggests that thinking outside the space of >>> one year is somehow deprecated. Fru

Re: questions re: calendar module

2020-08-02 Thread o1bigtenor
On Sun, Aug 2, 2020 at 2:08 PM Dennis Lee Bieber wrote: > > On Sat, 1 Aug 2020 19:24:41 -0500, o1bigtenor > declaimed the following: > > > > >It is very disappointing - - - -suggests that thinking outside the space of > >one year is somehow deprecated. Frustrated when what you do demands > >that

Re: questions re: calendar module

2020-08-02 Thread o1bigtenor
On Sun, Aug 2, 2020 at 2:28 PM Richard Damon wrote: > > On 8/2/20 12:58 PM, Dennis Lee Bieber wrote: > > Yet follows what most /print/ calendars contain (though some companies > > put the last four months of the current year in a 4-up page, before doing > > one month per page for the new yea

Re: Downloading Python

2020-08-02 Thread OmPs
It's quite possible you have a version mismatch. Try installing python 3.8 first. BtW, before the would you like to check what version python command reports. Sorry for top post. I am sending from my phone and bottom post pretty confusing here. On Mon, Aug 3, 2020, 00:56 Eryk Sun wrote: > On

Re: questions re: calendar module

2020-08-02 Thread Richard Damon
On 8/2/20 12:58 PM, Dennis Lee Bieber wrote: > Yet follows what most /print/ calendars contain (though some companies > put the last four months of the current year in a 4-up page, before doing > one month per page for the new year). "Daily planner" journals also tend to > cover just one year

Re: Downloading Python

2020-08-02 Thread Eryk Sun
On 8/1/20, MRAB wrote: > On 2020-08-01 21:58, Barry wrote: >> On 31-7-2020 22:10, Tanmay Shah wrote: >>> >>> After downloading Python 3.8.5 IDLE, an error message popped up, >>> saying the code execution cannot proceed because python38.dll was >>> not found. What should I do in order to use the Py

Re: Issue with Python module downloads from Library for a beginner Python coder.

2020-08-02 Thread Terry Reedy
On 8/2/2020 2:36 AM, Sarvesh Poddar via Python-list wrote: [I downloaded] https://mcsp.wartburg.edu/zelle/python/graphics.py) I have unmangled the traceback and added explanations. Traceback (most recent call last):  File "", line 1, in     import graphics You typed this in IDLE Shell in r

Re: Non IDE development strategy - what do others do that's fairly simple?

2020-08-02 Thread Chris Green
Cameron Simpson wrote: [snip fantastic explanation] Cameron, thanks for that long and detailed explanation. -- Chris Green · -- https://mail.python.org/mailman/listinfo/python-list

Re: Issue with Python module downloads from Library for a beginner Python coder.

2020-08-02 Thread Bob van der Poel
Do you have tkinter installed? The graphics.py module needs it to run. On Sat, Aug 1, 2020 at 11:36 PM Sarvesh Poddar via Python-list < python-list@python.org> wrote: > Hi, > I am currently using Python 3.8.5 with IDLE environment that comes > pre-installed with the Python application. I am usin

Re: questions re: calendar module

2020-08-02 Thread Peter Otten
Richard Damon wrote: > I would likely just build the formatter to start by assuming 6 week > months, and then near the end, after stacking the side by side months, > see if it can be trimmed out (easier to remove at the end then add if > needed) If you like some itertools gymnastics: you can form

Re: questions re: calendar module

2020-08-02 Thread Richard Damon
On 8/2/20 7:26 AM, o1bigtenor wrote: > The differences become very relevant for formatting. A month that has > 4 weeks takes a different amount of vertical space than a month that > has 6 weeks. The only month that has only 4 weeks would be Febuary, on non-lead years, that starts on Sunday (or wha

Re: questions re: calendar module

2020-08-02 Thread 2QdxY4RzWzUUiLuE
On 2020-08-02 at 06:26:10 -0500, o1bigtenor wrote: > On Sat, Aug 1, 2020 at 11:33 PM dn via Python-list > wrote: > > The fact that some months have fewer, or more, weeks to include, is > > largely irrelevant. The solution is a standard "merge" algorithm. (us > > 'silver surfers' cut our teeth o

Re: questions re: calendar module

2020-08-02 Thread o1bigtenor
On Sat, Aug 1, 2020 at 11:33 PM dn via Python-list wrote: > > On 02/08/2020 12:24, o1bigtenor wrote: > > On Sat, Aug 1, 2020 at 6:29 PM dn via Python-list > > wrote: > >> On 01/08/2020 23:36, o1bigtenor wrote: > >>> On Sat, Aug 1, 2020 at 1:29 AM dn via Python-list > >>> mailto:python-list@python

Re: Pygobject style question

2020-08-02 Thread Cameron Simpson
On 01Aug2020 13:32, Chris Green wrote: >Having (after lots of help from here, thank you) finally converted my >Python 2, gtk 2 program to Python 3 and pygobject gtk 3 I'm left with >a couple of what might be called style questions. > >I guess it's mostly down to what feels right to me but there ma

Re: Issue with Python module downloads from Library for a beginner Python coder.

2020-08-02 Thread Cameron Simpson
Diverting replies to tu...@python.org, a better place for all this. It looks like the error is in graphics.py, not in your file. Your line: from graphics import * is syntacticly correct. Something has mangled the line breaks in your traceback, which here appears as: When I write a diff