Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Change.py
blob: 5667d1fc37b34644a108e46ecc247ce4653dfe79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2012 Ignacio Rodriguez
# Actualiza la version de compress
print 'Versión actual:'+str(open('version','r').read())
c = raw_input('Desea cambiar la versión de compress [Si/No]:').lower()
if c == 'si':
	ver = str(int(raw_input('Versión [Numero Entero]:')))
	archivo = open('version','w')	
	archivo.write(ver)
	archivo.close()
if c == 'no':
	exit('Como tu digas..')