Skip to content

Commit e82fd2d

Browse files
Update README file
1 parent 642aa4d commit e82fd2d

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

  • working-with-the-python-operator-module

working-with-the-python-operator-module/README.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,14 @@ This folder contains supplementary code for the Real Python tutorial on [Working
44

55
## Setup
66

7-
Create and activate a virtual environment.
8-
9-
```bash
10-
$ python -m venv venv
11-
$ source venv/bin/activate
12-
```
13-
14-
For most of the examples, you'll use the `operator`, `pickle`, 'dataclasses' and `timeit` modules. All of these come built in to Python. No additional installation is necessary.
7+
For most of the examples, you'll use the `operator`, `pickle`, `dataclasses` and `timeit` modules. All of these come built in to Python. No additional installation is necessary.
158

169
## Usage
1710

18-
After creating and activating your virtual environment, you should be able to run each individual file normally:
11+
You can run each individual file with your local Python interpreter:
1912

2013
```bash
21-
(venv) $ python filename.py
14+
$ python filename.py
2215
```
2316

2417
You can find more information and context on the code blocks in [Working With the Python operator Module](https://realpython.com/python-operator-module/).

0 commit comments

Comments
 (0)