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
""" | |
Resize images with a width or height larger than MAX_SIZE pixels. | |
BEWARE, it will OVERWRITE images. | |
Is meant to be used with Python 3. | |
Call it with: | |
python resize_images.py --dataset dataset | |
""" |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<Module> | |
<ModulePrefs> | |
<Require feature="views" /> | |
</ModulePrefs> | |
<Content type="html"> | |
<![CDATA[ | |
<h3>Hubspot Calendar Syncer</h3> |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<Module> | |
<ModulePrefs> | |
<Require feature="views" /> | |
</ModulePrefs> | |
<Content type="html"> | |
<![CDATA[ | |
<h3>Hubspot Calendar Syncer</h3> |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<Module> | |
<ModulePrefs> | |
<Require feature="views" /> | |
</ModulePrefs> | |
<Content type="html"> | |
<![CDATA[ | |
<h3>Hubspot Calendar Syncer</h3> |
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
def es_primo(numero): | |
for i in range(2, numero): | |
if numero%i == 0: | |
return False | |
return True | |
lista = [] | |
for i in range (2, 10000): | |
if es_primo(i): |
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
from distutils.core import setup | |
setup(name="Aplicacion de ejemplo", | |
version="0.1", | |
description="Ejemplo del funcionamiento de distutils", | |
author="Raul Gonzalez", | |
author_email="zootropo en gmail", | |
url="http://mundogeek.net/tutorial-python/", | |
license="GPL", | |
scripts=["ejemplo.py"] | |
py_modules=["apoyo"] |
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
>>> import sys | |
>>> sys.path | |
['', '/usr/local/lib/python2.3', '/usr/local/lib/python2.3/plat-linux2', | |
'/usr/local/lib/python2.3/lib-tk', '/usr/local/lib/python2.3/lib-dynload', | |
'/usr/local/lib/python2.3/site-packages'] | |
import sys | |
sys.path.append('/www/python/') |