Blog Archives

Bot para instagram – Python

Hace unos días me surgió la necesidad de aumentar los seguidores de una cuenta de Instagram usando algún proceso automático, navegando por la red me encontré un interesante bot para Instagram hecho en python (https://github.com/instabot-py/instabot.py), este bot es capaz de

Posted in Bot, Python Tagged with: , ,

Large sum in Python

Related documentation: https://docs.python.org/2/library/stdtypes.html#typesnumeric This is the problem number thirteen in the Project Euler which reads: Work out the first ten digits of the sum of the following one-hundred 50-digit numbers. 37107287533902102798797998220837590246510135740250 46376937677490009712648124896970078050417018260538 74324986199524741059474233309513058123726617309629 91942213363574161572522430563301811072406154908250 23067588207539346171171980310421047513778063246676 89261670696623633820136378418383684178734361726757 28112879812849979408065481931592621691275889832738 44274228917432520321923589422876796487670272189318 47451445736001306439091167216856844588711603153276 70386486105843025439939619828917593665686757934951

Posted in Project Euler, Python Tagged with: , , , ,

Largest prime factor in Python

This is the problem number four in the Project Euler which reads: The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? My own solution to resolve this

Posted in Project Euler Tagged with: , , ,

Rutas relativas en Python

Un problema con el que se suele lidiar a diario en Python es el tratamiento de rutas relativas, dejo un pequeño snippet de gran utilidad para manejar rutas relativas:

Posted in Python Tagged with: , , ,