question: how install pythonstartup file runs on command? tried install /home directory ubuntu, said had insufficient permissions. furthermore, different places alternately should in caps or in lower case period before it. python command line guide not seem explain put file, or how change environment variable 'point' it.
thank in advance.
p.s. if explain how make work windows 7 well, appreciate use @ times.
knowledge:
system: ubuntu
python experience: limited
ubuntu experience: more limited.
in ~/.bashrc
:
export pythonstartup=$home/.pythonstartup
and put python code in $home/.pythonstartup
, like:
import rlcompleter import readline readline.parse_and_bind("tab: complete")
for more information pythonstartup
variable, read python man page:
$ man python
Comments
Post a Comment