Skip to content

akshatvyavahare/DSJourney

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DSJourney

Python Basics for Data Science

TABLE OF CONTENT

  1. Print() Statement
  2. Types of Objects
  3. Basic Mathematical Operations
  4. Basic String Operations
  5. Data Structures - Tuple
  6. Data Structures - List
  7. Data Structures - Dictionary
  8. Data Structures - Set
  9. Flow Control - Branch - Ifelse
  10. Flow Control - Loop - elseif

File name - Read Write text files

In this file we will see how to read a txt file in python, how to use the write function, which will then replace the content in the file and how to append the file, which helps us add lines to the existing strings in the txt file