Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
e
f
n
o
p
r
s
t
Functions
Variables
a
c
d
e
f
n
p
r
s
t
Classes
Class List
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
x
y
z
~
Functions
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
w
~
Variables
a
b
c
d
f
g
i
l
m
n
p
q
r
s
t
w
x
z
Typedefs
Enumerations
Enumerator
Related Functions
Files
File List
File Members
All
Functions
Macros
test
test_file.py
Go to the documentation of this file.
1
#! /usr/bin/env python
2
3
import
shutil
4
import
tempfile
5
6
tmp = tempfile.TemporaryFile(mode=
'r+'
)
7
tmp.write(
"This is a test\n"
)
8
f = open(
"my_file.txt"
,
'w'
)
9
tmp.seek(0)
10
shutil.copyfileobj(tmp, f)
openni_camera
Author(s): Patrick Mihelich, Suat Gedikli, Radu Bogdan Rusu
autogenerated on Thu Apr 21 2022 02:37:23