Last active
August 8, 2017 10:03
-
-
Save psicobyte/76babb0effb18ae5724e09cf4d967490 to your computer and use it in GitHub Desktop.
Ejemplo de llamada a módulos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# Ejemplo de llamada a un módulo | |
# Importamos el módulo usando su nombre sin la extensión | |
import mi_modulo | |
# Llamanos ala función con el nombre del módulo antepuesto y seprarado por un punto | |
mi_modulo.mi_funcion("hola") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment