Skip to content

A lightweight Python-based Random Quote Generator that reads quotes from a JSON file and displays a random one every time it is run. Perfect for inspiration, fun, or learning how to work with JSON in Python.

License

Notifications You must be signed in to change notification settings

marwan-ahmed-23/random-quote-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Quote Generator

A simple Python project to display random inspirational quotes. This project is great for learning how to handle JSON data and work with randomization in Python.


✨ Features

  • Loads quotes from a JSON file.
  • Displays a random quote in the console.
  • Easily extendable with more quotes.

📖 Usage

  1. Clone the repository:

    git clone https://github.com/marwan-ahmed-23/random-quote-generator.git
    cd random-quote-generator
  2. Run the script:

    python random_quote.py
  3. Example output:

    "The best way to predict the future is to invent it." - Alan Kay

🤝 Contributing

Feel free to add more quotes to quotes.json or improve the code!

🌟 Show Your Support

If you found this project helpful, please consider giving it a ⭐ on GitHub. Your support means the world to us!

About

A lightweight Python-based Random Quote Generator that reads quotes from a JSON file and displays a random one every time it is run. Perfect for inspiration, fun, or learning how to work with JSON in Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages