You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:information_source: Please note that the best way to get support for Real Python courses & articles is to join one of our [weekly Office Hours calls](https://realpython.com/office-hours/) or in the [RP Community Slack](https://realpython.com/community/).
11
+
12
+
You can report issues and problems here, but we typically won't be able to provide 1:1 support outside the channels listed above.
13
+
14
+
**Describe the bug**
15
+
A clear and concise description of what the bug is.
16
+
17
+
**To Reproduce**
18
+
Steps to reproduce the behavior:
19
+
1. Go to '...'
20
+
2. Click on '....'
21
+
3. Scroll down to '....'
22
+
4. See error
23
+
24
+
**Expected behavior**
25
+
A clear and concise description of what you expected to happen.
26
+
27
+
**Screenshots**
28
+
If applicable, add screenshots to help explain your problem.
29
+
30
+
**Desktop (please complete the following information):**
31
+
- OS: [e.g. iOS]
32
+
- Browser [e.g. chrome, safari]
33
+
- Version [e.g. 22]
34
+
35
+
**Smartphone (please complete the following information):**
The best way to get support for Real Python courses & articles and code in this repository is to join one of our [weekly Office Hours calls](https://realpython.com/office-hours/) or to ask your question in the [RP Community Slack](https://realpython.com/community/).
10
+
11
+
Due to time constraints we cannot provide 1:1 support via GitHub. See you on Slack or on the next Office Hours call 🙂
12
+
13
+
## Adding Source Code & Sample Projects to This Repo (RP Contributors)
14
+
15
+
### Running Code Style Checks
8
16
9
17
We use [flake8](http://flake8.pycqa.org/en/latest/) and [black](https://github.com/ambv/black) to ensure a consistent code style for all of our sample code in this repository.
10
18
@@ -15,7 +23,7 @@ $ flake8
15
23
$ black --check .
16
24
```
17
25
18
-
## Running Python Code Formatter
26
+
###Running Python Code Formatter
19
27
20
28
We're using a tool called [black](https://github.com/ambv/black) on this repo to ensure consistent formatting. On CI it runs in "check" mode to ensure any new files added to the repo are following PEP 8. If you see linter warnings that say something like "would reformat some_file.py" it means black disagrees with your formatting.
This is the repo to accompany the [Python Bindings](https://realpython.com/python-bindings-overview/) article.
4
+
5
+
To be able to run the code, you must first install the requirements:
6
+
7
+
```console
8
+
$ python -m pip install -r requirements.txt
9
+
```
10
+
This should be done inside a virtual environment.
11
+
12
+
Once that is installed, you can use the invoke tool mentioned in the article to build and run the tests. See the tasks.py file or run invoke --list to get more details.
Source code of the least-significant bit **steganography** example from the [Bitwise Operators in Python](https://realpython.com/python-bitwise-operators/) article.
4
+
5
+
## Installation
6
+
7
+
There are no external dependencies except for a Python interpreter.
8
+
9
+
## Running
10
+
11
+
Change directory to the current folder, where this `README.md` file is located, and then execute Python module:
0 commit comments