Hey buddy 👋,
Immediately, I’m going to take you on a bit of trip-within-my-laptop-screen type of journey. Day 6 of my “Be taught Information Science Like A Professional” and it’s significantly about file dealing with! I do know, I do know… not so catchy at first. However belief me, when you grasp it, it’ll really feel like newfound superpowers.
Let’s rewind a bit, we could?
I wakened with a mission: espresso in a single hand ☕, VS Code within the different (effectively, form of), and my mind all set to leap into the realm of file operations.
I had already dipped my toes into the fundamentals of Python — loops, features, and even some listing comprehensions. However now, it was time to get critical — to work with precise information, identical to the information scientists do in the true world.
So, I opened up my pocket book named 6.1-fileoperation.ipynb together with my trusty instance.txt file.
I’ll be trustworthy — once I first opened the .txt file, it seemed so plain:
Hey world
It is a new line