Pal's Web Log
Programming - Linux, Ubuntu, Python, Django, Postgres, HTML, Cloud, Data Science etc.
Labels
Django
Docker
Google Cloud
Linux
Postgres
Python
Thursday, June 4, 2015
Python Interpreter - Removing leading dots.
Create a .pythonrc.py file with following lines in the default home directory (~):
import sys
sys.ps1 = '>>'
sys.ps2 = ''
Add the following line in .bashrc or profile file to export variable.
export PYTHONSTARTUP="~/.pythonrc.py"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment