Skip to main content
Ctrl+K
F-Code Logo F-Code Logo

F-Code AI Crew

  • Python
  • Mathematics
  • Machine Learning
  • Deep Learning
  • Misc
  • F-Code AI GitHub
  • F-Code Facebook
  • Python
  • Mathematics
  • Machine Learning
  • Deep Learning
  • Misc
  • F-Code AI GitHub
  • F-Code Facebook

Section Navigation

Contents

  • Day 1
    • Variable
    • List
    • Numpy
    • Function
    • Further reading
    • Problem set
  • Day 2
    • Control Flow
    • Loops
    • Exception Handling
    • Testing
    • Debugging
  • Day 3
    • File I/O in Python
    • Dictionaries in Python
  • Day 6
    • Introduction to Streamlit
  • Python
  • Day 3

Day 3#

Contents

  • File I/O in Python
    • What is File I/O?
    • Opening a File
    • Reading from a File
    • Writing to a File
    • Using with Statement
    • Working with Files Line-by-Line
    • Checking File Existence (Optional)
    • File Methods Summary
    • Binary File I/O
    • Example in Some of Project
  • Dictionaries in Python
    • What is a Dictionary?
    • Creating a Dictionary
    • Accessing Elements
    • Modifying Elements
    • Adding Elements
    • Removing Elements
    • Dictionary Methods
    • Iterating Through a Dictionary
    • Nested Dictionaries
    • Dictionary Comprehension
    • Real-Life Usage Examples

previous

Debugging

next

File I/O in Python

© Copyright 2025, F-Code AI Crew.

Created using Sphinx 8.2.3.

Built with the PyData Sphinx Theme 0.16.1.