All Questions
1
question
3
votes
1
answer
4k
views
Passing parameters to python -c inside a bash function?
I need to print the value of a Django setting while in a Bash shell.
Basically, the command I'd like to run is python -c 'from django.conf import settings; print settings.MEDIA_ROOT'. I need to be in ...