Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78520

Re: Restarting Python

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Restarting Python
Date 2014-09-30 22:35 -0400
Organization IISS Elusive Unicorn
References <447m2atpvha8jt21cpulq8qu5p92pmogk3@4ax.com> <mailman.14497.1412114737.18130.python-list@python.org> <l9am2a9mkpqri66i9ci6slf60qpd60i0b9@4ax.com>
Newsgroups comp.lang.python
Message-ID <mailman.14504.1412130954.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, 30 Sep 2014 18:07:32 -0400, Seymore4Head
<Seymore4Head@Hotmail.invalid> declaimed the following:

>On Tue, 30 Sep 2014 18:05:20 -0400, Ned Batchelder
><ned@nedbatchelder.com> wrote:
>
>>On 9/30/14 5:15 PM, Seymore4Head wrote:
>>> Since the developers of Python decided to make Python 3 non backward
>>> compatible, I can't help but wonder why they don't think a command to
>>> restart would be a useful addition?
>>>
>>
>>Starting a process over again in the same way is not something that is 
>>easy to do from within the process.  How are you running Python? Is it 
>>difficult to start it again?
>
>It is not difficult to start again.  It just seems like restart is a
>missing command.  I see many questions asking how to do it.

	Really?

	Where?

	Your's is the first occurrence I've seen in since I started with Python
(v1.3 or v1.4 -- on an Amiga).

	From a command shell? "Restart" is <kill process><up-arrow><return>

	Now, if you mean you want to wipe out any stuff defined in an
INTERACTIVE session -- then no... Since interactive sessions are really
just a convenience for testing stuff, and the real program should be a file
that is run from a command line...

-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Restarting Python Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-30 17:15 -0400
  Re: Restarting Python Grant Edwards <invalid@invalid.invalid> - 2014-09-30 21:27 +0000
    Re: Restarting Python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-01 00:24 +0100
  Re: Restarting Python Ned Batchelder <ned@nedbatchelder.com> - 2014-09-30 18:05 -0400
    Re: Restarting Python Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-30 18:07 -0400
      Re: Restarting Python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-09-30 22:35 -0400
  Re: Restarting Python Terry Reedy <tjreedy@udel.edu> - 2014-09-30 18:58 -0400
    Re: Restarting Python Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-09-30 19:16 -0400
      Re: Restarting Python Chris Angelico <rosuav@gmail.com> - 2014-10-01 10:30 +1000
    Re: Restarting Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-01 23:08 +1000
      Re: Restarting Python Rustom Mody <rustompmody@gmail.com> - 2014-10-01 06:39 -0700
  Re: Restarting Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-02 00:47 +1000
    Re: Restarting Python Terry Reedy <tjreedy@udel.edu> - 2014-10-01 13:52 -0400

csiph-web