¿Qué poner en un docstring del módulo python?
Por ejemplo, para crear un nuevo archivo SPEC para un módulo python
La versión del juego Balazar que se incluye en Mandriva Linux 2007.0 necesita la versión 0.5 del módulo python cerealizer.
The version of the game Balazar shipped with Mandriva Linux 2007.0 requires version 0.5 of the cerealizer python module.
Para ejecutar la plantilla, primero genere el módulo python desde el archivo miCalendario. ui del diseñador tecleando pyuic4 -o miCalendario. py miCalendario. ui en su carpeta de archivo del proyecto y a continuación inicie su proyecto: python NOMBREAPP. py.
To run the template, first generate the python module from the Designer myCalendar. ui file by typing pyuic4 -o myCalendar. py myCalendar. ui in your project folder and then start your project: python APPNAME. py.
En este ejemplo se muestra cómo volver a cargar un módulo Python modificado.
This example shows how to reload a modified Python module.
Cree un módulo Python utilizado por ejemplos en esta documentación.
Create a Python module used by examples in this documentation.
Vamos a crear un módulo Python y un script de instalación que se probarán al hacer la instalación.
Let's create a Python module, an installation script, and test it by installing it.
A partir de ejemplos básicos de uso de módulos Python desde aplicaciones desarrolladas en C se abordará el desarrollo de un módulo C que sirva de envoltorio (wrapper) entre una interfaz C y un módulo Python que las implemente.
From basic examples of using Python modules from applications developed in C we will approach the development of a C module who serve as a wrapper (wrapper) between a C interface and a Python module that implements.
Incluso es posible importar el GUI de FreeCAD como módulo Python (aunque con algunas restricciones).
It's even possible to import the FreeCAD GUI as python module - with some restrictions, however.
El módulo Python es distribuido como parte de Gammu, para obtenerlo simplemente descarga Gammu.
Python module is distributed as part of Gammu so to download it just get Gammu.
La aplicación "Drive I2C LCD screen with ODROID-C2" puede implementarse en cualquier otro proyecto con pequeñas modificaciones en un módulo Python.
The "Drive I2C LCD screen with ODROID-C2" application can be implemented in any other project with minor modifications as a Python module.
Quieres escribir tu propio módulo Python?
Los ángulos deberán indicarse en grados, si los tienes en radianes simplemente conviértelos según la fórmula: degrees = radians 180/PI o usando el módulo Python de matemáticas (después de importarlo, obviamente)
Angles should be provided in degrees; if you have radians simply convert them using the formula: degrees = radians 180/PI or using python's math module (after doing import math, of course)