A script that displays random Bible verses to provide inspiration and reflection at the click of a button.
This project was built using the following technologies:
- Language: Python 3
- Core Modules:
datetimeandrandom(Standard Library)
This script was created to practice Python fundamentals. It allows users to quickly access different biblical passages, making it a great tool for daily devotionals or study sessions.
- Random verse selection.
- Day integration for logs or daily tracking.
- Lightweight and dependency-free (no external installations required).
Make sure you have Python installed on your system.
- Clone the repository:
git clone https://github.com/mxavier-dev/random-bible- Navigate to the folder:
cd random-bible/- Choose your preferred language and navigate to the folder:
cd English/or
cd Portuguese/- Run the script to create the file with list of chapters (Bible.txt):
Open your preferred terminal or IDE and run:
(The example uses the English version, but if you are using the Portuguese version, copy the command below and replace EN to PT-BR.)
python3 Bible_txt_EN.pyIf display a error 'python3 not found' make sure the python is installed. But if the error persists replace
python3topython
- Run the script to display a random chapter from the Bible and save it to another file (bible_readed.txt):
(The example uses the English version, but if you are using the Portuguese version, copy the command below and replace EN to PT-BR.)
python3 Bible_random_EN.pyDeveloped by Matheus de Freitas Xavier β’ Linkedin Profile