Re: [Tutor] Removing open bracket, content, close bracket content...

2016-01-13 Thread Alan Gauld
On 13/01/16 22:25, Sam Starfas via Tutor wrote: Hi Sam, Could you repost using plain text please? As you can see below the htnml/rich text option destroys the formatting of the data and code making it near impossible to read. > Hi,I am new to Python and trying to create a script that will remove

Re: [Tutor] idle??

2016-01-13 Thread Danny Yoo
>> So, where does IDLE fit into this > > IDLE is a sad little “IDE”, which is really ugly, because it’s written > in Tk. It lacks many IDE features. It comes with a really basic > debugger (that doesn’t even highlight the line that is being currently > executed…), function signature hinting, an

[Tutor] Removing open bracket, content, close bracket content...

2016-01-13 Thread Sam Starfas via Tutor
Hi,I am new to Python and trying to create a script that will remove content wrapped in brackets.For example I want to remove from each line the following:[!L] [20][!20+:2]etc But when I run my script I only get the last line of the content. It is correct as far as the output I want, but I d

Re: [Tutor] 12 year old starting to code

2016-01-13 Thread Mark Lawrence
On 13/01/2016 18:08, Alan Gauld wrote: On 13/01/16 14:51, Mark Lawrence wrote: OK, It should be in C:\Python35\Lib\idelib That's not the default for 3.5, see https://docs.python.org/3/using/windows.html Thanks for catching that. I based it on my ActiveState 3.4 install, but... I never use

Re: [Tutor] me, my arm, my availability ...

2016-01-13 Thread Mark Lawrence
On 13/01/2016 20:47, Laura Creighton wrote: I fell recently. Ought to be nothing, but a small chip of bone, either an existing one or one I just made is nicely wedged in the joint taking away a whole lot of the ability of my arm to rotate in the elbow joint. Or hold my arm in a position that i

Re: [Tutor] idle??

2016-01-13 Thread Mark Lawrence
On 08/01/2016 23:42, Alan Gauld wrote: On 08/01/16 19:07, bruce wrote: Is IDLE essentially an ide for doing py dev? I see there's a windows/linux (rpms) for it. Yes, its the official IDE for Python. There is an "unofficial" version called xidle which tends to get a lot of the new stuff befor

Re: [Tutor] PLEASE I NEED HELP URGENTLY

2016-01-13 Thread Tim Golden
On 13/01/2016 20:51, Tim Golden wrote: Speaking as the list moderator in question over there: if I might moderate Mark's well-known zeal... (Absolutely no pun intended!) TJG ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscriptio

Re: [Tutor] PLEASE I NEED HELP URGENTLY

2016-01-13 Thread Tim Golden
On 13/01/2016 20:44, Mark Lawrence wrote: On 13/01/2016 18:13, Alan Gauld wrote: On 13/01/16 17:53, Mark Lawrence wrote: This is beyond a joke. The main mailing list is all ready being moderated because of the constant messages asking for help on this presumably homework question. Can these b

Re: [Tutor] idle??

2016-01-13 Thread Mark Lawrence
On 09/01/2016 10:38, Chris Warrick wrote: On 8 January 2016 at 20:07, bruce wrote: So, where does IDLE fit into this IDLE is a sad little “IDE”, which is really ugly, because it’s written in Tk. It lacks many IDE features. It comes with a really basic debugger (that doesn’t even highlight

[Tutor] me, my arm, my availability ...

2016-01-13 Thread Laura Creighton
I fell recently. Ought to be nothing, but a small chip of bone, either an existing one or one I just made is nicely wedged in the joint taking away a whole lot of the ability of my arm to rotate in the elbow joint. Or hold my arm in a position that is usual for typing. Plus, now that the sprai

Re: [Tutor] PLEASE I NEED HELP URGENTLY

2016-01-13 Thread Mark Lawrence
On 13/01/2016 18:13, Alan Gauld wrote: On 13/01/16 17:53, Mark Lawrence wrote: This is beyond a joke. The main mailing list is all ready being moderated because of the constant messages asking for help on this presumably homework question. Can these be stopped at source here please? I'm not

Re: [Tutor] PLEASE I NEED HELP URGENTLY

2016-01-13 Thread Alan Gauld
On 13/01/16 17:53, Mark Lawrence wrote: > This is beyond a joke. The main mailing list is all ready being > moderated because of the constant messages asking for help on this > presumably homework question. Can these be stopped at source here please? I'm not sure we should. This is the kind of

Re: [Tutor] 12 year old starting to code

2016-01-13 Thread Alan Gauld
On 13/01/16 14:51, Mark Lawrence wrote: >> OK, It should be in C:\Python35\Lib\idelib > > That's not the default for 3.5, see > https://docs.python.org/3/using/windows.html Thanks for catching that. I based it on my ActiveState 3.4 install, but... I never use the default install and usually in

Re: [Tutor] Fwd: RE: Thread output to GUI Text Field

2016-01-13 Thread Patrycja Niewosz
Hi Alan, The code is working now. Thanks, Patrycja -Original Message- From: Tutor [mailto:tutor-bounces+pniewosz=slb@python.org] On Behalf Of Alan Gauld Sent: Tuesday, January 12, 2016 11:32 AM To: tutor@python.org Subject: Re: [Tutor] Fwd: RE: Thread output to GUI Text Field On 12/

Re: [Tutor] PLEASE I NEED HELP URGENTLY

2016-01-13 Thread Mark Lawrence
On 09/01/2016 19:54, precious akams via Tutor wrote: PLEASE I NEED A LITTLE HELP . I can figure out what Iam missing in this project Create a class called BankAccount This is beyond a joke. The main mailing list is all ready being moderated because of the constant messages asking for help on

Re: [Tutor] 12 year old starting to code

2016-01-13 Thread Mark Lawrence
On 12/01/2016 00:11, Alan Gauld wrote: CCd to list for info On 11/01/16 22:55, Steven Molter wrote: I'm running Python 3.5.1 on windows 10. OK, It should be in C:\Python35\Lib\idelib That's not the default for 3.5, see https://docs.python.org/3/using/windows.html -- My fellow Pythonista

Re: [Tutor] Question about the memory manager

2016-01-13 Thread eryk sun
On Wed, Jan 13, 2016 at 2:01 AM, Albert-Jan Roskam wrote: > I sometimes check the Task Manager to see how much RAM is in use. Is there a > Python way to do something similar? Use the psutil module to solve this problem across platforms. For Windows only, you can use ctypes to call GetProcessMemo

Re: [Tutor] Question about the memory manager

2016-01-13 Thread Albert-Jan Roskam
> From: tim.pet...@gmail.com > Date: Sun, 10 Jan 2016 10:54:10 -0600 > Subject: Re: [Tutor] Question about the memory manager > To: sjeik_ap...@hotmail.com > CC: tutor@python.org > > [Albert-Jan Roskam ] > > I just found a neat trick to free up an emergency stash of memory in > > a funtion that ov

Re: [Tutor] Question about the memory manager

2016-01-13 Thread Albert-Jan Roskam
> To: tutor@python.org > From: __pete...@web.de > Date: Sun, 10 Jan 2016 18:29:06 +0100 > Subject: Re: [Tutor] Question about the memory manager > > Albert-Jan Roskam wrote: > > > Hi, > > > > I just found a neat trick to free up an emergency stash of memory in a > > funtion that overrides sys.ex