This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Example of Python startup script
Type: Stage:
Components: Demos and Tools Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: fdrake Nosy List: fdrake, itamar
Priority: normal Keywords: patch

Created on 2001-03-23 18:55 by itamar, last changed 2022-04-10 16:03 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pystartup.py itamar, 2001-03-23 18:55 The startup script
Messages (2)
msg36193 - (view) Author: Itamar Shtull-Trauring (itamar) Date: 2001-03-23 18:55
Python has the ability to run a script at startup.
However, this feature has no examples and I'm not sure
how many people use it. I've written this script that
(using readline):

1) Turns on auto-complete
2) Makes the command history saved between sessions
3) Is a good example of a startup script

I think this should be in the examples or tools, so
that Python packagers can integrate this on platforms
where readline is available.
msg36194 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2001-07-18 19:23
Logged In: YES 
user_id=3066

Checked in with a little bit of explanatory text as part of
Doc/tut/tut.tex revisions 1.145 and 1.133.2.5.
History
Date User Action Args
2022-04-10 16:03:53adminsetgithub: 34223
2001-03-23 18:55:07itamarcreate