This commit is contained in:
liurui 2024-12-18 17:49:40 +08:00
commit 36e26427a7
5 changed files with 80 additions and 1562 deletions

View File

@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
@ -472,28 +472,22 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 8,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"20241124\n",
"20241125\n",
"20241126\n",
"20241127\n",
"20241128\n",
"20241129\n",
"20241130\n"
"20241209\n"
]
}
],
"source": [
"from datetime import datetime, timedelta\n",
"\n",
"start_date = datetime(2024, 11, 24)\n",
"end_date = datetime(2024, 12, 1)\n",
"start_date = datetime(2024, 12, 9)\n",
"end_date = datetime(2024, 12, 10)\n",
"\n",
"while start_date < end_date:\n",
" print(start_date.strftime('%Y%m%d'))\n",