Posts
Wednesday, 13 September 2017
Python (with ~ as)
-------------------------------------------
f= open('test.txt','r')
...
f.close()
--------------------------------------------
with open('test.txt','r') as f:
...
--------------------------------------------
'with open() as ' close the file automatically after the code end.
Subscribe to:
Posts (Atom)
[ new blog ]
new blog https://jihyo-jeon.github.io/
-
How to run ORB SLAM with your own data in Ubuntu 16.04 1. Take your video at a resolution of 640*480(VGA). 2. Save each frame of your ...
-
How to run ORB SLAM with KITTI Dataset Monocular Examples 1. Download the dataset ( grayscale images ) from http://www.cvlibs.net/da...
-
Find every file which have this error and add the codes below to it: #include <unistd.h> #include <stdio.h> #include <st...