Skip to content

MuhammadRuby/Thanos-Project-using-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Thanos Project - python edition

alt text

"perfectly palanced, as all things should be."

A fun and educational Python project that simulates the legendary Thanos Snap by randomly eliminating half of any dataset—files, records, or lists. Great for beginners exploring Python concepts, or Marvel fans who want a dramatic coding experience!

🚀 Overview

This project demonstrates Python fundamentals through a creative twist. Provide a list or target directory, and the script will “snap” away 50% of its contents using randomization.

You can use it to learn:

  • File handling
  • Randomization
  • Data structures
  • Timed effects
  • Modular programming

✨ Features

💥 Snap exactly 50% of items
📁 Works on lists or folders
🎭 Optional dramatic ASCII snap
🕒 Delayed cinematic effects
🔧 Easy-to-extend modular code

Installation

git clone https://github.com/MuhammadRuby/Thanos-Project-using-python.git

cd thanos-project

python snap_demo.py

💜 # Inspired By

Marvel’s Avengers: Infinity War

“Perfectly balanced, as all things should be.”

About

A fun Python project inspired by Marvel’s Thanos Snap! This program simulates the iconic “snap” by randomly removing (or “dusting”) half of a given dataset—files, names, records, or any list you provide. The goal is to demonstrate Python concepts like randomness, file handling, automation, terminal UI, and data manipulation in a creative.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors