Setting up your environment Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Create folder

A

mkdir foldername

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Create .py file

A

Navigate into the folder

touch filename.py

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Create Git Branch

A

(this is different if not already using a branch)

git branch branchname

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Start Virtual Environment

A

python3.8 -m venv .venv

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Activate Virtual Environment

A

source .venv/bin/activate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly