Browse Source

Update 'basicIO/4-read_dataset.py'

pull/5/head
agit developer 4 years ago
parent
commit
6c009bccbd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      basicIO/4-read_dataset.py

+ 1
- 1
basicIO/4-read_dataset.py View File

@ -14,5 +14,5 @@ else:
Agit Datasets only allow read-only mode, the default mode "r" (open for reading text, synonym of "rt") Agit Datasets only allow read-only mode, the default mode "r" (open for reading text, synonym of "rt")
and "rb " (open for reading binary) are available. and "rb " (open for reading binary) are available.
''' '''
with open(dataset_path + 'data.txt', mode='rb', encoding=None) as file:
with open(dataset_path + 'datafile.txt', mode='rb', encoding=None) as file:
print(file.read()) print(file.read())

Loading…
Cancel
Save