<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>http://wiki.cabal.mx/index.php?action=history&amp;feed=atom&amp;title=Curso_de_Programaci%C3%B3n_en_Python%2FPasandoArgumnetos-1</id>
	<title>Curso de Programación en Python/PasandoArgumnetos-1 - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.cabal.mx/index.php?action=history&amp;feed=atom&amp;title=Curso_de_Programaci%C3%B3n_en_Python%2FPasandoArgumnetos-1"/>
	<link rel="alternate" type="text/html" href="http://wiki.cabal.mx/index.php?title=Curso_de_Programaci%C3%B3n_en_Python/PasandoArgumnetos-1&amp;action=history"/>
	<updated>2026-05-17T09:36:20Z</updated>
	<subtitle>Historial de revisiones para esta página en el wiki</subtitle>
	<generator>MediaWiki 1.32.1</generator>
	<entry>
		<id>http://wiki.cabal.mx/index.php?title=Curso_de_Programaci%C3%B3n_en_Python/PasandoArgumnetos-1&amp;diff=116045&amp;oldid=prev</id>
		<title>Rrc: /* PasandoArgumentos-1.py */</title>
		<link rel="alternate" type="text/html" href="http://wiki.cabal.mx/index.php?title=Curso_de_Programaci%C3%B3n_en_Python/PasandoArgumnetos-1&amp;diff=116045&amp;oldid=prev"/>
		<updated>2015-11-21T21:52:15Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;PasandoArgumentos-1.py&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
* [[:#PasandoArgumentos-1.py | PasandoArgumentos-1.py]]&lt;br /&gt;
** [[:#Resultado | Resultado]]&lt;br /&gt;
&lt;br /&gt;
== PasandoArgumentos-1.py ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; line=&amp;quot;GESHI_FANCY_LINE_NUMBERS&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#!/usr/bin/python3&lt;br /&gt;
#-*-coding: utf-8 -*-&lt;br /&gt;
&lt;br /&gt;
import sys&lt;br /&gt;
&lt;br /&gt;
print( &amp;#039;Recibimos&amp;#039;, len(sys.argv), &amp;#039;argumentos.&amp;#039; )&lt;br /&gt;
print( &amp;#039;Los argumentos son:&amp;#039;, str(sys.argv) )&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Resultado ===&lt;br /&gt;
&lt;br /&gt;
[rrc@pridd PythonClase]$ ./PasandoArgumentos-1.py &lt;br /&gt;
 Recibimos 1 argumentos.&lt;br /&gt;
 Los argumentos son: [&amp;#039;./PasandoArgumentos-1.py&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
[rrc@pridd PythonClase]$ ./PasandoArgumentos-1.py Arg1 -h -i = Ingreso&lt;br /&gt;
 Recibimos 6 argumentos.&lt;br /&gt;
 Los argumentos son: [&amp;#039;./PasandoArgumentos-1.py&amp;#039;, &amp;#039;Arg1&amp;#039;, &amp;#039;-h&amp;#039;, &amp;#039;-i&amp;#039;, &amp;#039;=&amp;#039;, &amp;#039;Ingreso&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
[rrc@pridd PythonClase]$ ./PasandoArgumentos-1.py Arg1 -h -i  Ingreso&lt;br /&gt;
 Recibimos 5 argumentos.&lt;br /&gt;
 Los argumentos son: [&amp;#039;./PasandoArgumentos-1.py&amp;#039;, &amp;#039;Arg1&amp;#039;, &amp;#039;-h&amp;#039;, &amp;#039;-i&amp;#039;, &amp;#039;Ingreso&amp;#039;]&lt;br /&gt;
[&lt;br /&gt;
rrc@pridd PythonClase]$ ./PasandoArgumentos-1.py Arg1 -h -i=Ingreso&lt;br /&gt;
 Recibimos 4 argumentos.&lt;br /&gt;
 Los argumentos son: [&amp;#039;./PasandoArgumentos-1.py&amp;#039;, &amp;#039;Arg1&amp;#039;, &amp;#039;-h&amp;#039;, &amp;#039;-i=Ingreso&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Programación en Python]]&lt;br /&gt;
[[Category:PythonCabal]]&lt;br /&gt;
[[Category:CursoPython]]&lt;/div&gt;</summary>
		<author><name>Rrc</name></author>
		
	</entry>
</feed>