Creating and using a Python module
A module is a file containing Python definitions and statements. The file name is the module name with the suffix “.py”
Example:
def helloworld():
print "hello"
import hello
hello.helloworld()
>>>'hello'
]]>Creating your own and using C++ libraries #TC1017 #Mastery14
There are many easy ways I found this
I found also this link for you guys :)
http://stackoverflow.com/questions/4496411/c-how-to-build-my-own-utility-library
Creating your own and using C++ libraries
Creating your own and using C++ libraries #TC1017 #Mastery14
There are many easy ways I found this
I found also this link for you guys
http:/
Creating your own and using C++ libraries
I just did the Mastery 14 video, which is the creation of a module and importing into a code.
Continue reading ]]>I just did the Mastery 14 video, which is the creation of a module and importing into a code.
]]>Una de las ventajas de C++ es la facilidad de poder crear tus propias librerias, estas se pueden crear para definir variables con un significado mas especifico.
El ultimo caso que use fue el de la libreria:#Define, esta libreria te permite utilizar el nombre de una variable y darle algun uso segun nuestras necesidades.
Por ejemplo:
#define GREEN "33[32m"
#define PURPLE "33[35m"
#define BLUE "33[34m"
Para aprender mas acerca de la creación de librerias pueden consultar los siguientes enlaces:
Libreria estatica Libreria dinamica
Continue reading ]]>
Una de las ventajas de C++ es la facilidad de poder crear tus propias librerias, estas se pueden crear para definir variables con un significado mas especifico.
El ultimo caso que use fue el de la libreria:#Define, esta libreria te permite utilizar el nombre de una variable y darle algun uso segun nuestras necesidades.
Por ejemplo:
#define GREEN “