Files
pynkode/nkode_demo.ipynb
2024-07-12 19:29:14 -05:00

90 lines
1.7 KiB
Plaintext

{
"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,
"outputs": [],
"source": [],
"metadata": {
"collapsed": false
}
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.6"
}
},
"nbformat": 4,
"nbformat_minor": 0
}