How to write values in csv files * 파이썬에서 csv 파일 쓰기 *** Assume you want to write numbers from 1 to 8 along the first column of a csv file; // CODE /////////////////////////// import csv fp = open('/home/test.csv','w') // csvWriter = csv.writer(fp, lineterminator = '\n') for i in range(1,9): csvWriter.writerow([i]) fp.close() 더보기 How to read values from csv files * 파이썬에서 csv파일 읽기 *** Assme you have test.csv file that stores some values; You can read the values in python using the following example code // CODE //////////////////////////////////// import tensorflow as tf import numpy as np import skimage.io as io import csv import os def get_csv_reader(filename, delimiter): reader = [] if not os.path.isfile(filename): print("No such file or directory!") e.. 더보기 [nvidia] How to deal with infinite log-in error ** 우분투 무한 로그인 에러 해결 ** Background : ubuntu16.04LTS + gtx1070 After installing GPU driver (downloaded from NVIDIA homepage) on ubuntu, I sometimes encounter 'infinite log-in error'. This is my temporary solution. "Just re-install" step1) open terminal by typing 'ctrl+alt+f1' step2) type password for log-in step3) move to directory where the graphic card driver installation file exists. (NVIDIA-XX.. 더보기 이전 1 ··· 59 60 61 62 63 64 65 66 다음