Python Tutorial 10 write to a text file

3 years ago
11

We will build a program to write to a text file in python with linux and mobaxterm. File input output (IO).

UPDATE: This tutorial was for Python 2.7. If you're using Python 3, to run a program you'll need to type python3 program_name.py.
Also printing is a little different in python 3, example: you would need Print ("Hello World") instead of Print "Hello World"

Loading comments...