Re: [Tutor] how to edit program files in Python?

2013-12-19 Thread Alan Gauld
On 19/12/13 19:33, Laurie Stephan wrote: Hello, My son and I just opened "Python for Kids" and we're working our way through the lessons. Sometimes he mistypes the lines and hits return and discovers after that that he made a mistake in the line. But, when we try to correct the line, we are not

Re: [Tutor] how to edit program files in Python?

2013-12-19 Thread David Robinow
On Thu, Dec 19, 2013 at 2:33 PM, Laurie Stephan wrote: > Hello, > My son and I just opened "Python for Kids" and we're working our way through > the lessons. Sometimes he mistypes the lines and hits return and discovers > after that that he made a mistake in the line. But, when we try to correct

Re: [Tutor] how to edit program files in Python?

2013-12-19 Thread Walter Prins
Hi, On 19 December 2013 19:33, Laurie Stephan wrote: > My son and I just opened "Python for Kids" and we're working our way through > the lessons. Sometimes he mistypes the lines and hits return and discovers > after that that he made a mistake in the line. But, when we try to correct > the lin

Re: [Tutor] how to edit program files in Python?

2013-12-19 Thread Dominik George
Hi, > My son and I just opened "Python for Kids" and we're working our way > through the lessons.  Sometimes he mistypes the lines and hits return > and discovers after that that he made a mistake in the line.  But, > when we try to correct the line, we are not able to.  We just get that > loud be

Re: [Tutor] Getting Started

2013-12-19 Thread eryksun
On Thu, Dec 19, 2013 at 8:46 AM, Oscar Benjamin wrote: > So what then is the purpose of running "cmd /c some_console_app"? For > example the git-bash launcher on my desktop runs > C:\WINDOWS\system32\cmd.exe /c ""Q:\TOOLS\Git\bin\sh.exe" --login -i" I guess you're using 32-bit XP. Looking at the

[Tutor] Pedantry

2013-12-19 Thread Keith Winston
On Thu, Dec 19, 2013 at 6:00 AM, wrote: > Correction: no practical way to discourage pedants from correcting anyone > has been found yet. Your statement has no effect (at best). > Correction: small positive effects might occur, but complete elimination of pedantry is unlikely. Negative effects a

[Tutor] how to edit program files in Python?

2013-12-19 Thread Laurie Stephan
Hello, My son and I just opened "Python for Kids" and we're working our way through the lessons.  Sometimes he mistypes the lines and hits return and discovers after that that he made a mistake in the line.  But, when we try to correct the line, we are not able to.  We just get that loud beepy s

Re: [Tutor] Saving files in Python, IDE's & editors

2013-12-19 Thread Alan Gauld
On 19/12/13 11:45, Oscar Benjamin wrote: Seriously though, I showed my girlfriend (a social worker) how to do alt-tab a couple of months ago and she was really pleased Never underestimate the ignorance of the average user. When work was slack a few years ago my boss put together a team of "IT

Re: [Tutor] Getting Started

2013-12-19 Thread Oscar Benjamin
On 19 December 2013 12:21, eryksun wrote: > On Thu, Dec 19, 2013 at 4:48 AM, Oscar Benjamin > wrote: >> >> The graphical window that you describe is called cmd.exe and it is the >> standard "terminal emulator" for Windows. > > Oscar, > > cmd doesn't create or manage the console window. That's don

Re: [Tutor] Getting Started

2013-12-19 Thread eryksun
On Thu, Dec 19, 2013 at 4:48 AM, Oscar Benjamin wrote: > > The graphical window that you describe is called cmd.exe and it is the > standard "terminal emulator" for Windows. Oscar, cmd doesn't create or manage the console window. That's done by another process that acts as the console server (co

Re: [Tutor] Saving files in Python, IDE's & editors

2013-12-19 Thread Oscar Benjamin
On 19 December 2013 11:15, spir wrote: > > I do agree with most of what you say, except for one point, actually more a > complement than an contradiction: I find it great whenever editors (I > virtually never used IDE's properly) have an integrated terminal (emulator, > in fact), like geany or ge

Re: [Tutor] Saving files in Python, IDE's & editors

2013-12-19 Thread spir
On 12/19/2013 12:56 AM, Steven D'Aprano wrote: On Tue, Dec 17, 2013 at 09:28:14PM -0500, Keith Winston wrote: On Tue, Dec 17, 2013 at 7:26 PM, wrote: What else do I need to do to make this version of Python an actually usable programming environment? Chris Acreman Chris, I'm also a noob,

Re: [Tutor] set locals

2013-12-19 Thread spir
On 12/18/2013 09:45 PM, Alan Gauld wrote: On 18/12/13 17:45, Mark Lawrence wrote: Can I be so bold as to ask how discussing metaclasses and __setattr__ on a tutor mailing list is going to help the newbie who's having problems with their "hello world" program? It won't, but the tutor list is a

Re: [Tutor] Getting Started

2013-12-19 Thread Peter Otten
Oscar Benjamin wrote: > I have to qualify my > statement with this caveat to discourage pedants from correcting me. Correction: no practical way to discourage pedants from correcting anyone has been found yet. Your statement has no effect (at best). ;)

Re: [Tutor] import error

2013-12-19 Thread Alan Gauld
On 19/12/13 09:14, prashant wrote: hi, I am trying add some python packages required for keystone,but I am getting following error, What is keystone? Do they have a support forum/mail list? /usr/lib/python2.6/site-packages/nose/plugins/manager.py:364: RuntimeWarning: Unable to load plugin pyl

Re: [Tutor] Getting Started

2013-12-19 Thread Oscar Benjamin
On 19 December 2013 00:11, Chris Acreman wrote: > > "Can you be more specific about the 'Python screen' ?" -- Amit > "How are you running Python at the moment? Is it just the command line > interpreter? Or do you have some kind of GUI tool?" -- Alan > > The "Python Screen" is what opens up when I

[Tutor] import error

2013-12-19 Thread prashant
hi, I am trying add some python packages required for keystone,but I am getting following error, /usr/lib/python2.6/site-packages/nose/plugins/manager.py:364: RuntimeWarning: Unable to load plugin pylons = pylons.test:PylonsPlugin: cannot import name fix_call I am stuck here,please anybody hel

Re: [Tutor] Getting Started

2013-12-19 Thread Alan Gauld
On 19/12/13 06:34, eryksun wrote: you need to set. You can read about them by typing 'help cmd' in the console itself. That's assuming the user ran cmd.exe to use its "help" command. Windows automatically opens a console window for python.exe if the process doesn't inherit one. That's what I w