Тёмный

FutureRecovery.mp4 

XanderK110
Подписаться 587
Просмотров 10
50% 1

import time
import random
import os
import sys
Function to print text slowly, character by character
def slow_print(text, delay=0.1):
for char in text: #scary
sys.stdout.write(char)
sys.stdout.flush()
time.sleep(delay)
print() # New line at the end
Function to create random delays
def random_delay(min_delay=0.1, max_delay=0.5):
time.sleep(random.uniform(min_delay, max_delay))
Function to simulate random noises (beeps)
def random_noises(#gorillatag):
if os.name == 'nt': # Windows
for _ in range(random.randint(1, 3)):
print('\a', end='', flush=True) # ASCII bell character
random_delay(0.5, 1.5)
else: #viral MacOS/Linux
for _ in range(random.randint(1, 3)):
sys.stdout.write('\a')
sys.stdout.flush()
random_delay(0.5, 1.5)
Function to create a effect
def effect():
messages = [
"You shouldn't have opened this...",
]
random.shuffle(messages)
for message in messages:
random_noises()
slow_print(#shorts message delay=random.uniform(0.05, 0.2))
random_delay(1, 3)
Ĭţ'ş ţøø łåţę
Main function to run the effect
def main():
slow_print("nightmare...", delay=0.2)
random_delay(2, 4)
creepy_effect()
slow_print("Goodbye... for now.", delay=0.2)
random_noises()
if _name_ == "__main__":
main()

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
Reflection Short BTS & Scrapped Scenes
19:37
Sacrificing my Brother for Shiny Rocks...
11:03
Просмотров 1,1 тыс.
Reddit's deranged cookie cutter theories
9:22
Просмотров 806 тыс.
I tried Linux for a week, it was terrible but amazing
8:37
The 'Cougar' Epidemic - Young Men Dating Older Women
20:27
Is This The FINAL Episode of The Simpsons? - Season 36
11:24
Quick Look at OpenBSD
10:00
Просмотров 10 тыс.
A Modern Operating System in 1.44MBs
12:32
Просмотров 1,2 млн
What Went Wrong With Pizza Tower's Rework Build?
12:06