nowin/README.md

32 lines
599 B
Markdown
Raw Normal View History

2024-07-02 18:51:26 +02:00
# Nowin
Makes your code only run on linux once imported.
**Installation:**
2024-07-02 18:51:26 +02:00
Find your site-packages folder using this command: (USER_SITE)
```
python3 -m site
```
And then clone the repository into the folder: (Dont forger to replace "<site-packages>" with your actual path.)
```
git clone https://teapot.informationsanarchistik.de/Wobbl/nowin.git <site-packages>
```
**Usage:**
Add this line on top of your code:
```
from nowin import nowin
```
To make it even harder to reprogram your code so that it runs on windows you can use this multiple times in your code:
```
if nowin.linux:
```