Tempfile. TemporaryFile
It is best to use the TemporaryFile function to create a temporary file if your application needs a temporary file to store data, but it does not need to be shared with other programs. Other applications cannot find or open
Tempfile. Temporaryfile
How your application needs a temporary file to store data, but does not need to be shared with other programs, creating temporary files with the Temporaryfile function is the best option. The other application is unable to
Applications often need to save some temporary information, which is not particularly important. It is not necessary to write the information in the configuration file, but cannot be left blank. In this case, you can write the information into the
Tempfile. Temporaryfile
How your application needs a temporary file to store data, but does not need to be shared with other programs, creating temporary files with the Temporaryfile function is the best option. The file cannot be found or opened
Applications often need to save some temporary information, which is not particularly important. It is not necessary to write the information in the configuration file, but cannot be left blank. In this case, you can write the information into the
"""@author:P Eng (non-original)Reference: http://python.jobbole.com/81515/Record learning process"""Applications often want to keep some temporary information, which is not particularly important, it is not necessary to write in the configuration
The main functions are as follows:Tempfile. TemporaryfileHow your application needs a temporary file to store data, but does not need to be shared with other programs, creating temporary files with the Temporaryfile function is the best option. The
This article mainly introduces the learning notes of the Pythontempfile module and focuses on several functions in the module. if you need them, refer
Tempfile. TemporaryFile
It is best to use the TemporaryFile function to create a temporary file
In many cases, the program uses some temporary storage methods in the form of files.
You can use the tmpname function to generate a unique file name.
# Include
Char * tmpname (char * s)
The tmpname function returns a valid file name that does not
Well. Recently in the thing is also related to this, because C base slag slag. It takes a bit of effort to figure out what is almost forgotten.Each language has a file operation associated with it.In the example of flask today, I see this sentence.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.