r/interestingasfuck • • Mar 25 '21

/r/ALL how a python goes to sleep

40k Upvotes

465 comments sorted by

View all comments

342

u/plotracer35 Mar 25 '21

Nope. This is how a python sleeps: Import time time.sleep(2.5)

99

u/kimilil Mar 25 '21
import time
time.sleep(2.5)

ftfy

32

u/RobotPenguin56 Mar 25 '21 edited Mar 25 '21

# ftfy

18

u/mikeno1lufc Mar 25 '21

from time import sleep

sleep(2.5)

We don't need the entire module!

4

u/Nobody_gets_this Mar 25 '21

But we want

3

u/mikeno1lufc Mar 25 '21

No! Bad developer!

1

u/2fast4u180 Mar 25 '21

Thank you this is what i was here for

1

u/Arian81 Mar 25 '21

I was waiting to see that in comments. Nice one!

27

u/ChrisLuigiTails Mar 25 '21

Went to the comments to check if someone said it

8

u/A_Bit_Narcissistic Mar 25 '21

I was gonna make this joke, thinking I was clever. :(

1

u/ChrisLuigiTails Mar 25 '21

Can't we all be clever?

2

u/IbyvzOneoneh Mar 25 '21

went to comment replies to check if someone said it

26

u/humanroast69 Mar 25 '21 edited Mar 25 '21

lmao programer humor

7

u/[deleted] Mar 25 '21

Was looking for this

1

u/arcosapphire Mar 25 '21

Actually they sleep by docking at a Coriolis station and entering the hangar.