ChatGPT custom prompts
This commit is contained in:
10
CustomInstructions/ChatGPT/knowledge/David/update_time.py
Normal file
10
CustomInstructions/ChatGPT/knowledge/David/update_time.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import datetime
|
||||
|
||||
def update_time():
|
||||
current_time = datetime.datetime.now().isoformat()
|
||||
with open('time_tracker.txt', 'w') as file:
|
||||
file.write(current_time)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
update_time()
|
||||
Reference in New Issue
Block a user