Share your repls and programming experiences

← Back to all posts
Python OS
h
gramatgesj21 (13)

I had to make this:

https://repl.it/@gramatgesj21/python-os

This nice right?

Not really an os. See ya.

Comments
hotnewtop
gramatgesj21 (13)

I will update it soon.

elburg (37)

Oh shoot! I forgot it's time.struct_time(tm_year=2020, tm_mon=11, tm_mday=4, tm_hour=22, tm_min=20, tm_sec=16, tm_wday=2, tm_yday=309, tm_isdst=0)! Time for me to go!

gramatgesj21 (13)

I also find out that datetime works better lol.

angoveos (11)

Very nice.. But when I went on the time app it exited

hg0428 (192)

At least clear the screen every once in a while and color your text.
If you do not know how to clear the screen or color text:

import replit
replit.clear()
#clears the screen
print("\033[91mThis text is colored in red!\033[00m")
#prints out "This text is colored in red!" in red to the terminal

It is good.

amjad123 (2)

It's cool, i like it ;)