Explore my posts collection.
TIL: Python Print Buffer
I was watching Miguel Grinberg’s talk on Pycon 2017 Asynchronous Python for the Complete Beginner last night. And tried a code snippet on my computer which is not really connected to the talk or async programming.
from time import sleep def hello() -> None: print("Hello", end=" ") sleep(3) print("World!") if __name__ == "__main__": hello() What do you think will happen if we run the code? Terminal print’s Hello first, then after three seconds we see World! appear, right? Actually, no.
How to fix Bengali font issue in arch Linux
How to fix Bengali font issue in arch Linux So, every time I reinstall Arch, I must rediscover why my Bengali font is broken everywhere. Then I install every Bengali font universe has to offer, but it still doesn’t fix shit.