[Tutor] new to python
n6ghost at gmail.com
Sun Jul 23 02:26:59 EDT 2017
Python 3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:14:34) [MSC v.1900 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
/windows 10 x64
new to python, but not really new to programming.
going through the beginners docs, I am stuck on the file handling opening:
my code so far:
f = open("C:\coderoot\python3\level1\inputfile.txt", 'r')
for line in file:
for line in f:
I want to try the different methods of opening files and reading them.
and processing the data. from there I will then start with writing to
any idea why that does not work?
More information about the Tutor