Searched refs:file (Results 1 – 7 of 7) sorted by relevance
64 self.file = None71 self.file = open(btsnoop_file_name, "wb")88 self.file.write(header)92 if self.file:93 self.file.close()123 self.file.write(pkt_hdr)130 if self.file:143 self.file.write(packet[8:10])145 self.file.write(data)153 if self.file:[all …]
84 with open(filename, "r") as file:85 line = file.readline()90 with open(lock_path, "w") as file:91 file.write(str(pid) + "\n")94 file.write(str(starttime) + "\n")108 with open(lock_path, "r") as file:110 his_pid = int(file.readline())115 his_starttime = int(file.readline())
534 def __init__(self, file): argument535 self.file = file536 self.generator = self.file.fetch()544 dump.file.close()546 def __open(self, file): argument548 file.open()549 self.dumps.append(self.Dump(file))551 print('{} so such file'.format(file))
106 (d) If the Work includes a "NOTICE" text file as part of its109 within such NOTICE file, excluding those notices that do not111 of the following places: within a NOTICE text file distributed116 of the NOTICE file are for informational purposes only and141 origin of the Work and reproducing the content of the NOTICE file.184 comment syntax for the file format. We also recommend that a185 file or class name and description of purpose be included on the192 you may not use this file except in compliance with the License.
64 indicated in the file; or72 in the file; or
229 The `<test>` argument is the name of the Python file (without .py) holding the code for the test to…
123 file = open(t, "r");124 lines = file.readlines();143 file.close();