CBSE CS and IP

CBSE Class 11 & 12 Computer Science and Informatics Practices Python Materials, Video Lecture

Showing posts with label File Handling. Show all posts
Showing posts with label File Handling. Show all posts
09 Jun

Files Opening Modes in Python File Handling

encode() String Function encode() The string encode() method returns encoded version of the given string. Since Python 3.0, strings are stored as Unicode, i.e. each character in the string is represented by a code point. So, each string is just a sequence of Unicode code points. For...
08 Jun

File Handling in Python - an Introduction

What is a file? Every file in the computer is just a series of bytes, which is arranged one after the other. All the bytes are of 8 bits, Hence each byte is a number between 0 and 255. As we discussed in the above point, every file consists of bytes. So, each file can be considered as a binary file.   But...