refactor code
This commit is contained in:
@@ -1,60 +1,5 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 12,
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import string"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-07-10T23:28:52.928913Z",
|
||||
"start_time": "2024-07-10T23:28:52.924646Z"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 26,
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"attributes = string.ascii_letters + string.digits + string.punctuation\n",
|
||||
"attributes = attributes.replace(\"'\", \"\")\n",
|
||||
"attributes = attributes.replace('\"', \"\")\n",
|
||||
"attributes = attributes[:70]"
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-07-11T11:58:52.615905Z",
|
||||
"start_time": "2024-07-11T11:58:52.614545Z"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 28,
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": "70"
|
||||
},
|
||||
"execution_count": 28,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2024-07-11T12:00:03.004548Z",
|
||||
"start_time": "2024-07-11T12:00:03.000564Z"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
|
||||
Reference in New Issue
Block a user