We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a44accc commit de29b6fCopy full SHA for de29b6f
config_setup.py
@@ -16,13 +16,3 @@ def load_credentials_from_config():
16
config_data = toml.load(config_file)
17
return config_data.get("LEETCODE_SESSION"), config_data.get("CSRF_TOKEN")
18
return None, None
19
-
20
21
-def create_python_code_edit_file(question_id, title_slug, python3_code):
22
- if python3_code is None:
23
- print(f"No Python3 code snippet found for question '{question_id}'.")
24
- return
25
26
- file_name = f"code_editor/{question_id}_{title_slug}.py"
27
- with open(file_name, "w") as file:
28
- file.write(python3_code.code)
0 commit comments