PYTHONBREAKPOINT=remote_pdb.set_trace

2021-03-13 Thread Haroldo Stenger
hi, I'm using the new PYTHONBREAKPOINT=remote_pdb.set_trace feature in python 3.9.2. After breakpoint() is reached, the telnet server is enabled and I can connect to the debugger. Then f.i. I do 'cont' for resuming execution, and when the breakpoint() is reached again, the telnet session is stal

Re: Uninstall error

2021-03-13 Thread Mats Wichmann
On 3/12/21 10:52 AM, Premmy wrote: Hi. I am trying to uninstall python on my computer because i found a better one but its not getting deleted from control panel. can you please help me As already noted, it's really important to learn to give good details when asking for help, people who are g

Re: pygame font issue

2021-03-13 Thread Irv Kalb
You need to initialize the font system with this line before you attempt to load a font: pygame.font.init() Irv > On Mar 13, 2021, at 8:11 AM, MRAB wrote: > > On 2021-03-13 15:20, Quentin Bock wrote: >> Code that contains the problem: >> score_value = 0 >> font = pygame.font.SysFont('

Re: Why assert is not a function?

2021-03-13 Thread Richard Damon
On 3/12/21 8:58 AM, Chris Angelico wrote: > On Sat, Mar 13, 2021 at 12:11 AM Richard Damon > wrote: >> On 3/12/21 12:31 AM, Chris Angelico wrote: >>> On Fri, Mar 12, 2021 at 3:53 PM Cameron Simpson wrote: For me, try/except is for when something might reasonably "go wrong" in normal us

Re: Uninstall error

2021-03-13 Thread Peter Pearson
On Fri, 12 Mar 2021 17:52:33 +, Premmy wrote: > Hi. I am trying to uninstall python on my computer because i found a better > one but its not getting deleted from control panel. can you please help me Windows? Apple? Linux? -- To email me, substitute nowhere->runbox, invalid->com. -- htt

Re: IDLE python

2021-03-13 Thread Terry Reedy
On 3/11/2021 10:28 AM, Yoosuf Oluwatosin via Python-list wrote: I have tried to startup my IDLE python severally but it keeps giving the following message: IDLE’s subprocess didn’t make connection. See the ‘Startup Failure’ section of the IDLE doc online at https://docs.python.org/3/library/

Re: pygame font issue

2021-03-13 Thread MRAB
On 2021-03-13 15:20, Quentin Bock wrote: Code that contains the problem: score_value = 0 font = pygame.font.SysFont('freesansbold.ttf', 32) error: in font_constructor font = Font(fontpath, size) pygame.error: font not initialized Can someone explain why it's saying font not initialized and pro

pygame font issue

2021-03-13 Thread Quentin Bock
Code that contains the problem: score_value = 0 font = pygame.font.SysFont('freesansbold.ttf', 32) error: in font_constructor font = Font(fontpath, size) pygame.error: font not initialized Can someone explain why it's saying font not initialized and provide a solution? I have tried typing in the

Re: Packaging/MANIFEST.in: Incude All, Exclude .gitignore

2021-03-13 Thread Albert-Jan Roskam
you could call a simple bash script in a git hook that syncs your MANIFEST.in with your .gitignore. Something like: echo -n "exclude " > MANIFEST.in cat .gitignore | tr '\n' ' ' >> MANIFEST.in echo "graft $(readlink -f ./keep/this)" >> MANIFEST.in https://docs.python.org/2/distuti