Skip to content

Jaasim2008/cakereader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReaderCake © Jaasim

ReaderCake --> Easy Read + Write Module For Python 3.7+


Available Functions:

  1. read_all()
  2. write_data()
  3. append_data()
  4. read_line()
  5. read_lines()

Usage :

read_all()
Returnes all data which was read on the file
Ex. print(read_all())


write_data(word)
Writes the Word ( Arg ) Into The File
Ex. write_data('abc'), file data : abc


append_data(word)
Appends word ( arg ) Into The File
Ex. append_data('xyz'), file data : abc xyz


read_line(line)
Returns The line Number Of Charecters In the File
Ex. print(read_line(5)) Output : abc x


read_lines(line)
Returns the No.Of Line On The File
Ex. print(read_lines(1)) Output : abc xyz


How to Install and Initialize :

pip install readercake

abc = ReaderCake(filename=example.txt, encoding=utf-8, filedir=C:/example.txt)

abc.(function)


Thank You!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages