20221028
This commit is contained in:
1 parent
e5b346c7c3
commit
e8dc9dce9d
1 file changed
+25
@@ -222,6 +222,31 @@
|
|||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
"id": "eb24c1be-b5d3-4e61-a432-854a887746d4",
|
"id": "eb24c1be-b5d3-4e61-a432-854a887746d4",
|
||||||
|
"metadata": {
|
||||||
|
"tags": []
|
||||||
|
},
|
||||||
|
"outputs": [],
|
||||||
|
"source": [
|
||||||
|
"import json\n",
|
||||||
|
"import time\n",
|
||||||
|
"import os,sys,shutil\n",
|
||||||
|
"import glob\n",
|
||||||
|
"\n",
|
||||||
|
"fi_list = []\n",
|
||||||
|
"m_time = '20221020'\n",
|
||||||
|
"m_path = 'file/134/20221020/'\n",
|
||||||
|
"fl=glob.glob(f'{m_path}*_????????.pdf')\n",
|
||||||
|
"for fn in fl:\n",
|
||||||
|
" f_date = os.path.basename(fn).split('_')[1][:8]\n",
|
||||||
|
" if m_time <= f_date:\n",
|
||||||
|
" fi_list.append(fn)\n",
|
||||||
|
"fi_list"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "code",
|
||||||
|
"execution_count": null,
|
||||||
|
"id": "c758420a-e2a4-4260-a571-ff06ed030076",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": []
|
"source": []
|
||||||
|
|||||||
Reference in new issue
Block a user