recuperar

parent a7a5bae4
......@@ -1428,6 +1428,75 @@
"from IPython.display import HTML\n",
"HTML(filename=\"miModulo/tarea2_ejercicios1.html\")"
]
},
{
"cell_type": "code",
"execution_count": 27,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"wrote Test1.html\n"
]
}
],
"source": [
"%%bash\n",
"cd miModulo\n",
"pydoc -w Test1"
]
},
{
"cell_type": "code",
"execution_count": 18,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n",
"<html><head><title>Python: module Test1</title>\n",
"<meta charset=\"utf-8\">\n",
"</head><body bgcolor=\"#f0f0f8\">\n",
"\n",
"<table width=\"100%\" cellspacing=0 cellpadding=2 border=0 summary=\"heading\">\n",
"<tr bgcolor=\"#7799ee\">\n",
"<td valign=bottom>&nbsp;<br>\n",
"<font color=\"#ffffff\" face=\"helvetica, arial\">&nbsp;<br><big><big><strong>Test1</strong></big></big></font></td\n",
"><td align=right valign=bottom\n",
"><font color=\"#ffffff\" face=\"helvetica, arial\"><a href=\".\">index</a><br><a href=\"file:/home/carlosgarcia8/repos/tap1012/miModulo/Test1.py\">/home/carlosgarcia8/repos/tap1012/miModulo/Test1.py</a></font></td></tr></table>\n",
" <p><tt>Documentación&nbsp;para&nbsp;el&nbsp;test&nbsp;1&nbsp;de&nbsp;la&nbsp;materia&nbsp;de&nbsp;Tópicos&nbsp;Avanzados&nbsp;de&nbsp;Programación.<br>\n",
"Maestría&nbsp;GeoInteligencia&nbsp;Computacional&nbsp;a&nbsp;27&nbsp;de&nbsp;Enero&nbsp;del&nbsp;2019.</tt></p>\n",
"<p>\n",
"<table width=\"100%\" cellspacing=0 cellpadding=2 border=0 summary=\"section\">\n",
"<tr bgcolor=\"#eeaa77\">\n",
"<td colspan=3 valign=bottom>&nbsp;<br>\n",
"<font color=\"#ffffff\" face=\"helvetica, arial\"><big><strong>Functions</strong></big></font></td></tr>\n",
" \n",
"<tr><td bgcolor=\"#eeaa77\"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>\n",
"<td width=\"100%\"><dl><dt><a name=\"-ejercicio1\"><strong>ejercicio1</strong></a>(lista)</dt><dd><tt>Ejercicio&nbsp;1:&nbsp;Devuelve&nbsp;el&nbsp;promedio&nbsp;de&nbsp;todos&nbsp;los&nbsp;elemntos&nbsp;de&nbsp;una&nbsp;lista.&nbsp;Recibe&nbsp;como&nbsp;parametro&nbsp;una&nbsp;lista&nbsp;y&nbsp;devuelve&nbsp;un&nbsp;valor&nbsp;único.</tt></dd></dl>\n",
" <dl><dt><a name=\"-ejercicio2\"><strong>ejercicio2</strong></a>(lista, numero)</dt><dd><tt>Ejercicio&nbsp;2:&nbsp;Devuelve&nbsp;todos&nbsp;los&nbsp;numeros&nbsp;del&nbsp;campo&nbsp;de&nbsp;los&nbsp;numeros&nbsp;enteros&nbsp;divisibles&nbsp;por&nbsp;un&nbsp;valor&nbsp;que&nbsp;el&nbsp;usuario&nbsp;determina.&nbsp;Recibe&nbsp;como&nbsp;parametro&nbsp;una&nbsp;lista&nbsp;y&nbsp;un&nbsp;divisor&nbsp;y&nbsp;devuelve&nbsp;una&nbsp;lista&nbsp;de&nbsp;valores.</tt></dd></dl>\n",
" <dl><dt><a name=\"-ejercicio3\"><strong>ejercicio3</strong></a>(numero)</dt><dd><tt>Ejercicio&nbsp;3:&nbsp;Devuelve&nbsp;el&nbsp;factorial&nbsp;de&nbsp;un&nbsp;número&nbsp;ingresado&nbsp;por&nbsp;el&nbsp;usuario.&nbsp;Recibe&nbsp;como&nbsp;parámetro&nbsp;un&nbsp;valor&nbsp;único&nbsp;y&nbsp;devuelve&nbsp;otro&nbsp;valor&nbsp;único</tt></dd></dl>\n",
" <dl><dt><a name=\"-ejercicio4\"><strong>ejercicio4</strong></a>(minimo, maximo)</dt><dd><tt>Ejercicio&nbsp;4:&nbsp;Devuelve&nbsp;una&nbsp;lista&nbsp;de&nbsp;numeros&nbsp;enteros&nbsp;que&nbsp;tienen&nbsp;la&nbsp;característica&nbsp;de&nbsp;ser&nbsp;palíndromos&nbsp;y&nbsp;nones.&nbsp;Recibe&nbsp;como&nbsp;parámetro&nbsp;un&nbsp;valor&nbsp;único&nbsp;mínimo&nbsp;y&nbsp;otro&nbsp;máximo.</tt></dd></dl>\n",
"</td></tr></table>\n",
"</body></html>"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"execution_count": 18,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"from IPython.display import HTML\n",
"HTML(filename=\"miModulo/Test1.html\")"
]
}
],
"metadata": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment