73 lines
1.4 KiB
Plaintext
73 lines
1.4 KiB
Plaintext
{
|
|
"cells": [
|
|
{
|
|
"cell_type": "markdown",
|
|
"id": "intro",
|
|
"metadata": {},
|
|
"source": [
|
|
"# Test de ejecucion remota\n",
|
|
"Verificar comportamiento de [*] y outputs incrementales"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": null,
|
|
"id": "cell-quick",
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": [
|
|
"print('hello world')"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": null,
|
|
"id": "cell-sleep",
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": [
|
|
"import time\n",
|
|
"for i in range(5):\n",
|
|
" print(f'Step {i+1}/5')\n",
|
|
" time.sleep(2)\n",
|
|
"print('Done!')"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": null,
|
|
"id": "cell-progress",
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": [
|
|
"import time, sys\n",
|
|
"for i in range(10):\n",
|
|
" print(f'Progress: {(i+1)*10}%', flush=True)\n",
|
|
" time.sleep(1)\n",
|
|
"print('Finished!')"
|
|
]
|
|
}
|
|
],
|
|
"metadata": {
|
|
"kernelspec": {
|
|
"display_name": "Python 3 (ipykernel)",
|
|
"language": "python",
|
|
"name": "python3"
|
|
},
|
|
"language_info": {
|
|
"codemirror_mode": {
|
|
"name": "ipython",
|
|
"version": 3
|
|
},
|
|
"file_extension": ".py",
|
|
"mimetype": "text/x-python",
|
|
"name": "python",
|
|
"nbconvert_exporter": "python",
|
|
"pygments_lexer": "ipython3",
|
|
"version": "3.13.7"
|
|
}
|
|
},
|
|
"nbformat": 4,
|
|
"nbformat_minor": 5
|
|
}
|