Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spookylukey/django-replit-test1
https://github.com/spookylukey/django-replit-test1
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/spookylukey/django-replit-test1
- Owner: spookylukey
- Created: 2022-09-03T07:56:38.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-03T08:58:12.000Z (over 2 years ago)
- Last Synced: 2024-12-09T14:13:26.979Z (about 1 month ago)
- Language: Python
- Size: 15.7 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python on Replit
This is a template to get you started with Python on Replit. It's ready to go so you can just hit run and start coding!
## Running the repl
1. Setup a new secret environment variable (the lock icon) where the key is `SECRET_KEY` and the value is
a randomly generated token of 32 bits of randomnese. To generate such a token type this into the shell and hit Enter:
```
python
import secrets
secrets.token_urlsafe(32)
```
2. Hit run!See this 1 minute video for a walkthrough: [https://www.loom.com/share/ecc4e738149f4d1db3bcff01758b3e71](https://www.loom.com/share/341b5574d12040fb9fcbbff150777f1c)
## Installing packages
To add packages to your repl, you can just import directly in the file you want to use the package in, and it will automatically be installed when you press the run button. Like below:
```python
import math
import pandas as pd
```You could also install packages by using the Replit packager interface in the left sidebar.
## Help
If you need help you might be able to find an answer on our [docs](https://docs.replit.com) page. Feel free to report bugs and give us feedback [here](https://replit.com/support).