This file contains hidden or 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
# A simple setup script to create an executable using PyQt4. This also | |
# demonstrates the method for creating a Windows executable that does not have | |
# an associated console. | |
# | |
# PyQt4app.py is a very simple type of PyQt4 application | |
# | |
# Run the build process by running the command 'python setup.py build' | |
# | |
# If everything works well you should find a subdirectory in the build | |
# subdirectory that contains the files needed to run the application |
This file contains hidden or 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/env python | |
# coding: utf-8 | |
import operator | |
import itertools | |
from operator import getitem | |
from itertools import starmap | |
import colorsys | |
import PIL | |
from PIL import Image |
This file contains hidden or 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
WAComponent subclass: #D3f0Contador | |
instanceVariableNames: 'contador' | |
classVariableNames: '' | |
poolDictionaries: '' | |
category: 'nahuel'! | |
!D3f0Contador commentStamp: 'NahuelDefosse 9/27/2011 18:16' prior: 0! | |
Probando el ejemplo de diógenes :) | |
Instance Variables: | |
contador <Number>! |
This file contains hidden or 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
WAComponent subclass: #D3f0Index | |
instanceVariableNames: 'conardor1 contador2' | |
classVariableNames: '' | |
poolDictionaries: '' | |
category: 'nahuel'! | |
!D3f0Index methodsFor: 'as yet unclassified' stamp: 'NahuelDefosse 9/27/2011 19:36'! | |
canBeRoot | |
^ true.! ! |
This file contains hidden or 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
# encoding: utf-8 | |
import sys | |
import os | |
import sip | |
import re | |
from operator import itemgetter | |
# Qt | |
sip.setapi('QString', 2) | |
from PyQt4.Qt import * | |
_ = lambda s:s |
This file contains hidden or 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
# encoding: utf-8 | |
from fabric.api import * | |
from fabric.contrib.files import * | |
import sys | |
import os | |
from os import path | |
from base64 import decodestring as _decodestring | |
from fabutils import Package | |
author_email = 'bmFodWVsLmRlZm9zc2VAZ21haWwuY29t\n' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:c2ce4907ed929839fac9a252c3e4c236ae3dce93a0fd79604365809b072a5302" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
{"nbformat_minor": 0, "cells": [{"source": "# Entorno Pilas\n```python\n\nimport pilasengine\n\npilas = pilasengine.iniciar()\nprotagonista = pilas.actores.Aceituna()\nprotagonista.aprender(pilas.habilidades.SeguirAlMouse)\npilas.ocultar_puntero_del_mouse()\n\npilas.ejecutar()\n\n```\n", "cell_type": "markdown", "metadata": {"slideshow": {"slide_type": "slide"}}}, {"source": "## Cosas a tener en cuenta\n * Item\n * Item\n * Item", "cell_type": "markdown", "metadata": {"slideshow": {"slide_type": "slide"}}}, {"execution_count": null, "cell_type": "code", "source": "", "outputs": [], "metadata": {"collapsed": true, "trusted": true}}], "nbformat": 4, "metadata": {"kernelspec": {"display_name": "Python 2", "name": "python2", "language": "python"}, "language_info": {"mimetype": "text/x-python", "nbconvert_exporter": "python", "version": "2.7.6", "name": "python", "file_extension": ".py", "pygments_lexer": "ipython2", "codemirror_mode": {"version": 2, "name": "ipython"}}, "celltoolbar": "Slideshow"}} |
OlderNewer