In Flask documentation, for activating the virtualenv environment, the command is:
$ . venv/bin/activate
Can anyone explain how it works, what’s the first dot and why the shell script file in the second param in the shell command.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is the source command/dot operator, see e.g. http://ss64.com/bash/period.html