Created
August 1, 2018 14:02
-
-
Save wynand1004/5a9fd2837140fcdf26e790a112d09ac4 to your computer and use it in GitHub Desktop.
Simple printing function to print one letter at a time in classic computer style!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
def machine_print(text, delay = 0.1): | |
for letter in text: | |
print(letter, end="", flush=True) | |
time.sleep(delay) | |
print() | |
machine_print("Greetings, Professor Falken. Shall we play a game?") | |
machine_print("How about a nice game of chess?") |
Author
wynand1004
commented
Dec 26, 2024
via email
Nice way to add a spam link - well done.
…On Fri, Dec 27, 2024 at 5:11 AM alexarafatonline ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
This is just amazing! I have seen the same script on 24 hours Printing
Shop in Abu Dhabi <https://quickprinting.ae/> blog.
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/wynand1004/5a9fd2837140fcdf26e790a112d09ac4#gistcomment-5363152>
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADG373W73GQJV6YJ4FPMIQ32HRPHJBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVA4TCMBYGQYDEN5HORZGSZ3HMVZKMY3SMVQXIZI>
.
You are receiving this email because you authored the thread.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment