TODO! I still have to do the readme and everything. Ignore this for now
- Python 2.6 or higher
-
Clone the repository:
git clone https://github.com/suhaybu/simple-string-indexer.git
-
Setup a virtual environment [Optional]:
- Initialize the venv:
python3 -m venv .venv
- Activate (Linux/MacOS):
source .venv/bin/activate
- Acrivate (Windows):
.\.venv\Scripts\activate
- Initialize the venv:
-
Install the depdendencies:
pip install -r requirements.txt
Simply run the run.py
file in the directory.
python run.py
✔️ Create an awesome UI design
✔️ Create logic for Indexer
✔️ Create logic for finding index of a specific word
✔️ Create logic for finding index of a specific word
✔️ Handle inputs and outputs
✔️ Create logic for clear terminal
✔️ Create logic for logging
✔️ Create logic for printing formatted input/output
❌ Implementing logging logic into functions
❌ Finish README.md
❌ Restructure the poorly structured code
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ █▀ █ █▀▄▀█ █▀█ █░░ █▀▀ █▀ ▀█▀ █▀█ █ █▄░█ █▀▀ █ █▄░█ █▀▄ █▀▀ ▀▄▀ █▀▀ █▀█ ┃
┃ ▄█ █ █░▀░█ █▀▀ █▄▄ ██▄ ▄█ ░█░ █▀▄ █ █░▀█ █▄█ █ █░▀█ █▄▀ ██▄ █░█ ██▄ █▀▄ ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
:::::::::::::::::· Welcome user to my simple Python program! ·:::::::::::::::::
:::::::· Coded & designed by suhaybu. ASCII text https://fsymbols.com/ ·:::::::
::::::::::::::::::::::::::::::::· Your input: ·::::::::::::::::::::::::::::::::
╭─────────────────────────────────────────────────────────────────────────────╮
│ Time to put down your phone and get back to work! Enter my room code: │
│ 4XCKWRCSG to plant a 120-minute Osmanthus with me! │
╰─────────────────────────────────────────────────────────────────────────────╯
::::::::::::::::::::::::::::::· Indexed Result: ·::::::::::::::::::::::::::::::
╭─────────────────────────────────────────────────────────────────────────────╮
│ [0]Time [1]to [2]put [3]down [4]your [5]phone [6]and [7]get [8]back [9]to │
│ [10]work! [11]Enter [12]my [13]room [14]code: [15]4XCKWRCSG [16]to │
│ [17]plant [18]a [19]120-minute [20]Osmanthus [21]with [22]me! │
╰─────────────────────────────────────────────────────────────────────────────╯
:::::::::::::::::::::::::::::· Select an option: ·:::::::::::::::::::::::::::::
╔═════════════════════════════════════════════════════════════════════════════╗
║ 1. Find index of a specific word ║
║ 2. Find word at a specific index ║
║ 3. Input another String ║
║ 4. Exit ║
╚═════════════════════════════════════════════════════════════════════════════╝
:: Enter your choice:
- ASCII Art 🖌️ was generated using FSymbols.com
- colorama 🎨 library used for coloring the outputs!