<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4257391451928283765</id><updated>2024-11-05T18:49:58.880-08:00</updated><category term="python"/><category term="kivy"/><category term="consejos"/><category term="sqlite3"/><category term="android"/><category term="básico python3"/><title type='text'>Crissway</title><subtitle type='html'>Una forma de aprender a programar</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://crissway.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='https://crissway.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Criss</name><uri>http://www.blogger.com/profile/14248086492509509869</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4257391451928283765.post-3850796810184587196</id><published>2017-07-16T13:44:00.000-07:00</published><updated>2017-07-17T17:47:15.749-07:00</updated><title type='text'>Como crear una aplicación en kivy - python - parte 1</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Bienvenidos a una serie de entradas donde estaré explicando como crear una aplicación usando kivy- python.&lt;/b&gt;&amp;nbsp;Lo que desarrollaremos sera una aplicación para escribir, editar o eliminar notas. &amp;nbsp;El objetivo de este tutorial es mostrarte lo sencillo que es poder desarrollar una app que funcione tanto en android como windows, linux y IOS.&lt;br /&gt;
&lt;br /&gt;
Todo esto gracias a la biblioteca kivy que nos ofrece el fácil y rápido desarrollo de apps para los sistemas operativos ya mencionados. el código fue creado por&lt;a href=&quot;https://github.com/tito/&quot; target=&quot;_blank&quot;&gt; tito&lt;/a&gt;. yo solo explicare a detalle como funciona, asumiendo que eres nuevo en kivy o python y quieres aprender y explorar, si ya tienes una base te sera mas fácil entender el tutorial.&lt;br /&gt;
&lt;br /&gt;
Nuestra app quedara así:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpzFWbpEML2bm5I3XLRHK0p5fG6qC5ru-kCpnDca7l748vhoip-Pe1o59a2PtlVy7orESKWkQhUz_vmrQw9ZI0DY-rXlr6Yu8JSF5EflSbDBvNUeFXKB_Z7PmrL9kcAvNTDPnVovYUXso/s1600/Screenshot_2017-07-13-14-45-47.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Aplicacion de notas  creada en python usando kivy&quot; border=&quot;0&quot; data-original-height=&quot;1280&quot; data-original-width=&quot;720&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpzFWbpEML2bm5I3XLRHK0p5fG6qC5ru-kCpnDca7l748vhoip-Pe1o59a2PtlVy7orESKWkQhUz_vmrQw9ZI0DY-rXlr6Yu8JSF5EflSbDBvNUeFXKB_Z7PmrL9kcAvNTDPnVovYUXso/s320/Screenshot_2017-07-13-14-45-47.png&quot; title=&quot;Aplicacion de notas&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd6KoLlGp1peuRS8v8oQ4LHa3Y1ncyz7Cl0zG5H2wP24fZ8Z9xuUpyqI7DGoGOXyXTfo981kg4x0CMClr2MyVkGcyjAoJLDMaDQOk5cdqjp6HdHsaW2d7ARLce2oAK4mHAqQpsUpIE9JI/s1600/Screenshot_2017-07-13-14-45-05.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Aplicación de notas creada en python usando kivy&quot; border=&quot;0&quot; data-original-height=&quot;1280&quot; data-original-width=&quot;720&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd6KoLlGp1peuRS8v8oQ4LHa3Y1ncyz7Cl0zG5H2wP24fZ8Z9xuUpyqI7DGoGOXyXTfo981kg4x0CMClr2MyVkGcyjAoJLDMaDQOk5cdqjp6HdHsaW2d7ARLce2oAK4mHAqQpsUpIE9JI/s320/Screenshot_2017-07-13-14-45-05.png&quot; title=&quot;Aplicación de notas&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Requisitos para este tutorial&lt;/h4&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Tener instalado python 3.6&lt;/li&gt;
&lt;li&gt;Tener instalado kivy ultima version y sus dependencias&lt;/li&gt;
&lt;li&gt;Tener un IDE para trabajar. (Recomiendo pycharm)&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
Empezaremos creando nuestros archivos&amp;nbsp;&lt;span style=&quot;color: #38761d;&quot;&gt;main.py&lt;/span&gt; y &lt;span style=&quot;color: #38761d;&quot;&gt;note.kv. &lt;/span&gt;como ya sabemos en &lt;span style=&quot;color: #38761d;&quot;&gt;main.py &lt;/span&gt;es donde programamos nuestra app y &lt;span style=&quot;color: #38761d;&quot;&gt;note.kv &lt;/span&gt;nos servirá para la parte gráfica de nuestra app.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ya creado nuestros dos archivos lo primero que haremos sera exportar desde kivy unos módulos que nos servirán para crear partes gráficas y otros que son base para nuestra app. si quieres saber todos los módulos que kivy tiene visita &lt;a href=&quot;http://kivy.org/&quot;&gt;kivy.org&lt;/a&gt;. Abrimos nuestro archivos principal &lt;span style=&quot;color: #38761d;&quot;&gt;main.py &lt;/span&gt;y agregamos:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;br /&gt;
from kivy.app import App&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
Aquí importamos en modulo &lt;span style=&quot;color: #38761d;&quot;&gt;App &lt;/span&gt;que es base de cualquier aplicación desarrollada en kivy. a esto le sumamos&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
from kivy.app import App&lt;br /&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;from kivy.uix.screenmanager import ScreenManager, Screen, SlideTransition&lt;br /&gt;from kivy.properties import ListProperty, StringProperty, \&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NumericProperty, BooleanProperty&lt;br /&gt;from kivy.uix.boxlayout import BoxLayout&lt;br /&gt;from kivy.uix.floatlayout import FloatLayout&lt;br /&gt;from kivy.clock import Clock&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;
En módulos &lt;span style=&quot;color: #38761d;&quot;&gt;ScreenManager&lt;/span&gt; nos servirá para el manejo de cada ventana creada usando &lt;span style=&quot;color: #38761d;&quot;&gt;Screen&lt;/span&gt; y &lt;span style=&quot;color: #38761d;&quot;&gt;SlideTransition&lt;/span&gt; se encarga del efecto que veremos al cambiar de una ventana a otra. También importamos unas propiedades como&amp;nbsp;&lt;span style=&quot;color: #38761d;&quot;&gt;ListProperty, StringProperty, NumericProperty, BooleanProperty &lt;/span&gt;estas las usaremos mas adelante y otros módulos que cuando los implementemos te entenderás para que sirven.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Ahora crearemos los objetos que se encargaran de darle sentido a la app, crearemos 4 objetos.&amp;nbsp;&lt;span style=&quot;color: #38761d;&quot;&gt;MutableTextInpu&lt;/span&gt;t que sera donde escribiremos nuestras notas, este objeto lo veremos dentro de&amp;nbsp;&lt;span style=&quot;color: #38761d;&quot;&gt;NoteView &lt;/span&gt;que además nos permitirá tener una vista previa antes de editar nuestra nota.&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;NoteListItem&lt;/span&gt;&amp;nbsp;donde veremos las notas ya creadas, &lt;span style=&quot;color: #38761d;&quot;&gt;Notes&lt;/span&gt; que sera nuestra ventana donde colocaremos lo anterior.&lt;br /&gt;
&lt;br /&gt;
Recuerda que para crear un objeto usamos &lt;span style=&quot;color: #38761d;&quot;&gt;class Nombre_de_Objeto(aquía_rgumentos): &lt;/span&gt;&amp;nbsp;Nuestro código seria:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;class MutableTextInput(FloatLayout):&lt;br /&gt;
&amp;nbsp; &amp;nbsp; pass&lt;br /&gt;
class NoteView(Screen):&lt;br /&gt;
&amp;nbsp; &amp;nbsp; pass&lt;br /&gt;
class NoteListItem(BoxLayout):&lt;br /&gt;
&amp;nbsp; &amp;nbsp; pass&lt;br /&gt;
class Notes(Screen):&lt;br /&gt;
&amp;nbsp; &amp;nbsp; pass&lt;/blockquote&gt;
Por ultimo agregamos&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
class NoteApp(App):&lt;br /&gt;
&amp;nbsp; &amp;nbsp; def build(self):&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pass&lt;br /&gt;
if __name__ == &#39;__main__&#39;:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; NoteApp().run()&lt;/blockquote&gt;
con esto codigo nuestra app correría sin ningún problema, eso si no veríamos nada mas que una pantalla negra, lo que acabamos de hacer es la implementación de modulo &lt;span style=&quot;color: #38761d;&quot;&gt;app,&lt;/span&gt;&amp;nbsp;que se encargara de la creación de nuestra aplicación es por eso que agregamos &lt;span style=&quot;color: #38761d;&quot;&gt;def build(self): &lt;/span&gt;&amp;nbsp;Con este código le decimos a &lt;span style=&quot;color: #38761d;&quot;&gt;kivy&lt;/span&gt; que se encargue de todo lo que nuestra app necesite para crear todos los gráficos o cosas que el sistema necesita para que nuestra app corra perfectamente en android, windows, linux o IOS.&lt;br /&gt;
&lt;br /&gt;
Ahora abrimos nuestro segundo archivo &lt;span style=&quot;color: #38761d;&quot;&gt;note.kv&lt;/span&gt;&amp;nbsp;y Agregamos:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;br /&gt;
#:kivy 1.7.1&lt;br /&gt;
&amp;lt;NoteView&amp;gt;:&lt;br /&gt;
&amp;lt;NoteListItem&amp;gt;:&lt;br /&gt;
&amp;lt;Notes&amp;gt;:&lt;/blockquote&gt;
&lt;br /&gt;
En este caso empezaremos referenciando los objetos principales, ejemplo &lt;span style=&quot;color: #38761d;&quot;&gt;&amp;lt;NoteView&amp;gt;: &lt;/span&gt;estará conectado con nuestra objeto&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp;class NoteView(Screen):&lt;/span&gt;&amp;nbsp;Recuerda que el lenguaje kv es para el fácil desarrollo de interfaz grafica, por lo tanto nos permite agregar widgets a nuestro objeto. ejemplo si queremos agregar un botón a&lt;span style=&quot;color: #38761d;&quot;&gt; NoteView(Screen):&lt;/span&gt; lo haremos de esta manera:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;NoteView&amp;gt;:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Button:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text: &quot;Guardar&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on_press: root.do_save()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; font_size: 32&lt;/blockquote&gt;
&lt;br /&gt;
Esto es solo un ejemplo de como se trabaja con el lenguaje kv. (No agregues esto al proyecto), Hasta aquí a llegado la parte 1 de como crear una aplicación usando kivy, en los proximos días publicare la siguiente parte.&lt;br /&gt;
&lt;br /&gt;
Por favor cualquier duda o sugerencia dejanos un comentario. Gracias&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://crissway.blogspot.com/feeds/3850796810184587196/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='https://crissway.blogspot.com/2017/07/crear-aplicacion-notas-kivy.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/3850796810184587196'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/3850796810184587196'/><link rel='alternate' type='text/html' href='https://crissway.blogspot.com/2017/07/crear-aplicacion-notas-kivy.html' title='Como crear una aplicación en kivy - python - parte 1'/><author><name>Criss</name><uri>http://www.blogger.com/profile/14248086492509509869</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpzFWbpEML2bm5I3XLRHK0p5fG6qC5ru-kCpnDca7l748vhoip-Pe1o59a2PtlVy7orESKWkQhUz_vmrQw9ZI0DY-rXlr6Yu8JSF5EflSbDBvNUeFXKB_Z7PmrL9kcAvNTDPnVovYUXso/s72-c/Screenshot_2017-07-13-14-45-47.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4257391451928283765.post-4627009610636801586</id><published>2017-07-06T19:38:00.001-07:00</published><updated>2017-07-09T18:04:16.263-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="básico python3"/><title type='text'>Conceptos básicos de python 3 - Parte 1</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;Bienvenido a una series de entradas donde explicaremos todo los conceptos básicos&amp;nbsp;de python, donde veremos que fácil&amp;nbsp;es aprender este lenguaje de programación&lt;/b&gt;, que nos hace fácil el crear scripts, aplicaciones, programas, páginas web y juegos.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;Python&lt;/b&gt; cuenta con dos versiones la versión 2.7 (legendaria) y la versión 3.6 (nueva, moderna y sencilla). El pasar de una versión a otra no es cosa del otro mundo. pero el aprender la sintaxis y la forma en que &lt;b&gt;python 3&lt;/b&gt; trabaja nos ayudara a que cualquier proyecto que realicemos sea capaz de correr en cualquier versión superior a 3, la mas actual 3.6.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Empezemos....&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Simples operaciones&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Para crear cualquier calculo simplemete escribimos el calculo que queremos realizar directamete el la consola. ejemplo:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1Gl3LfEU09WpoumLDkQmhM20F2pF1nzvSPVhfH3riM91OQKZY25waZvAbhZ4K2NNJ2A37Apzh3REXOORom_ED7YIe-wYzrK3hHE2f-ayIAS-OVQol4Ep8zWt13POStT_dfwz_1X8Q6bw/s1600/operaciones+basicas+python.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;img alt=&quot; codigo de como las operaciones son las básicas en python&quot; border=&quot;0&quot; data-original-height=&quot;345&quot; data-original-width=&quot;677&quot; height=&quot;203&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1Gl3LfEU09WpoumLDkQmhM20F2pF1nzvSPVhfH3riM91OQKZY25waZvAbhZ4K2NNJ2A37Apzh3REXOORom_ED7YIe-wYzrK3hHE2f-ayIAS-OVQol4Ep8zWt13POStT_dfwz_1X8Q6bw/s400/operaciones+basicas+python.png&quot; title=&quot;Operaciones básicas python&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;A &amp;nbsp;diferencia de python 2.7 que cuando realizamos una operación como esta: &lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp;8/3&lt;/span&gt; como resultado nos daba un numero entero en este caso&lt;span style=&quot;color: #38761d;&quot;&gt; 3, &lt;/span&gt;&amp;nbsp;en python 3 tendremos un resultado mas real.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Uso de Strings&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;El uso de string es tan sencillo como esto:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn1RnDPFXplqZNaEMUjGlZ3TyaF4-QujWN3r1l84Euscm83axlzbCQRdiKAv7onPl-lsEbRSTIuDla4Wdow-SPtPbddCu8eti6KjqQ9wmhaWpH8xs_Fy0y239R29gt4pA51PXRHTCuxRI/s1600/uso+de+string.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;img alt=&quot;fácil uso de strings en python&quot; border=&quot;0&quot; data-original-height=&quot;342&quot; data-original-width=&quot;676&quot; height=&quot;201&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn1RnDPFXplqZNaEMUjGlZ3TyaF4-QujWN3r1l84Euscm83axlzbCQRdiKAv7onPl-lsEbRSTIuDla4Wdow-SPtPbddCu8eti6KjqQ9wmhaWpH8xs_Fy0y239R29gt4pA51PXRHTCuxRI/s400/uso+de+string.png&quot; title=&quot;String python&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;Fácil uso de input y output&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;En este ejemplo veras que siempre es usar usar &lt;span style=&quot;color: #38761d;&quot;&gt;input(&quot;&quot;)&lt;/span&gt; para obtener información de usuario y de ahí imprimirlo usando la función &lt;span style=&quot;color: #38761d;&quot;&gt;print(&quot;&quot;).&lt;/span&gt;&amp;nbsp;ejemplo&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZdBlcz8KNDwiYDoPkBj4FB7UcFsKfmJ-ZCSqO1hlJ2S8KUTlqtqGi0Y_A0jzbb4Op_huv_nofhQrsB3bqJ9o4YgzPLPJLgr5hqGGApwj4fpXSQQu6QODkRpbxOkQW5TTI3EoNHIYhYeE/s1600/print+python.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;img alt=&quot;codigo de como pedir informacion al usuario he imprimirla modificada&quot; border=&quot;0&quot; data-original-height=&quot;164&quot; data-original-width=&quot;678&quot; height=&quot;96&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZdBlcz8KNDwiYDoPkBj4FB7UcFsKfmJ-ZCSqO1hlJ2S8KUTlqtqGi0Y_A0jzbb4Op_huv_nofhQrsB3bqJ9o4YgzPLPJLgr5hqGGApwj4fpXSQQu6QODkRpbxOkQW5TTI3EoNHIYhYeE/s400/print+python.png&quot; title=&quot;input y output&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Operaciones de String&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;En python podemos sumar strings ejemplo: &lt;span style=&quot;color: #38761d;&quot;&gt;&quot;hola&quot;&amp;nbsp;+ &quot;mundo&quot;&lt;/span&gt; daría como resultado una sola string &lt;span style=&quot;color: #38761d;&quot;&gt;&quot;hola mundo&quot;.&lt;/span&gt;&amp;nbsp;También podemos hacer multiplicaciones ejemplo. &lt;span style=&quot;color: #38761d;&quot;&gt;&quot;Hola &quot;* 3&lt;/span&gt; resultado&lt;span style=&quot;color: #38761d;&quot;&gt; Hola Hola Hola.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #38761d; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;Conversión de datos&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Ejemplo si tratamos de sumar &lt;span style=&quot;color: #38761d;&quot;&gt;&quot;2&quot;&amp;nbsp;+ &quot;3&quot; &lt;/span&gt;resultado &lt;span style=&quot;color: #38761d;&quot;&gt;&quot;23&quot;&lt;/span&gt;&amp;nbsp;y que al estar entre comillas python las toma como string, esto lo solucionamos convirtiendo los &lt;span style=&quot;color: #38761d;&quot;&gt;strings&lt;/span&gt; &amp;nbsp;a &lt;span style=&quot;color: #38761d;&quot;&gt;integer. &lt;/span&gt;ejemplo: &lt;span style=&quot;color: #38761d;&quot;&gt;int(&quot;2&quot;)+ int(&quot;3&quot;) &lt;/span&gt;resultado&lt;span style=&quot;color: #38761d;&quot;&gt; 5. &lt;/span&gt;También podemos convertir datos que le pedimos a usuario ejemplo:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;int(input(&quot;ingresa número entero&quot;)) &lt;/span&gt;o &lt;span style=&quot;color: #38761d;&quot;&gt;float(input(&quot;ingresa numero con decimal).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;/h4&gt;
&lt;h4&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Declaración&amp;nbsp;de Variables&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Una de las cosas que mas me gusta de python es que podemos declarar una variable y usarla al mismo tiempo, haciendo que las lineas de código sean mas cortas, además fáciles de leer y entender.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;ejemplo:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMJiJktF4NNXv2sfED95hu0NeNrCIb8xapOvv5dZUMYrwRvqF7mAJtLiVgEDl-vHZVzBcaT9oV7rWYh5AdzixhtLv5DxMaNSS3U_A2cK4nqIn5LM0e-FTe2YRtNi-GLMwF0eNp2iO4PyM/s1600/variables.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;232&quot; data-original-width=&quot;682&quot; height=&quot;135&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMJiJktF4NNXv2sfED95hu0NeNrCIb8xapOvv5dZUMYrwRvqF7mAJtLiVgEDl-vHZVzBcaT9oV7rWYh5AdzixhtLv5DxMaNSS3U_A2cK4nqIn5LM0e-FTe2YRtNi-GLMwF0eNp2iO4PyM/s400/variables.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://crissway.blogspot.com/feeds/4627009610636801586/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='https://crissway.blogspot.com/2017/07/conceptos-basicos-de-python-3-parte-1.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/4627009610636801586'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/4627009610636801586'/><link rel='alternate' type='text/html' href='https://crissway.blogspot.com/2017/07/conceptos-basicos-de-python-3-parte-1.html' title='Conceptos básicos de python 3 - Parte 1'/><author><name>Criss</name><uri>http://www.blogger.com/profile/14248086492509509869</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1Gl3LfEU09WpoumLDkQmhM20F2pF1nzvSPVhfH3riM91OQKZY25waZvAbhZ4K2NNJ2A37Apzh3REXOORom_ED7YIe-wYzrK3hHE2f-ayIAS-OVQol4Ep8zWt13POStT_dfwz_1X8Q6bw/s72-c/operaciones+basicas+python.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4257391451928283765.post-4624840946469968704</id><published>2017-07-05T09:53:00.002-07:00</published><updated>2017-07-06T17:57:32.484-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="kivy"/><title type='text'>Como crear una calculadora en kivy</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;En este pequeño tutorial crearemos una calculadora usando kivy nuestra biblioteca para crear interfaces gráficas en python&lt;/b&gt;,&amp;nbsp;como ya sabemos kivy es muy fácil de usar y de implementar.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Este sera un tutorial dirigido a todas las personas que están empezando a &lt;b&gt;programar en python&lt;/b&gt; y quieren empezar a crear pequeños proyectos que son fáciles pero te ayudan a entender&lt;b&gt; la lógica de programación en python&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg36uKnAH9IrFPEKsXsYg3o2k63RPgStsEM0N7gM41kE5e9aWjgItkb2gQXxOtmdv_v8ns3tm45tVGjoyd2BJnLaCByKamf28AjF8W6UFUX1lG5G5P1cfCQR1n9dT3jTPvam939w8jMdlg/s1600/PicsArt_07-05-01.26.05.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Una calculadora creada en python usando kivy&quot; border=&quot;0&quot; data-original-height=&quot;1240&quot; data-original-width=&quot;720&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg36uKnAH9IrFPEKsXsYg3o2k63RPgStsEM0N7gM41kE5e9aWjgItkb2gQXxOtmdv_v8ns3tm45tVGjoyd2BJnLaCByKamf28AjF8W6UFUX1lG5G5P1cfCQR1n9dT3jTPvam939w8jMdlg/s320/PicsArt_07-05-01.26.05.jpg&quot; title=&quot;Calculadora&quot; width=&quot;185&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Requisitos para el&amp;nbsp;tutorial&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Tener instalado python (en este caso de preferencia cualquier versión que sea superior a 3.0)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Tener instalado kivy y sus dependencias&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Tener ganas de aprender.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Antes de empezar crearemos dos archivos el primero se llamara &lt;span style=&quot;color: #38761d;&quot;&gt;main.py &lt;/span&gt;y el segundo &lt;span style=&quot;color: #38761d;&quot;&gt;calculadora.kv&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlCdpjLDhfVyVI81Dlbp2_fbD_pxLhtsAOF5w7PqrrMUpbPLmwhkUVfIHu7uY97Vw5nos5bIKMDMbKP9J4jdcD0ZOSHxVA2mn_7QkGl2JUQiragTJmjNVH8ZoqQ3tMjV3GWg24D5cdhvA/s1600/calculadora+en+kivy.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;img alt=&quot;Archivos para crear una calculadora en kivy&quot; border=&quot;0&quot; data-original-height=&quot;262&quot; data-original-width=&quot;611&quot; height=&quot;171&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlCdpjLDhfVyVI81Dlbp2_fbD_pxLhtsAOF5w7PqrrMUpbPLmwhkUVfIHu7uY97Vw5nos5bIKMDMbKP9J4jdcD0ZOSHxVA2mn_7QkGl2JUQiragTJmjNVH8ZoqQ3tMjV3GWg24D5cdhvA/s400/calculadora+en+kivy.png&quot; title=&quot;Archivos kivy&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;El archivo &lt;span style=&quot;color: #38761d;&quot;&gt;main.py&lt;/span&gt; es el principal donde crearemos las función que se encargue de crear las operaciones, además ahí&amp;nbsp;agregaremos el &lt;b&gt;código&lt;/b&gt;&amp;nbsp;encargado de crear la &lt;b&gt;aplicación. &lt;/b&gt;El archivo &lt;span style=&quot;color: #38761d;&quot;&gt;calculadora.kv &lt;/span&gt;es donde agregaremos comandos en lenguaje kv el lenguaje encargado de crear los gráficos(no significa que no los podamos crear en el archivo &lt;span style=&quot;color: #38761d;&quot;&gt;main.py &lt;/span&gt;es simplemente para hacerlo de forma ordenada.)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;En nuestro archivo &lt;span style=&quot;color: #38761d;&quot;&gt;main.py&lt;/span&gt; agregamos.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoUIjTAkhh7iX78aWkjB_3M0LelQziHze9m-2f5uG2CdUMz73647b2w7ZlzkCCjK-vRxAkDlcL8EsbjEFiYwMcy835DHM7gu9T6oICrQ7AzZ_hyAPZnL-LLljgJSB2JdFCcAhKJDh18Wg/s1600/codigo+de+calculadora.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;583&quot; data-original-width=&quot;655&quot; height=&quot;355&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoUIjTAkhh7iX78aWkjB_3M0LelQziHze9m-2f5uG2CdUMz73647b2w7ZlzkCCjK-vRxAkDlcL8EsbjEFiYwMcy835DHM7gu9T6oICrQ7AzZ_hyAPZnL-LLljgJSB2JdFCcAhKJDh18Wg/s400/codigo+de+calculadora.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;He dejado comentarios en todo el código con una breve explicación de lo que estamos haciendo, no es necesario que escribas eso, es mas escribe todo el código y después agrega comentarios usando tus propias palabras.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Ahora abrimos nuestro archivo &lt;span style=&quot;color: #38761d;&quot;&gt;calculadora.kv &lt;/span&gt;y agregamos el siguiente código.&lt;/span&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;
#:kivy 1.0&lt;br /&gt;
#:import kivy kivy&lt;br /&gt;
&amp;lt;CustButton@Button&amp;gt;:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; font_size: 32&lt;br /&gt;
&amp;nbsp; &amp;nbsp; color: 1, 1, 1, 1&lt;br /&gt;
&amp;lt;calculadora_screen&amp;gt;:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; size:self.size&lt;br /&gt;
&amp;nbsp; &amp;nbsp; id:My_Calc&lt;br /&gt;
&amp;nbsp; &amp;nbsp; display: entry&lt;br /&gt;
&amp;nbsp; &amp;nbsp; padding: 3&lt;br /&gt;
&amp;nbsp; &amp;nbsp; spacing: 5&lt;br /&gt;
&amp;nbsp; &amp;nbsp; rows: 6&lt;br /&gt;
&amp;nbsp; &amp;nbsp; BoxLayout:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TextInput:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id: entry&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; font_size: 32&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; multiline: False &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; BoxLayout:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; spacing: 6&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CustButton:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text: &quot;7&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on_press:entry.text += self.text&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CustButton:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text: &quot;8&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on_press:entry.text += self.text&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CustButton:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text: &quot;9&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on_press:entry.text += self.text&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CustButton:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text: &quot;*&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on_press:entry.text += self.text&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; BoxLayout:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; spacing:6&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CustButton:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text: &quot;4&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on_press:entry.text += self.text&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CustButton:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text: &quot;5&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on_press:entry.text += self.text&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CustButton:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text: &quot;6&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on_press:entry.text += self.text&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CustButton:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text: &quot;/&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on_press:entry.text += self.text&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; BoxLayout:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; spacing: 6&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CustButton:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text: &quot;1&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on_press:entry.text += self.text &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CustButton:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text: &quot;2&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on_press:entry.text += self.text&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CustButton:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text: &quot;3&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on_press:entry.text += self.text&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CustButton:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text: &quot;-&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on_press:entry.text += self.text&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; BoxLayout:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; spacing: 6&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CustButton:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text: &quot;AC&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on_press:entry.text =&quot;&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CustButton:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text: &quot;0&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on_press:entry.text += self.text&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CustButton:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text: &quot;=&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on_press: My_Calc.calculate(entry.text)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CustButton:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text: &quot;+&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on_press:entry.text += self.text&lt;/blockquote&gt;
&lt;h4 style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/h4&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Explicación que pasa en el archivo &lt;span style=&quot;color: #38761d;&quot;&gt;calculadora.kv&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Primero creamos un botón&amp;nbsp;personalizado donde nos aseguramos que todos los botones tengan las mismas propiedades como por ejemplo: color de texto, tamaño de texto, estilo de texto y otros. Esto lo hacemos de esta forma:&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&amp;lt;CustButton@Button&amp;gt;:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; font_size: 32&lt;br /&gt;
&amp;nbsp; &amp;nbsp; color: 1, 1, 1, 1&lt;/blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Si notas todo el código cada ves que agregue&amp;nbsp;un botón&amp;nbsp; use mi botón&amp;nbsp;personalizado&amp;nbsp;&lt;span style=&quot;color: #38761d;&quot;&gt;CustButton. &lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Ahora nos encargaremos de hacer referencia&amp;nbsp;de nuestro clase &lt;span style=&quot;color: #38761d;&quot;&gt;calculadora_screen.&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&amp;lt;calculadora_screen&amp;gt;:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; size:self.size&lt;br /&gt;
&amp;nbsp; &amp;nbsp; id:My_Calc&lt;br /&gt;
&amp;nbsp; &amp;nbsp; display: entry&lt;br /&gt;
&amp;nbsp; &amp;nbsp; padding: 3&lt;br /&gt;
&amp;nbsp; &amp;nbsp; spacing: 5&lt;br /&gt;
&amp;nbsp; &amp;nbsp; rows: 6&lt;/blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Si ves con detalle nuestro &lt;b&gt;código&lt;/b&gt; en el archivo &lt;span style=&quot;color: #38761d;&quot;&gt;main.py&lt;/span&gt; estamos usando un &lt;b&gt;layout&lt;/b&gt; llamado GridLayout. donde ordenamos todo mediante la declaración&amp;nbsp;de en cuantas columnas o filas se dividirá&amp;nbsp;nuestra pantalla o área&amp;nbsp;de trabajo. si quieres saber mas aserca de esto visita nuestro post &lt;a href=&quot;http://www.crissway.com/2017/07/tipos-de-layouts-en-kivy.html&quot; target=&quot;_blank&quot;&gt;tipos de layout en kivy&lt;/a&gt;, donde explicamos con mas detalle lo anterior.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Sabiendo ya que es un GridLayout le agregamos un &lt;span style=&quot;color: #38761d;&quot;&gt;id: My_Calc &lt;/span&gt;además propiedades &lt;span style=&quot;color: #38761d;&quot;&gt;display: entry &lt;/span&gt;que nos servirá para poder agregar los números a la pantalla, también definimos en numero de filas que tendrá nuestro layout&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;rows: 6 &lt;/span&gt;y simplemente para que nuestra app se mire bonita agregamos&amp;nbsp;&lt;span style=&quot;color: #38761d;&quot;&gt;padding: 3&lt;/span&gt;&amp;nbsp;(Espacio entre cada widget) y &lt;span style=&quot;color: #38761d;&quot;&gt;spacing: 5 &lt;/span&gt;(Espacio&amp;nbsp;entre widget y el borde de la pantalla).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Ya definido como se comportara nuestro GridLayout, &amp;nbsp;Usamos 5 BoxLayout &amp;nbsp;que tomaran lugar en cada una de las filas que tenemos disponible, esto lo hacemos de arriba hacia abajo.&lt;/span&gt;&lt;br /&gt;
En el primer BoxLayout agregamos&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp;nuestro cuadro de texto/TextInput que es donde aparecerá&amp;nbsp;nuestros números cada ves que presionemos&amp;nbsp;un botón además ahí&amp;nbsp;veremos el resultado de todas las operaciones que realicemos. definiendo&amp;nbsp;el&amp;nbsp;&lt;span style=&quot;color: #38761d;&quot;&gt;id: entry, &lt;/span&gt;el tamaño del texto&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;font_size: 32 &lt;/span&gt;y &lt;span style=&quot;color: #38761d;&quot;&gt;multiline: False &lt;/span&gt;para que nuestro TextInput tenga una sola linea.&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
BoxLayout:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TextInput:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id: entry&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; font_size: 32&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; multiline: False&lt;/blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Tiendo ya esto empezamos a agregar los botones, agregando 4 por cada BoxLayout&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;ejemplo:&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;br /&gt;
&amp;nbsp;BoxLayout:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; spacing: 6&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CustButton:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text: &quot;7&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on_press:entry.text += self.text&lt;/blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Cada botón tendrá propiedad &lt;span style=&quot;color: #38761d;&quot;&gt;text&lt;/span&gt; donde agregamos el numero que corresponde y &amp;nbsp;propiedad &lt;span style=&quot;color: #38761d;&quot;&gt;on_press &lt;/span&gt;donde agregamos una pequeña formula &lt;span style=&quot;color: #38761d;&quot;&gt;entry.text += self.text &lt;/span&gt;que lo que hará es usar lo que tengamos en la propiedad&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp;text &lt;/span&gt;ejemplo&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp;text: &quot;7&quot; &amp;nbsp;&lt;/span&gt;y lo agregamos&amp;nbsp;a nuestra a&lt;span style=&quot;color: #38761d;&quot;&gt; entry.text &lt;/span&gt;(recuerda&amp;nbsp;&lt;span style=&quot;color: #38761d;&quot;&gt;entry &lt;/span&gt;es el&lt;span style=&quot;color: #38761d;&quot;&gt; id &lt;/span&gt;de nuestro&lt;span style=&quot;color: #38761d;&quot;&gt; TextInput&lt;/span&gt;).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;De esta forma nuestra calculadora debería funcionar a la perfección, Espero que disfrutes esta entrada, cualquier duda o inquietud déjame&amp;nbsp;saberlo comentando. Gracias.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://crissway.blogspot.com/feeds/4624840946469968704/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='https://crissway.blogspot.com/2017/07/como-crear-una-calculadora-en-kivy.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/4624840946469968704'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/4624840946469968704'/><link rel='alternate' type='text/html' href='https://crissway.blogspot.com/2017/07/como-crear-una-calculadora-en-kivy.html' title='Como crear una calculadora en kivy'/><author><name>Criss</name><uri>http://www.blogger.com/profile/14248086492509509869</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg36uKnAH9IrFPEKsXsYg3o2k63RPgStsEM0N7gM41kE5e9aWjgItkb2gQXxOtmdv_v8ns3tm45tVGjoyd2BJnLaCByKamf28AjF8W6UFUX1lG5G5P1cfCQR1n9dT3jTPvam939w8jMdlg/s72-c/PicsArt_07-05-01.26.05.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4257391451928283765.post-2623993572107074100</id><published>2017-07-03T20:22:00.000-07:00</published><updated>2017-07-03T20:22:43.375-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="kivy"/><title type='text'>Tipos de Layouts en kivy</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Bienvenidos amigos en esta ocasión &lt;b&gt;aprendernos un poquito sobre los diferentes tipos de Layouts que kivy nos ofrece y como funciona de forma que los podamos usar en nuestros proyectos&lt;/b&gt;. Si no te quieres perder ningún detalle lee con mucho cuidado este post.&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;u&gt;Que&lt;/u&gt; es un Layout?&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;
Se le llama layout a la parte donde colocaremos los elementos ya sea de una aplicación o algún sitio web, un layout es como un contenedor donde ordenamos los elementos visuales como un widget,&amp;nbsp;botones o cuadros de texto.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;En que nos ayudan los layouts?&lt;br /&gt;
Simplemente en el ordenamiento adecuado de dos los elementos que una aplicación puede contener gráficamente.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Kivy no es la excepción ya que cuenta con muchos layouts cada uno con características diferentes de los cuales puedes sacarle provecho. Hací podemos crear bellas interfaces para nuestros queridos usuarios. &lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Tipos de layout:&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;FloatLayout&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Gridlayout&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Boxlayout&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Stacklayout&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Relavitelayout&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Anchorlayout&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Donde los mas utilizados son los primeros tres, tu puedes usar el que mas se adapte a tus necesidades.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Para poder mostrarte como funciona cada tipo de layout te dejare imagenes donde veras el código de como trabaja cada uno de los layouts.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Primero crea un archivo de texto como el nombre layouts.py, ahora as click derecho sobre el archivo y selecciona editar con IDLE. ahora escribe todo el código que muestra cada imagen y haciendo F5 veras el resultado. lo mas importante para aprender a usar los layouts es experimentando con ellos, haci que te recomiendo que juegues con el código y lo modifiques ya que de esta manera aprenderás a usarlos rápidamente.&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; font-size: x-small;&quot;&gt;&lt;b&gt;Nota:&lt;/b&gt; utilizare imágenes donde estará&amp;nbsp;en código para impedir que solo copies y pegues,&amp;nbsp;ya que no es una buena practica.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Floatlayout&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;
Este es uno de los utilizados, gracias a la gran ventaja que tenemos de poner elementos en el lugar que mas nos guste. ejemplo:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiZ_AWaotaJEW1Hl-T5yMZ3Iaq49lzNGsbTzxYQ13SLQXRWRwEbzffdltEk8BwjN_We6Z_eQxq0vsbOunGcF0vk2dmf5C59v1n1NyA2p2_XIeVVyG7McqbuJuKp4NXWyBl3UfzwaG3b_M/s1600/usando+Floatlayout.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;img alt=&quot;codigo para aprender a usar el FloatLayout en kivy&quot; border=&quot;0&quot; data-original-height=&quot;603&quot; data-original-width=&quot;407&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiZ_AWaotaJEW1Hl-T5yMZ3Iaq49lzNGsbTzxYQ13SLQXRWRwEbzffdltEk8BwjN_We6Z_eQxq0vsbOunGcF0vk2dmf5C59v1n1NyA2p2_XIeVVyG7McqbuJuKp4NXWyBl3UfzwaG3b_M/s400/usando+Floatlayout.png&quot; title=&quot;FloatLayout&quot; width=&quot;267&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Gridlayout&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;
Para utilizar este layout tenemos que definir por lo menos su dimensión, si queremos que tenga una columna o mas de igual forma que las filas, puedes ver este layout como una hoja de cálculo donde cada elemento toma su lugar de acuerdo al orden que los agregues por ejemplo:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmGF8BQt4jzY59iAWMmZkkZizFIxUYOSRI2S4FqPNrVOhQkl-vmNkgpflPqWtqXv-oY6h2yM4FE7ARefjBN1-tX889OWlFm3zr0SbsjGy6bQxkGP9RwSffSLjgGhnRPpREHufqUu70RMU/s1600/Gridlayout.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;codigo para aprender a usar el GridLayout en kivy&quot; border=&quot;0&quot; data-original-height=&quot;593&quot; data-original-width=&quot;442&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmGF8BQt4jzY59iAWMmZkkZizFIxUYOSRI2S4FqPNrVOhQkl-vmNkgpflPqWtqXv-oY6h2yM4FE7ARefjBN1-tX889OWlFm3zr0SbsjGy6bQxkGP9RwSffSLjgGhnRPpREHufqUu70RMU/s400/Gridlayout.png&quot; title=&quot;Gridlayout&quot; width=&quot;297&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Boxlayout&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;
En este layout puedes agregar varios elemento los cuales se ordenan dependiendo del&amp;nbsp; tamaño de cada elemento dentro del mismo. &lt;br /&gt;
Por ejemplo:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1K22d9VYyix_aMclb5IW_ijdeicDb8EAhVhJZokx0ez4T1yvSVnoFN-BTbVefV7pNwmNOtJGbUm8kIZZUh8uILJdoheqW8gOpWuuB6UpiDQA2ktc5hQ4mRhZdNb6jXiu-jE21_-sWkSg/s1600/Boxlayout.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;codigo para aprender a usar el Boxlayout en kivy&quot; border=&quot;0&quot; data-original-height=&quot;556&quot; data-original-width=&quot;420&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1K22d9VYyix_aMclb5IW_ijdeicDb8EAhVhJZokx0ez4T1yvSVnoFN-BTbVefV7pNwmNOtJGbUm8kIZZUh8uILJdoheqW8gOpWuuB6UpiDQA2ktc5hQ4mRhZdNb6jXiu-jE21_-sWkSg/s400/Boxlayout.png&quot; title=&quot;Boxlayout&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Stacklayout&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;
En este layout podemos agregar varios elementos cada elemento se acomoda dependiendo del espacio que el Stacklayout tenga para utilizar. Nos seria de mucha utilidad si queremos agregar varios elementos y deseamos que tengan el mismo tamaño, El layout le define el espacio a cada elemento dependiendo del espacio total que el layout tenga disponible. Ejemplo.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzv-M0ETjs083-1RgdwjB6XPQZ-c35nsE7K45NO87YQK4fv1gLRwbFxrDBEARokryVvzTv5jFJ5ub6fbf51wZLyYZZ1NejpAnqA11CqqAZEwe7ct6-HfPXes-MVHBNKwPku35XGt_qDKs/s1600/StackLayout.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;código para aprendera a usar el StackLayout en kivy&quot; border=&quot;0&quot; data-original-height=&quot;578&quot; data-original-width=&quot;472&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzv-M0ETjs083-1RgdwjB6XPQZ-c35nsE7K45NO87YQK4fv1gLRwbFxrDBEARokryVvzTv5jFJ5ub6fbf51wZLyYZZ1NejpAnqA11CqqAZEwe7ct6-HfPXes-MVHBNKwPku35XGt_qDKs/s400/StackLayout.png&quot; title=&quot;StackLayout&quot; width=&quot;326&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Nota: &lt;span style=&quot;font-weight: normal;&quot;&gt;en este caso definimos la &lt;/span&gt;&lt;span style=&quot;color: #38761d; font-weight: normal;&quot;&gt;orientación,&lt;/span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;usando comandos como: &amp;nbsp;‘lr-tb’, ‘tb-lr’, ‘rl-tb’, ‘tb-rl’, ‘lr-bt’, ‘bt-lr’, ‘rl-bt’ ‘bt-rl&#39;, donde lr significa&amp;nbsp;que nuestros elementos se ordenaran de izquierda a derecha y rl lo contrario, al igual&amp;nbsp;tb significa que los elementos se ordenaran de arriba para abajo, otra vez bt lo contrario a lo anterior. También&amp;nbsp;en este caso para definir en padding(espacio entre los widgets) tenemos que definir de la siguiente forma &lt;span style=&quot;color: #38761d;&quot;&gt;padding:[5,5,5,5]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Relativelayout&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;
Es muy similar al Floatlayout&amp;nbsp; solo que este caso cada elemento se acomoda de acuerdo a la posición del layout. Ejemplo:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4-QC58EW3aYPmQQQm-okRMmiD2zxYTX7b3Z4uNZkE24FjOUw3aCK0CJ1CRtAISIY3U09vIp0ptDnhlKfye5lHt3ZknxJ2JMu1d2B5KCUzZJmrVegbnwrBLroM7CPl1Ma1E5tTUOeqiiA/s1600/RelativeLayout.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;codigo para aprender a usar el relativelayout en kivy&quot; border=&quot;0&quot; data-original-height=&quot;593&quot; data-original-width=&quot;440&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4-QC58EW3aYPmQQQm-okRMmiD2zxYTX7b3Z4uNZkE24FjOUw3aCK0CJ1CRtAISIY3U09vIp0ptDnhlKfye5lHt3ZknxJ2JMu1d2B5KCUzZJmrVegbnwrBLroM7CPl1Ma1E5tTUOeqiiA/s400/RelativeLayout.png&quot; title=&quot;RelativeLayout&quot; width=&quot;296&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;AnchorLayout&lt;/span&gt;&lt;/h4&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;
Este layout nos permite agregar elementos basándonos en los bordes del mismo. Ejemplo:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3RgIonVcKTpERHDfcbBTqwkLM58R-ET7f-YbXAXW4_njta2H2EuBQP3U2y2H7x9IE_qcMQ3d7AScDJgradhKa7UWkdnJhMdWZXEGjZBAVoAdA4wgaLNViGCQvuwxrzKdzrqfa3J9Sw0w/s1600/AnchorLayout.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;codigo para aprender a usar el anchorlayout en kivy&quot; border=&quot;0&quot; data-original-height=&quot;391&quot; data-original-width=&quot;499&quot; height=&quot;312&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3RgIonVcKTpERHDfcbBTqwkLM58R-ET7f-YbXAXW4_njta2H2EuBQP3U2y2H7x9IE_qcMQ3d7AScDJgradhKa7UWkdnJhMdWZXEGjZBAVoAdA4wgaLNViGCQvuwxrzKdzrqfa3J9Sw0w/s400/AnchorLayout.png&quot; title=&quot;AnchorLayout&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Ahora te toca a ti experimentar con todos los layouts y usa el que mas te guste en tus proyectos.&lt;/div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://crissway.blogspot.com/feeds/2623993572107074100/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='https://crissway.blogspot.com/2017/07/tipos-de-layouts-en-kivy.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/2623993572107074100'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/2623993572107074100'/><link rel='alternate' type='text/html' href='https://crissway.blogspot.com/2017/07/tipos-de-layouts-en-kivy.html' title='Tipos de Layouts en kivy'/><author><name>Criss</name><uri>http://www.blogger.com/profile/14248086492509509869</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiZ_AWaotaJEW1Hl-T5yMZ3Iaq49lzNGsbTzxYQ13SLQXRWRwEbzffdltEk8BwjN_We6Z_eQxq0vsbOunGcF0vk2dmf5C59v1n1NyA2p2_XIeVVyG7McqbuJuKp4NXWyBl3UfzwaG3b_M/s72-c/usando+Floatlayout.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4257391451928283765.post-4976480402075551262</id><published>2017-07-02T18:44:00.001-07:00</published><updated>2017-07-06T17:59:19.151-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="kivy"/><title type='text'>Widgets en kivy</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;Widgets son elementos que forma parte de un programa o aplicación que se encargan de la interacción del usuario con la aplicación&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;, siendo&amp;nbsp;esto fundamental para cualquier proyecto, donde nuestra misión es ofrecerles a nuestros usuarios la mejor experiencia al momento de utilizar nuestra aplicación o programa, todos sabemos que los usuarios son los que deben disfrutar la utilización del mismo.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD4b0KbGF1ZQlwlt4ZpB-1vEgbfKmvJ8ogDe3lqyuHQ0iQDxF1Sy7PVTZmPCFmEIMnPLKiOHlhTu5AdvCYOx6kGTR1CT3YHOGWDxzL-D4ElFPHWnv2ofsALJFtaeNjfrkhSWhyphenhyphen_uQ_cv8/s1600/widgets.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;conoce todos los tipos de widget que kivy tiene para ti&quot; border=&quot;0&quot; data-original-height=&quot;496&quot; data-original-width=&quot;677&quot; height=&quot;234&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD4b0KbGF1ZQlwlt4ZpB-1vEgbfKmvJ8ogDe3lqyuHQ0iQDxF1Sy7PVTZmPCFmEIMnPLKiOHlhTu5AdvCYOx6kGTR1CT3YHOGWDxzL-D4ElFPHWnv2ofsALJFtaeNjfrkhSWhyphenhyphen_uQ_cv8/s320/widgets.png&quot; title=&quot;Widgets&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;Kivy nos ofrece una gran variedad de widgets&lt;/b&gt; de los cuales podemos sacarles provecho para que nuestros usuarios tengan una experiencia inolvidable con nuestra aplicación.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Recuerda que en kivy usamos la programación orientada a objetos, por lo tanto veremos que para crear interfaces tendremos que crear objetos, esto lo hacemos declarando clases. por ejemplo&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;from kivy.uix.button import Button&lt;br /&gt;class mybutton(Button):&lt;br /&gt;&amp;nbsp; &amp;nbsp; pass&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Kivy cuenta con una gran variedad de widget donde nuestro usuarios tendrán una interacción directa con ellas, entre ellas: Label, Button, CheckBox, Image, Slider, Progress Bar, Text Input, Toggle button, Switch, Video, además también podemos crear nuestros propios widgets, estos widget los podemos encontrar en las sección &lt;span style=&quot;color: #38761d;&quot;&gt;kivy.uix&lt;/span&gt;, antes de usarlos tenemos que hacer&amp;nbsp;una referencia&amp;nbsp;de lo mismos de esta forma:&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;from kivy.uix.label import Label&lt;br /&gt;from kivy.uix.button import Button&lt;br /&gt;from kivy.uix.checkbox import CheckBox&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Una ves hecho esto los widgets referenciados están listos para ser utilizados.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Además de estas existen widget que nuestros usuarios no podrán ver ya que estos simplemente los usaremos para poder colocar nuestros widget que si tiene representación gráfica dentro de el. estos son conocidos como &lt;b&gt;Layouts.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;Los layouts son widgets que nos permiten agregar elementos dentro de ellos y ordenarlos de una forma especifica, &lt;/b&gt;entre ellas tenemos:&amp;nbsp;Anchor Layout, Box Layout, Float Layout, Grid Layout, PageLayout, Relative Layout, Scatter&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Layout, Stack Layout y los usamos de esta manera.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;from kivy.uix.floatlayout import FloatLayout&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;class mylayout(FloatLayout):&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; pass&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; #aqui podemos agregar mas widgets.&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;También&amp;nbsp;tenemos Widgets complejos que los aquellos que fueron creados combinado diferentes widgets ejemplo:&amp;nbsp;Bubble, Drop-Down List, FileChooser, Popup, Spinner, List View, TabbedPanel, Video player,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;VKeyboard.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Recuerda&amp;nbsp;que la mejor forma de aprender sus funciones y características&amp;nbsp;es experimentado con ellas.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://crissway.blogspot.com/feeds/4976480402075551262/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='https://crissway.blogspot.com/2017/07/widgets-en-kivy.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/4976480402075551262'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/4976480402075551262'/><link rel='alternate' type='text/html' href='https://crissway.blogspot.com/2017/07/widgets-en-kivy.html' title='Widgets en kivy'/><author><name>Criss</name><uri>http://www.blogger.com/profile/14248086492509509869</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD4b0KbGF1ZQlwlt4ZpB-1vEgbfKmvJ8ogDe3lqyuHQ0iQDxF1Sy7PVTZmPCFmEIMnPLKiOHlhTu5AdvCYOx6kGTR1CT3YHOGWDxzL-D4ElFPHWnv2ofsALJFtaeNjfrkhSWhyphenhyphen_uQ_cv8/s72-c/widgets.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4257391451928283765.post-2628900105680597107</id><published>2017-07-01T20:11:00.000-07:00</published><updated>2017-07-03T21:41:37.387-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="kivy"/><title type='text'>Cuadros de texto, etiquetas y botones en kivy</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Tres elementos básicos y los mas utilizados casi cualquier lenguaje de programación con interfaz gráfica. si hablamos de los cuadros de texto, etiquetas y botones.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;En kivy los conoceremos cómo:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Cuadro de texto = TextInput&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Etiqueta= Label&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Botón = Button&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Como todo lenguaje de programación, es común&amp;nbsp; usar &amp;nbsp;comandos en ingles pero no te preocupes mas adelante veras que fácil son de utilizar.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Por lo tanto he creado este pequeño &amp;nbsp;&lt;b&gt;tutorial&lt;/b&gt; donde aprenderás a usar estos tres elementos, creando una pequeña &lt;b&gt;aplicación&lt;/b&gt; donde ingresaras tu nombre en el cuadro de texto y agregaremos una función para que dicho nombre&lt;span style=&quot;background-color: white;&quot;&gt; se muestre en nuestra&lt;/span&gt;&amp;nbsp;etiqueta. Con dos botones uno para mostrar el texto y el otro para limpiar el cuadro de texto y la etiqueta.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;Misión del Tutorial&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Mostrarte lo fácil que es usar kivy, aclarando cada detalle de forma que puedas crear tus propias aplicaciones.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Lo que crearemos quedaría&amp;nbsp;de esta manera.&lt;/span&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;img alt=&quot;Aprende a como utilizar botones, cuadros de texto y etiquetas&quot; border=&quot;0&quot; data-original-height=&quot;1230&quot; data-original-width=&quot;720&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaHYPz359JKqvoyfg2O-rH9vBy7Ov9n3FGZdpGgTMEYZMnUZIQJ3z_8pPmNxYsfjKwo46cHEIS1w1uiPROrW9ZorV-RbFnyYVFaiXW2VzG7eD9d5DqCC4E1tng6a17g4lDUS6Ij3e9a3g/s400/IMG_20170623_223158.jpg&quot; style=&quot;margin-left: auto; margin-right: auto;&quot; title=&quot;Aprende kivy&quot; width=&quot;232&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Imagen creada en android&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaHYPz359JKqvoyfg2O-rH9vBy7Ov9n3FGZdpGgTMEYZMnUZIQJ3z_8pPmNxYsfjKwo46cHEIS1w1uiPROrW9ZorV-RbFnyYVFaiXW2VzG7eD9d5DqCC4E1tng6a17g4lDUS6Ij3e9a3g/s1600/IMG_20170623_223158.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Es momento de empezar a codificar.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;En kivy es fácil crear aplicaciones simplemente tenemos que exportar los elementos que vamos a utilizar del framework a nuestro proyecto, a estos elementos los llamaremos&amp;nbsp;módulos.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;from kivy.app import App&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;from kivy.lang import Builder&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;from kivy.uix.floatlayout import FloatLayout&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;from kivy.core.window import Window&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Como ves importamos 4 módulos.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;El primer módulo nos sirve parea crear la aplicación, básicamente lo usaremos siempre.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Con el segundo modulo podemos agregar lenguaje KV que nos sirve para crear los gráficos de nuestra aplicación.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;El tercer modulo es un simple contenedor donde agregaremos los botones y etiquetas usando lenguaje KV.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;El cuarto modulo lo utilizare simplemente para cambiar el color de fondo de nuestra aplicación.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;La otra parte de nuestro código sera este.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;class test_screen(FloatLayout):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; def mostrar(self, text):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pass&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; def borrar(self, text):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pass&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;class TestApp(App):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; def build(self):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Window.clearcolor= 1,1,1,1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return test_screen()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;if __name__ == &#39;__main__&#39;:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; TestApp().run()&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Las aplicación creadas en kivy se basan en la programación orientada a objetos. Por lo tanto usamos el comando class para crear uno. En este caso creamos dos objetos, el primero&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;class test_screen(FloatLayout):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp;&amp;nbsp; def cambiar(self, text):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pass&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; def borrar(self):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pass&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Este sera nuestro contenedor dentro de el agregaremos los botones y la etiqueta, además agregue dos funciones dentro de el, que nos servirán mas adelante. Si notas esta clase usara el modulo FloatLayout que es uno de los muchos layouts que kivy brinda.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Nuestro segundo objeto es el encargado de crear la aplicación usando el modulo App que ya exportamos.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;class TestApp(App):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; def build(self):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Window.clearcolor= 1,1,1,1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return test_screen()&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;También usaremos el modulo Windows donde cambiaremos el color de fondo de pantalla de nuestra app usando código &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;RGBA.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Genial nuestra aplicación lo único que le faltaría seria la función que haga que todo el código funcione, esto lo podemos hacer de 2 formas la primera seria usando está declaración.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;if __name__ == &#39;__main__&#39;:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; TestApp().run()&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Y la segunda usando esta declaración&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;MyApp = TestApp()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;MyApp.run()&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Cualquiera de las dos es valida aunque la mas usada es la primera declaración.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Repasando lo anterior nuestro código quedaría asi.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: sans-serif;&quot;&gt;from kivy.app import App&lt;/span&gt;from kivy.lang import Builder&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;from kivy.uix.floatlayout import FloatLayout&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;from kivy.core.window import Window&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;class test_screen(FloatLayout):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; def cambiar(self, text):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pass&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; def borrar(self):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pass&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;class TestApp(App):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; def build(self):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Window.clearcolor= 1,1,1,1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return test_screen()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;if __name__ == &#39;__main__&#39;:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; TestApp().run()&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Puedes guardar el archivo así:&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;ejempo.py&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Pero si corremos este código simplemente tendríamos como resultado una pantalla blanca. Es momento de agregar los botones para eso usaremos el lenguaje KV.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Para usar el lenguajes KV sin crear otro archivo podemos usar el modulo Builder que nos permite usarlo desde aquí usando este comando:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Builder.load_string(&quot;&quot;&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;#aqui podemos usar lenguaje KV.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&quot;&quot;&quot;)&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Nuestra aplicación quedaría así.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;from kivy.app import App&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;from kivy.lang import Builder&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;from kivy.uix.floatlayout import FloatLayout&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;from kivy.core.window import Window&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Builder.load_string(&quot;&quot;&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;#aqui podemos usar lenguaje KV.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&quot;&quot;&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;class test_screen(FloatLayout):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; def cambiar(self, text):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pass&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; def borrar(self):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pass&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;class TestApp(App):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; def build(self):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Window.clearcolor= 1,1,1,1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return test_screen()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;if __name__ == &#39;__main__&#39;:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; TestApp().run()&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Ahora es momento de hacer referencia de nuestro contenedor que ya construimos para poder agregar los botones y la etiqueta dentro de el. Para esto dentro del comando anterior agregamos esta nueva linea.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Builder.load_string(&quot;&quot;&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;lt;test_screen&amp;gt;:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&quot;&quot;&quot;)&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;De esta forma todo lo que ingresemos debajo de &amp;lt;test_screen&amp;gt;: se enlasara con nuestro objeto test_screen de nuestra app.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Para agregar el cuadro de texto y la etiqueta simplemente ingresamos los correspondientes comandos dentro de : de esta manera:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXoVtUeh_d6ncjJ5dqTBoaigaUzxGbSqBcLP4poN71vYHJHsIwIvWz2vQIqSMxoFuVw_U8uzofycJ47p8z1ywfTsZtbeDcyZ7jVT9dCGRLn1a7OMIBwnhwZmKzuu0Rs8R6lObMoT5yRps/s1600/Builder+kivy+2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;img alt=&quot;crear interfaz grafica con kv lenguaje&quot; border=&quot;0&quot; data-original-height=&quot;297&quot; data-original-width=&quot;490&quot; height=&quot;241&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXoVtUeh_d6ncjJ5dqTBoaigaUzxGbSqBcLP4poN71vYHJHsIwIvWz2vQIqSMxoFuVw_U8uzofycJ47p8z1ywfTsZtbeDcyZ7jVT9dCGRLn1a7OMIBwnhwZmKzuu0Rs8R6lObMoT5yRps/s400/Builder+kivy+2.png&quot; title=&quot;kv lenguaje&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Si notas he agregado varias propiedades a cada elemento a continuación explicare para que sirve cada una.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;Id:&lt;/b&gt; nos sirve para identifica un elemento en todo nuestro codigo, por lo tanto podemos crear funciones para cambiar o asignarle un valor si así deseamos.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;text:&lt;/b&gt; para mostrar texto en nuestra etiqueta o agregarle nombre a un boton.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;font_size:&lt;/b&gt; para incrementar el tamaño de las letras&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;size_hint:&lt;/b&gt; para definir el tamaño de nuestro elemento usando el tamaño total disponible usando representaciones en x como en y ejemplo si agregamos esta propiedad a un botón &amp;nbsp;size_hint: 1,0 .5 &amp;nbsp;el botón tomara el 100% de espacio disponible en x así mismo el 50% en y.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;pos_hint:&lt;/b&gt; para posicionar un objeto en la pantalla de acuerdo a los porcentajes dados ejemplo.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;pos_hint:{&#39;center_x&#39;:.5,&#39;y&#39;:.6}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;De esta forma nuestro objeto quedara centrado en x y un poquito arriba del centro de y.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;color:&lt;/b&gt; para definir el color del texto&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;hint_text:&lt;/b&gt; para agregar un texto de fondo en nuestro cuadro de texto.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Y por ultimo además de poder definir el tamaño de un objeto de acuerdo al tamaño de nuestra pantalla, podemos definir el alto y ancho del objeto por lo tanto tendría el mismo tamaño no importando el tamaño de la pantalla. Para esto tenemos que definirlo&amp;nbsp;así&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;size_hint: None, None&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;height: 200 #alto del objeto&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;width: 300 #ancho del objeto&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;El siguiente paso seria agregar los botones, para hacerlo mas estético he agregado otro contener o layout en nuestro archivo KV quedando de esta forma.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6ZsqQHBJ1GZnkT7SctnUhj2khnvrIxxUpj6b2YcqDhCMREejTb-hE73-5W0yMq96pIuoWzwquT1lPByCY_EdMZqPDe78_-eCJ7fijmX7RtofFFqQ3vu0vwnOU1oPynsrotGDmLCdSVMU/s1600/Builder+kivy.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;img alt=&quot;crea interfaz gráfica con kv lenguaje en kivy&quot; border=&quot;0&quot; data-original-height=&quot;561&quot; data-original-width=&quot;501&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6ZsqQHBJ1GZnkT7SctnUhj2khnvrIxxUpj6b2YcqDhCMREejTb-hE73-5W0yMq96pIuoWzwquT1lPByCY_EdMZqPDe78_-eCJ7fijmX7RtofFFqQ3vu0vwnOU1oPynsrotGDmLCdSVMU/s400/Builder+kivy.png&quot; title=&quot;kv lenguaje&quot; width=&quot;356&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;He definido un botón como &quot;mostrar&quot; y el otro como &quot;borrar&quot;, si corremos nuestro código asta aquí tendríamos la interfaz pero aun no pasaría nada si presionara los botones no funcionaria, para hacer esto posible agregaremos la propiedad on_press &amp;nbsp;que nos perminte llamar a la función que ya creamos al principio usando el método &quot;root.nombredefunción&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;En este caso seria:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;on_press: root.mostrar(text.text) #primer botón&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;on_press: root.borrar() #segundo botón&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Ahora nos toca la parte donde nuestra aplicación&amp;nbsp;toma sentido, crearemos el código&amp;nbsp;de cada función.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Para poder agregar el texto que ingresamos en el cuadro de texto a nuestra etiqueta simplemente aremos esto:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;def &amp;nbsp;cambiar(self, text):&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; self.text = text&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; self.ids[&#39;label&#39;].text = text&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;El código&amp;nbsp;funciona así:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;Primero&lt;/b&gt;; le agregamos&amp;nbsp;un &lt;span style=&quot;color: #38761d;&quot;&gt;id&lt;/span&gt; a nuestra&amp;nbsp;etiqueta/Label en este caso &lt;span style=&quot;color: #38761d;&quot;&gt;label&lt;/span&gt;, también&amp;nbsp;le agregamos un &lt;span style=&quot;color: #38761d;&quot;&gt;id &lt;/span&gt;a nuestro cuadro de texto/TextInput en este caso &lt;span style=&quot;color: #38761d;&quot;&gt;text&lt;/span&gt; esto nos sirve&amp;nbsp;para poder modificar cualquier propiedad de nuestros elementos.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;Segundo&lt;/b&gt;; en la propiedad &lt;span style=&quot;color: #38761d;&quot;&gt;on_press&lt;/span&gt;&lt;span style=&quot;color: lime;&quot;&gt; &lt;/span&gt;no solo llamamos &amp;nbsp;a la función, sino que también&amp;nbsp;ingresamos la información&amp;nbsp;que esta guardada en la propiedad &lt;span style=&quot;color: #38761d;&quot;&gt;text&lt;/span&gt; de nuestro cuadro de texto.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;Tercero&lt;/b&gt;; nuestra información&amp;nbsp;ingresa a la función, la agregamos a una variable y luego usamos el comando &lt;span style=&quot;color: #38761d;&quot;&gt;self.ids[label&#39;&#39;].text&lt;/span&gt;&amp;nbsp;donde declaramos que la propiedad &lt;span style=&quot;color: #38761d;&quot;&gt;text&lt;/span&gt; de la etiqueta&amp;nbsp;con &lt;span style=&quot;color: #38761d;&quot;&gt;id label &lt;/span&gt;tomara el valor que le asignemos,en esta ocasión&amp;nbsp;el texto que nosotros ya ingresamos en el cuadro de texto.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Por ultimo para poder limpiar o eliminar el texto de cada elemento usaremos como base cuesto código anterior solo que en esta ocasión no agregamos ninguna información sobre ella, de esta manera:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;def &amp;nbsp;borrar(self):&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; self.ids[&#39;label&#39;].text = &quot;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;self.ids[&#39;text&#39;].text = &quot;&quot;&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;De esta forma terminaría todo nuestro código, por lo que ahora ya podemos ver como funciona nuestra pequeña aplicación.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Trate de explicar cada de detalle y cualquier duda o sugerencia por favor comenta. gracias.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://crissway.blogspot.com/feeds/2628900105680597107/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='https://crissway.blogspot.com/2017/07/cuadros-de-texto-etiquetas-botones-kivy.html#comment-form' title='7 comentarios'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/2628900105680597107'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/2628900105680597107'/><link rel='alternate' type='text/html' href='https://crissway.blogspot.com/2017/07/cuadros-de-texto-etiquetas-botones-kivy.html' title='Cuadros de texto, etiquetas y botones en kivy'/><author><name>Criss</name><uri>http://www.blogger.com/profile/14248086492509509869</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaHYPz359JKqvoyfg2O-rH9vBy7Ov9n3FGZdpGgTMEYZMnUZIQJ3z_8pPmNxYsfjKwo46cHEIS1w1uiPROrW9ZorV-RbFnyYVFaiXW2VzG7eD9d5DqCC4E1tng6a17g4lDUS6Ij3e9a3g/s72-c/IMG_20170623_223158.jpg" height="72" width="72"/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4257391451928283765.post-7773021741464499282</id><published>2017-07-01T19:06:00.000-07:00</published><updated>2017-07-06T18:01:17.011-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>5 razones para aprender a programar en Python</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Python uno de los lenguajes de programación mas conocido y hermoso que conozco, no tengo nada en contra de los demás lenguajes, pero ser simple y poderoso son características que lo hacen único, ademas de todos los campos en los que podemos aplicar nuestro codigo, gran comunidad que te puede apoyar, muchas bibliotecas para el fácil&amp;nbsp;&lt;b&gt;desarrollo&lt;/b&gt; también&amp;nbsp;lo hacen especial.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Esto inspiró&amp;nbsp;a escribir&amp;nbsp;esta entrada de &lt;b&gt;las 5 razones por las que deberías aprender Python&lt;/b&gt; y de si ya te has decidido a aprender a programar en python, se que no te arrepentiras&amp;nbsp;y lo amaras como yo.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiouK8C7cyqVnpINa2AdJooPGZWtbD9MdVy30JKuieZc10G68MOIcqnuVzwFpL41HTZK8S1PrdcD0Sl5uf-SJSPrwic6hkmM-CP0yIwc74LnZ8aPUJVcISeg-kwEb6n4aH0298IU1AiMck/s1600/que+es+python.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;img alt=&quot;lenguaje de programacion para el fácil desarrollo de aplicaciones y programas.&quot; border=&quot;0&quot; data-original-height=&quot;336&quot; data-original-width=&quot;790&quot; height=&quot;136&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiouK8C7cyqVnpINa2AdJooPGZWtbD9MdVy30JKuieZc10G68MOIcqnuVzwFpL41HTZK8S1PrdcD0Sl5uf-SJSPrwic6hkmM-CP0yIwc74LnZ8aPUJVcISeg-kwEb6n4aH0298IU1AiMck/s320/que+es+python.png&quot; title=&quot;python&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Sintaxis limpio&lt;/span&gt;&lt;/h4&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Fácil de aprender y empezar a trabajar con el, no utiliza muchos signos de puntuación, por lo que codificar&amp;nbsp;es mas fácil y rápido.&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;Cuenta con muchas bibliotecas/frameworks&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Tiene bibliotecas para casi todo, desde desarrollo web hasta desarrollo de videojuegos, la mayoría de bibliotecas son creadas usando python puro y otras usando Cython. en su totalidad todas son fáciles de aprender y aplicar.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Tiene una gran comunidad&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;No es un simple lenguaje de programación, muchas personas prefieren codificar en python que en otros lenguajes ya que es mas divertido, además sabemos que tiene mucho potencial, &amp;nbsp;por lo tanto puedes encontrar&amp;nbsp;ayuda en toda la Internet y muchas personas que te pueden orientar a resolver cualquier duda o problema que tengas.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Es&amp;nbsp;multiplataforma&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Tiene la gran ventaja que es lo puedes utilizar para crear scripts o proyectos para los sistemas operativos mas usados, hablo de mac os, windows, android, linux, IOS.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Ves los resultados al instante&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Al ser un interprete podemos rápidamente&amp;nbsp;ver el resultado del proyecto que estemos realizando, por lo tanto nos olvidamos de lo tedioso de estar copilando nuestro proyecto cada vez que hacemos una modificación.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Asi que no lo pienses mas y descubre lo que python tiene para ti.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://crissway.blogspot.com/feeds/7773021741464499282/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='https://crissway.blogspot.com/2017/07/cinco-razones-para-aprender-python.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/7773021741464499282'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/7773021741464499282'/><link rel='alternate' type='text/html' href='https://crissway.blogspot.com/2017/07/cinco-razones-para-aprender-python.html' title='5 razones para aprender a programar en Python'/><author><name>Criss</name><uri>http://www.blogger.com/profile/14248086492509509869</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiouK8C7cyqVnpINa2AdJooPGZWtbD9MdVy30JKuieZc10G68MOIcqnuVzwFpL41HTZK8S1PrdcD0Sl5uf-SJSPrwic6hkmM-CP0yIwc74LnZ8aPUJVcISeg-kwEb6n4aH0298IU1AiMck/s72-c/que+es+python.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4257391451928283765.post-1314245364863777149</id><published>2017-06-27T18:02:00.000-07:00</published><updated>2017-07-06T18:02:02.545-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sqlite3"/><title type='text'>Explora tus bases de datos Sqlite con DB Browser </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8lLZlIUI-Br7RjcccNt4xwn6HTodgZ7ZY3dyV4tMv8bAEsUspsyBw1xucxowE3qrWwiBl00N17PqCEFW982UCjyQI7KrPZ2hHMPVrNBuzwvakVnMSEJqeaBx1Clmcezy-FbkLbCZozyo/s1600/bases+de+datos+sqlite3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;img alt=&quot;explora bases de datos de forma fácil y rapida&quot; border=&quot;0&quot; data-original-height=&quot;576&quot; data-original-width=&quot;901&quot; height=&quot;204&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8lLZlIUI-Br7RjcccNt4xwn6HTodgZ7ZY3dyV4tMv8bAEsUspsyBw1xucxowE3qrWwiBl00N17PqCEFW982UCjyQI7KrPZ2hHMPVrNBuzwvakVnMSEJqeaBx1Clmcezy-FbkLbCZozyo/s320/bases+de+datos+sqlite3.png&quot; title=&quot;DB Browser for sqlite&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Cuando creamos una&lt;b&gt; base de datos con sqlite3 &lt;/b&gt;por ejemplo en&lt;b&gt; python&lt;/b&gt; podemos crear scripts para ingresar datos y eliminarlos, pero si quisiéramos ver todas las tablas que nuestra base de datos tiene seria algo complicado de hacer con un scripts, agrega le a eso que tampoco podremos ver nuestras tablas como las esperamos ver (de forma ordenada y fácil de manejar), por ejemplo como si estuviéramos programando en access, es fácil ver todas las tablas y sus datos.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;Sqlite es una herramienta utilizada actualmente no solo en python&lt;/b&gt;, sino en java(android por ejemplo) para el manejo adecuado de toda nuestra información. Además de que podemos tener mas de una base de datos y todo sin la necesidad de un servidor.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;En esta ocasión les mostrare una herramienta que nos permite el manejo y manipulación de nuestra base de datos de forma fácil y sencilla. La aplicación se llama DB Browser. la puedes descargar desde &lt;a href=&quot;http://sqlitebrowser.org/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;sqlitebrowser.org&lt;/a&gt;,&amp;nbsp;esta disponible para window &amp;nbsp;y mac.&lt;/span&gt;&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;Que podemos hacer con DB Browser?&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Crear bases de datos nuevas&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Crear, modificar y eliminar tablas&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Buscar información&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Agregar, editar y eliminar información&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Importar y exportar información&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Importar y exportar tablas&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Importar y exportar bases de datos de MySQL&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Ejecutar SQL comandos&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Nota; si al momento de instalar la aplicación en tu sistema operativo no reconoce los archivos que terminan con db, ejemplo. mi-data-base.db. simplemente has &quot;click izquierdo&quot; sobre el archivo, seleccionas &quot;abrir con&quot; ahora click en &quot;examinar&quot; y buscas la carpeta &quot;DB Browser for Sqlite&quot; y seleccionas el archivo que se llama &quot;DB Browser for SQLite.exe&quot; y listo, ya puedes explorar tu base de datos.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://crissway.blogspot.com/feeds/1314245364863777149/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='https://crissway.blogspot.com/2017/06/explora-tus-bases-de-datos-sqlite.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/1314245364863777149'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/1314245364863777149'/><link rel='alternate' type='text/html' href='https://crissway.blogspot.com/2017/06/explora-tus-bases-de-datos-sqlite.html' title='Explora tus bases de datos Sqlite con DB Browser '/><author><name>Criss</name><uri>http://www.blogger.com/profile/14248086492509509869</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8lLZlIUI-Br7RjcccNt4xwn6HTodgZ7ZY3dyV4tMv8bAEsUspsyBw1xucxowE3qrWwiBl00N17PqCEFW982UCjyQI7KrPZ2hHMPVrNBuzwvakVnMSEJqeaBx1Clmcezy-FbkLbCZozyo/s72-c/bases+de+datos+sqlite3.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4257391451928283765.post-5507549727939779858</id><published>2017-06-27T13:19:00.000-07:00</published><updated>2017-07-06T19:46:14.919-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Qpython, como usar python en android </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Cada día aparecen nuevas aplicaciones con diferentes servicios hoy hablaremos de &lt;b&gt;QPython&lt;/b&gt;,&lt;b&gt; una aplicación que nos permite usar python en android para crear scripts y además es una excelente opción si estamos aprendiendo a programar con python ya que podemos practicar en cualquier lugar y en todo momento&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;QPython&lt;/b&gt; fue diseñada para permitirnos correr python en nuestro celular y esta disponible en dos versiones, una utiliza &lt;b&gt;python 2.7&lt;/b&gt; y la otra&lt;b&gt; python 3&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Es una aplicación básica para cualquiera que este aprendiendo python y muy fácil de usar basta con descargarla he instalarla.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;La primera versión trae incluso varias &lt;b&gt;bibliotecas&lt;/b&gt; que nos pueden servir para crear aplicaciones desde android, ya que cuenta con la &lt;b&gt;biblioteca kivy&lt;/b&gt;. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Cualquiera de estas versiones son de prueba y aun están en desarrollo por que que no esperes mucho de ellas. Pero si las puedes usar si eres nuevo en el mundo de python y quieres practicar para mejorar.&amp;nbsp; Para descargar la aplicación ve a la pagina oficial &lt;a href=&quot;http://qpython.com/&quot;&gt;qpython.com&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip_yyLinw8tdU158QI4vGALN92q8hedD7yVE1nh1tYUGtUGxlNiFOanzYU5OlFJ7SOpVBBWrSI16WE-9WrFDjgQjKiu0i7Bcv1HVn6iwYL3U0Djo2t22c8rAd1X-u-QdjPf-mlvzLVSQU/s1600/Screenshot_2017-06-27-14-13-36.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;Practica python en android&quot; border=&quot;0&quot; data-original-height=&quot;1280&quot; data-original-width=&quot;720&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip_yyLinw8tdU158QI4vGALN92q8hedD7yVE1nh1tYUGtUGxlNiFOanzYU5OlFJ7SOpVBBWrSI16WE-9WrFDjgQjKiu0i7Bcv1HVn6iwYL3U0Djo2t22c8rAd1X-u-QdjPf-mlvzLVSQU/s320/Screenshot_2017-06-27-14-13-36.png&quot; title=&quot;QPython&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;python 2.7&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNU9V2AjTgekQ_WgnBcnJNnQ_7nLXDSYD97zaSFY8-GK3ltH4Gy2lYripcfPbPyLXIh0KRwNlUaGPmmJYyzfHv8yXQ_waZl14JWxeVzLJqmqI6Ycnpkg9kijdoYowCN_Tw_F3dQtOuY2Y/s1600/Screenshot_2017-06-27-14-13-50.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;Practica python en android&quot; border=&quot;0&quot; data-original-height=&quot;1280&quot; data-original-width=&quot;720&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNU9V2AjTgekQ_WgnBcnJNnQ_7nLXDSYD97zaSFY8-GK3ltH4Gy2lYripcfPbPyLXIh0KRwNlUaGPmmJYyzfHv8yXQ_waZl14JWxeVzLJqmqI6Ycnpkg9kijdoYowCN_Tw_F3dQtOuY2Y/s320/Screenshot_2017-06-27-14-13-50.png&quot; title=&quot;QPython&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;python 3&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://crissway.blogspot.com/feeds/5507549727939779858/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='https://crissway.blogspot.com/2017/06/qpython-corre-python-en-android.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/5507549727939779858'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/5507549727939779858'/><link rel='alternate' type='text/html' href='https://crissway.blogspot.com/2017/06/qpython-corre-python-en-android.html' title='Qpython, como usar python en android '/><author><name>Criss</name><uri>http://www.blogger.com/profile/14248086492509509869</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip_yyLinw8tdU158QI4vGALN92q8hedD7yVE1nh1tYUGtUGxlNiFOanzYU5OlFJ7SOpVBBWrSI16WE-9WrFDjgQjKiu0i7Bcv1HVn6iwYL3U0Djo2t22c8rAd1X-u-QdjPf-mlvzLVSQU/s72-c/Screenshot_2017-06-27-14-13-36.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4257391451928283765.post-5988031745226685166</id><published>2017-06-26T18:07:00.001-07:00</published><updated>2017-07-06T18:03:03.185-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="sqlite3"/><title type='text'>sqlite3, crea bases de datos en python</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikl9WaIaSBxYH3wvLG4Od_MrwstCpWUSwo5iOkbnAOT0jvD8pFoI1zSPdzJuX_eMKfPSLKtThXosiE1S8uN2TLLzo-y8Itrs4PmEOdtZE3j2omP20Hg-OSOmMxsQM-EWV0ONGd3erp_fc/s1600/sqlite3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;aprende a crear bases de datos en python&quot; border=&quot;0&quot; data-original-height=&quot;237&quot; data-original-width=&quot;607&quot; height=&quot;155&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikl9WaIaSBxYH3wvLG4Od_MrwstCpWUSwo5iOkbnAOT0jvD8pFoI1zSPdzJuX_eMKfPSLKtThXosiE1S8uN2TLLzo-y8Itrs4PmEOdtZE3j2omP20Hg-OSOmMxsQM-EWV0ONGd3erp_fc/s400/sqlite3.png&quot; title=&quot;sqlite3 en python&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;Cuando empezamos a programar nos damos cuenta que en casi todos los&lt;/b&gt; &lt;b&gt;programas o aplicaciones que existe no importando la plataforma al se dirijan tendrán que manejar información,&lt;/b&gt; ejemplo facebook utiliza bases de datos para controlar toda la información de sus usuarios, YouTube la utiliza para guardar cada vídeo que subimos, instagram para manejar todas las fotos que compartimos.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Haciendo el manejo de datos en cualquier aplicación algo muy indispensable, por lo que tendremos que aprender a manejar bases de datos inadecuadamente, las bases de datos son simplemente un conjuntos de tablas y que en cada tabla podemos agregar casi cualquier información.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Existen varias formas para manejar datos, en proyectos grande como los ejemplos mencionados utilizan servidores que se encargue de manejar toda la información, para esto normalmente se utiliza MySQL y apache, pero si estamos creando un pequeño proyecto en python no tendremos que recurrir a este método, a su vez usamos una versión light, y esto lo podemos lograr usando sqlite3.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;Sqlite3 es una biblioteca que ya la tenemos por defecto en cualquier versión de python 3 y además es muy fácil de utilizar y de mucha utilidad, con sqlite3 podemos crear nuestra pequeña base de datos donde podremos guardar toda la información que nuestro proyecto requiera.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Para poder crear una base de datos con sqlite3 lo primero que tenemos que hacer es importar dicho modulo a nuestro proyecto.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;import sqlite3&lt;/span&gt;&lt;/blockquote&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Ahora ya podemos usar el modulo es momento de crear la base de datos. tecleando&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;conn = sqlite3.connect(&quot;Nombre-base-datos.db&quot;)&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Este pequeño código crea una base de datos si esta no existe, si ya tuviéramos una base de datos con el mismo nombre simplemente la abrirá. además de esto tenemos que definir nuestro cursor que es el que nos permitirá utilizar los comandos para el ingreso, lectura y eliminación de datos, lo hacemos de esta manera.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;c = conn.cursor()&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;con estas tres pequeñas lineas de código podemos crear una base de datos en python, fácil verdad?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Genial ya tenemos nuestra pequeña base de datos, pero no podemos ingresar datos en ellas porque no tiene ninguna tabla, entonces creemos una, la llamaremos stock y lo aremos usando en siguiente comando.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;c.execute(&#39;&#39;&#39;CREATE TABLE alumnos&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(fecha text, nombre text, apellido text, edad real)&#39;&#39;&#39;)&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;si notas agregamos en comando CREATE TABLE nombre-tabla para crear una tabla y luego definimos cada columna que nuestra tabla tendrá &amp;nbsp;y el tipo de datos que ingresara en ella.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Ahora si podemos agregar informacion a nuestra base de datos, para ello usaremos el comando&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;c.execute(&quot;INSERT INTO stocks VALUES (&#39;2002-06-9&#39;,&#39;carlos&#39;,&#39;lopez&#39;,&#39;15&#39;)&quot;)&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;usando el comando INSER INTO declaramos que ingresaremos variables a nuestra tabla, con el comando VALUES agregamos los valores que cada columna, recuerda ingresar los valores en el mismo orden que definiste cada columna. para guardar todos los datos ingresados no olvide agregar&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;c.commit()&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;ya que sin no lo haces ningún dato sera almacenado.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;también podemos cerrar nuestra conexión con la base de datos si ya no la vamos a utilizar, así&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp;conn.close()&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Haciendo un pequeño resumen de todo lo que hemos aprendido nuestro código quedaría de esta manera.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;import sqlite3 # importamos el modulo para poder utilizarlo&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;#creamos la base de datos si no existe o simplemente la modificamos&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;conn = sqlite3.connect(&quot;Nombre-base-datos.db&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;# creamos el cursor para poder manejar la conexión entre nuestra programa y la base de datos&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;c = conn.cursor()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;# creamos una tabla en nuestra base de datos&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;c.execute(&#39;&#39;&#39;CREATE TABLE alumnos&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(fecha text, nombre text, apellido text, edad real)&#39;&#39;&#39;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;#ingresamos información a la base de datos&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;c.execute(&quot;INSERT INTO stocks VALUES (&#39;2002-06-9&#39;,&#39;carlos&#39;,&#39;lopez&#39;,&#39;15&#39;)&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;# guardamos todo&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;c.commit()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;# cerramos nuestra conexión&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;conn.close()&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://crissway.blogspot.com/feeds/5988031745226685166/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='https://crissway.blogspot.com/2017/06/sqlite3-crea-bases-de-datos-en-python.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/5988031745226685166'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/5988031745226685166'/><link rel='alternate' type='text/html' href='https://crissway.blogspot.com/2017/06/sqlite3-crea-bases-de-datos-en-python.html' title='sqlite3, crea bases de datos en python'/><author><name>Criss</name><uri>http://www.blogger.com/profile/14248086492509509869</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikl9WaIaSBxYH3wvLG4Od_MrwstCpWUSwo5iOkbnAOT0jvD8pFoI1zSPdzJuX_eMKfPSLKtThXosiE1S8uN2TLLzo-y8Itrs4PmEOdtZE3j2omP20Hg-OSOmMxsQM-EWV0ONGd3erp_fc/s72-c/sqlite3.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4257391451928283765.post-1948828248488016598</id><published>2017-06-25T19:50:00.001-07:00</published><updated>2017-07-06T18:09:36.784-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Código fuente de aplicaciones para aprender python</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Anteriormente escribí una entrada donde explicaba lo importante que es la practica a la hora de &lt;b&gt;aprender un lenguaje de programación&lt;/b&gt;, aunque esto no es suficiente también necesitamos &lt;b&gt;leer código fuente de aplicaciones&lt;/b&gt;, se esta forma aprenderemos la parte lógica de la programación, la parte funcional y como todo el código trabaja junto.&lt;br /&gt;
&lt;br /&gt;
En este caso es necesario el conocimiento de todo lo básico de python para entender los códigos que leeremos.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Un excelente lugar para poder encontrar código fuente para leer es &lt;a href=&quot;https://github.com/trending/python&quot; target=&quot;_blank&quot;&gt;github&lt;/a&gt;&amp;nbsp;en la sección de &lt;a href=&quot;https://github.com/trending/python&quot; target=&quot;_blank&quot;&gt;python&lt;/a&gt;, ahí podrás encontrar muchos proyectos donde puedes aprender mucho y convertirte un experto en python&lt;/b&gt;, ademas tiene la gran ventaja que tiene ejemplos de casi todas las bibliotecas/frameworks que python tiene como por ejemplo: Django, kivy, Tensorflow, flask y mas.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Otra excelente opción es leer en código fuente de cualquier biblioteca/framework que descarguemos en python&lt;/b&gt;, para ello tenemos que ubicar la carpeta raíz de python.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiChyphenhyphenV0FfUZM8SSoQBqZCRizZE80_tz5uJwHCA0Mjfr_u68GcHfoXRg9a-ZMyIof35wIWTA9DRJymj0rpvFZpAitdjPg4tjt1QBsKUbg1XZqzKsYUT7FwtkDEEkVu7llvTOKqzXQjRwcv4/s1600/codigo+fuente+python.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;aprende programación leyendo código fuente de bibliotecas en python&quot; border=&quot;0&quot; data-original-height=&quot;588&quot; data-original-width=&quot;672&quot; height=&quot;280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiChyphenhyphenV0FfUZM8SSoQBqZCRizZE80_tz5uJwHCA0Mjfr_u68GcHfoXRg9a-ZMyIof35wIWTA9DRJymj0rpvFZpAitdjPg4tjt1QBsKUbg1XZqzKsYUT7FwtkDEEkVu7llvTOKqzXQjRwcv4/s320/codigo+fuente+python.png&quot; title=&quot;código fuente&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
En este caso yo lo tengo instalado en el disco local C, las librerías que instalamos o los que vienen por defecto los encontraremos en una carpeta llamada Lib.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOR7zi40aElxloGr6scdlEGpkTHwXCnQUXF2hhwU9D_h4BvSxY0oH6V3GfyRLmDLRMb3CL1udUvz50-q0sxjEqA0g8JL-4do7RGyAWwAGu5nQEdjTujo3oRoKpoacX3_uKz_-tLoest0g/s1600/aprende+a+leer+codigo+fuente+python.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;aprende python leyendo estos codigos fuente &quot; border=&quot;0&quot; data-original-height=&quot;630&quot; data-original-width=&quot;674&quot; height=&quot;299&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOR7zi40aElxloGr6scdlEGpkTHwXCnQUXF2hhwU9D_h4BvSxY0oH6V3GfyRLmDLRMb3CL1udUvz50-q0sxjEqA0g8JL-4do7RGyAWwAGu5nQEdjTujo3oRoKpoacX3_uKz_-tLoest0g/s320/aprende+a+leer+codigo+fuente+python.png&quot; title=&quot;aprende python&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Dentro de esa carpetas encintaremos mas carpetas en cada una puedes ver que hay archivos que termina en .py, estos archivos viene por defecto al instalar python, puedes abrir cualquiera y ver como los desarrolladores programaron dicha biblioteca o framework y como funciona.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;Nota: &lt;/b&gt;de preferencia no modifiquen ningún archivo y evita los que sean __init__.py u otro similar,por lo general no encontraras código en ellos.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Para abrir los archivos podemos usar en IDEL que python tiene por defecto basta con hacer clic derecho sobre cualquier archivo python que veamos, ejemplo:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitgjc7QEhae6E8ndf5N-F1Bv2CdCoGBP95URki7ENxBZcBNEwY3o7HqyzvsxA6kz2-RPAEiZkiLtCieO4IFWbwAXDO4oxm-vFFHGYOO9yxLTAUDEXNxRvG4ZX6olGUr5eg6O-6wcuFxQU/s1600/abrir+archivos+py.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Aprende a abrir archivos python&quot; border=&quot;0&quot; data-original-height=&quot;678&quot; data-original-width=&quot;678&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitgjc7QEhae6E8ndf5N-F1Bv2CdCoGBP95URki7ENxBZcBNEwY3o7HqyzvsxA6kz2-RPAEiZkiLtCieO4IFWbwAXDO4oxm-vFFHGYOO9yxLTAUDEXNxRvG4ZX6olGUr5eg6O-6wcuFxQU/s320/abrir+archivos+py.png&quot; title=&quot;Archivos python&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Si encaso quisiéramos aprender como funciona una biblioteca o framework en especial, dentro de esta carpeta encontraremos una llamada site-packages. donde veras algo similar a esto:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8FADfYqfdYF7QtSooPNgFmOCZENzyICCzChcEabVGziRozFPeZ-CCd6DXqyhCLnaf4QXmDUTtvl4obdx4497aV9cH8W1sS1X6MTPA2xwTNCpElZjnfQvWr7mvczTrnQW_qSdOeA0W_Lw/s1600/aprende+python.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;aprende a leer código fuente python&quot; border=&quot;0&quot; data-original-height=&quot;633&quot; data-original-width=&quot;673&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8FADfYqfdYF7QtSooPNgFmOCZENzyICCzChcEabVGziRozFPeZ-CCd6DXqyhCLnaf4QXmDUTtvl4obdx4497aV9cH8W1sS1X6MTPA2xwTNCpElZjnfQvWr7mvczTrnQW_qSdOeA0W_Lw/s320/aprende+python.png&quot; title=&quot;Archivos python&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Ahora solo tenemos que abrir la carpeta de la biblioteca de la que queremos aprender y listo.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://crissway.blogspot.com/feeds/1948828248488016598/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='https://crissway.blogspot.com/2017/06/codigo-fuente-para-leer-y-aprender.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/1948828248488016598'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/1948828248488016598'/><link rel='alternate' type='text/html' href='https://crissway.blogspot.com/2017/06/codigo-fuente-para-leer-y-aprender.html' title='Código fuente de aplicaciones para aprender python'/><author><name>Criss</name><uri>http://www.blogger.com/profile/14248086492509509869</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiChyphenhyphenV0FfUZM8SSoQBqZCRizZE80_tz5uJwHCA0Mjfr_u68GcHfoXRg9a-ZMyIof35wIWTA9DRJymj0rpvFZpAitdjPg4tjt1QBsKUbg1XZqzKsYUT7FwtkDEEkVu7llvTOKqzXQjRwcv4/s72-c/codigo+fuente+python.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4257391451928283765.post-2154478328796667579</id><published>2017-06-20T08:01:00.001-07:00</published><updated>2017-07-06T18:10:34.083-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="consejos"/><title type='text'>La practica, clave importante para ser un programador</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHGnAt3TZ3umerAmlg_W7mtj3LgBIO8REc0lW5_ndapXVrhHohVvJ0WmAyT-jk4dAZrVLOjCQdHKL6D42jMlF8cmeWoHRdhd71AW8AfRMINWGydacFuW73090_YloQtLDY8L0GarUii4Q/s1600/codificando+en+kivy.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;La práctica clave fundamental para un programador&quot; border=&quot;0&quot; data-original-height=&quot;524&quot; data-original-width=&quot;657&quot; height=&quot;255&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHGnAt3TZ3umerAmlg_W7mtj3LgBIO8REc0lW5_ndapXVrhHohVvJ0WmAyT-jk4dAZrVLOjCQdHKL6D42jMlF8cmeWoHRdhd71AW8AfRMINWGydacFuW73090_YloQtLDY8L0GarUii4Q/s320/codificando+en+kivy.png&quot; title=&quot;La practica &quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;La practica hace al maestro.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;b&gt;El codificar es uno de los fundamentos de cualquier programador, &lt;/b&gt;el practicar a diario es algo muy important&lt;b&gt;e&lt;/b&gt; y también es una de las cosas que a veces no queremos hacer cuando estamos empezando, queremos simplemente empezar a aprender y de la noche a la mañana deseáramos saber todo, cuando no es así.&lt;br /&gt;
Siempre he pensado las cosas valiosas son aquellas que nos cuestan, además esas cosas son las que mas llegamos a apreciar.&lt;br /&gt;
Llegar a ser un buen programador sin importar el lenguaje que uses o que prefieras no es algo fácil, requiere de mucha dedicación, tiempo y sobre todo practica. &lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
La practica es una de las claves mas importantes y fundamentales, Incluso si asumimos que ya eres un programador o ingeniero en sistemas si no practicas tarde o temprano se te olvidara lo aprendido. &lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Como practicar?&lt;/h3&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Define horarios.&lt;/h4&gt;
Lo mas recomendado es que practiques diario pero puedes crear un tu propio horario, uno que se adapte a tu rutina.&lt;br /&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Usa el tiempo que te sobre en tu día.&lt;br /&gt;
Por ejemplo si tomas el bus &lt;u&gt;o&lt;/u&gt; tren al trabajo o si viajas puedes practicar donde sea, actualmente en android hay aplicaciones para todo, puedes encontrar varios editores donde puedes practicar el lenguaje que esta aprendiendo.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Pon metas&lt;/h4&gt;
Una clave esencial es tener una meta por que la misma te da la obligación de cumplirla. &lt;br /&gt;
Por ejemplo: esta semana practicare 10 horas. Creare una aplicación esta semana. Recuerda no solo poner una meta sino lograrla.&lt;br /&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Por énfasis en lo mas difícil&lt;/h4&gt;
Casi todo lenguaje de programación tiene una parte fácil donde aprendemos súper rápido y una parte donde no entiendes nada. Por ejemplo python es mas&amp;nbsp; fácil aprender programación orientado a objetos que programación funcional.&lt;br /&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Crea proyectos.&lt;/h4&gt;
La creación de proyectos como aplicaciones, scripts te ayudaran a entender mas la parte lógica de programación mientras practicas, no importa que sea una simple calculadora o algo mas sofisticado lo importante es practicar.&lt;br /&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Recuerda la practica hace al maestro y diviertete porque si te diviertes no te aburres y haces mas fácil el aprendizaje.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://crissway.blogspot.com/feeds/2154478328796667579/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='https://crissway.blogspot.com/2017/06/la-practica-clave-importante.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/2154478328796667579'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/2154478328796667579'/><link rel='alternate' type='text/html' href='https://crissway.blogspot.com/2017/06/la-practica-clave-importante.html' title='La practica, clave importante para ser un programador'/><author><name>Criss</name><uri>http://www.blogger.com/profile/14248086492509509869</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHGnAt3TZ3umerAmlg_W7mtj3LgBIO8REc0lW5_ndapXVrhHohVvJ0WmAyT-jk4dAZrVLOjCQdHKL6D42jMlF8cmeWoHRdhd71AW8AfRMINWGydacFuW73090_YloQtLDY8L0GarUii4Q/s72-c/codificando+en+kivy.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4257391451928283765.post-93833252055484194</id><published>2017-06-15T18:32:00.004-07:00</published><updated>2017-07-04T17:08:25.792-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Que es python?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiouK8C7cyqVnpINa2AdJooPGZWtbD9MdVy30JKuieZc10G68MOIcqnuVzwFpL41HTZK8S1PrdcD0Sl5uf-SJSPrwic6hkmM-CP0yIwc74LnZ8aPUJVcISeg-kwEb6n4aH0298IU1AiMck/s1600/que+es+python.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Python un lenguaje de programación fácil de aprender&quot; border=&quot;0&quot; data-original-height=&quot;336&quot; data-original-width=&quot;790&quot; height=&quot;136&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiouK8C7cyqVnpINa2AdJooPGZWtbD9MdVy30JKuieZc10G68MOIcqnuVzwFpL41HTZK8S1PrdcD0Sl5uf-SJSPrwic6hkmM-CP0yIwc74LnZ8aPUJVcISeg-kwEb6n4aH0298IU1AiMck/s320/que+es+python.png&quot; title=&quot;Python&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
P&lt;u&gt;ython&lt;/u&gt; es un lenguaje de programación simple pero poderoso utilizado para el fácil desarrollo de aplicación, scripts, programas, programación web, inteligencia artificial y mas.&lt;br /&gt;
Fácil ? Si python es uno de los lenguajes de programación donde no te tendrás que quitarte la cabeza gracias a su sintaxis que muy simple. Por ejemplo&lt;br /&gt;
Si quisieras crear una variable string simplemente haríamos.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
X = &quot;Hola mundo&quot;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Su sintaxis es muy limpio haciendo fácil el codificar, leer y entender cada parte del código.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Normalmente es uno de los lenguajes que mas se recomiendan para personas que no saben nada de programación y quieren aprender, &lt;br /&gt;
Por que? Es muy fácil de aprender, puedes practicar donde quieras desde tu pc hasta tu smartphone y además cuenta con mucho material y hay muchos tutoriales en internet de los que puedes aprovechar. También hay aplicaciones en la play store donde enseñan lo básico de python, yo personalmente te recomendaría sololearn(si dominas el ingles).&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Por que debería aprender python?&lt;br /&gt;
Al ser un lenguaje moderna que tiene muchos framework que te facilitan gran parte del trabajo, sin tener que escribir mucho código y obtener excelentes resultados.&lt;br /&gt;
Además es muy utilizado en el área científica&amp;nbsp; y para el desarrollo de algoritmos en el área de inteligencia artificial. &lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Con que Frameworks cuenta Python?&lt;br /&gt;
Al ser multipropósito cuneta con una gran variedad de framework para barras áreas, &lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
En el área de desarrollo web podemos usar: django actualmente usado por instagram. También están CherryPy, Flask y urllib.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
En el área de desarrollo android, IOS, Linux y windows tenemos a kivy en este post hablamos de ello, Que es Kivy.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
En el área de desarrollo de juegos para pc, podemos usar Panda3D aunque necesitaras un poquito de conocimiento de c++ para este framework. &lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://crissway.blogspot.com/feeds/93833252055484194/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='https://crissway.blogspot.com/2017/06/que-es-python.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/93833252055484194'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/93833252055484194'/><link rel='alternate' type='text/html' href='https://crissway.blogspot.com/2017/06/que-es-python.html' title='Que es python?'/><author><name>Criss</name><uri>http://www.blogger.com/profile/14248086492509509869</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiouK8C7cyqVnpINa2AdJooPGZWtbD9MdVy30JKuieZc10G68MOIcqnuVzwFpL41HTZK8S1PrdcD0Sl5uf-SJSPrwic6hkmM-CP0yIwc74LnZ8aPUJVcISeg-kwEb6n4aH0298IU1AiMck/s72-c/que+es+python.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4257391451928283765.post-5172833828880903352</id><published>2017-06-12T08:06:00.001-07:00</published><updated>2017-06-18T18:10:29.435-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="kivy"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Que es kivy?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;b&gt;&lt;u&gt;Kivy&lt;/u&gt;&lt;/b&gt;&amp;nbsp; es un &lt;b&gt;framework&lt;/b&gt; o librería de código abierto, creada para &lt;u&gt;el&lt;/u&gt; fácil y rápido desarrolló de aplicaciones con interfaz gráfica como multi-touch apps, aplicaciones para android y IOS u otro sistema operativo, es simple y fácil tanto para programar, leer y entender.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqRWMCbt2Wzg1hIjB5ui-jhudOPUQUh_ojt5KEKslSDcUcVgcORnbAuoom6QUGDnV9_St6Hw8xbckS_IZG0Eyg6rFM9_NWuLpkUyHDaY4Ybbjj_RG2BhuG4_BzayWl528nsGubZgy-NSA/s1600/kivy.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;img alt=&quot;crea aplicaciones usando kivy&quot; border=&quot;0&quot; data-original-height=&quot;673&quot; data-original-width=&quot;1162&quot; height=&quot;185&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqRWMCbt2Wzg1hIjB5ui-jhudOPUQUh_ojt5KEKslSDcUcVgcORnbAuoom6QUGDnV9_St6Hw8xbckS_IZG0Eyg6rFM9_NWuLpkUyHDaY4Ybbjj_RG2BhuG4_BzayWl528nsGubZgy-NSA/s320/kivy.jpg&quot; title=&quot;kivy&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;
Tiene múltiples ventajas de las cuales unas de las mas destacadas son:&lt;/span&gt;&lt;/h4&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Multiplataforma; Kivy es capaz de correr en &lt;u&gt;linux&lt;/u&gt;, windows, OS X, android y &lt;u&gt;IOS&lt;/u&gt;, por lo que fácilmente podemos crear un proyecto y utilizarlo en cualquier sistema soportada.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Trae soporte nativo para mouse, multi-touch para los sistemas soportadas.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Kivy es gratis lo puedes utilizar para proyectos personales hasta proyectos profesionales.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Utiliza OpenGL ES que es un moderno y rápido creador de gráficos.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Trae incluido mas de 20 widgets que podemos personalizar a nuestras necesidad.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Para poder utilizar este framework tienes que tener instalado ya se python 2.7 como cualquier versión de python 3.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Quieres probarlo? Ve a &lt;a href=&quot;https://kivy.org/#download&quot;&gt;kivy.org&lt;/a&gt; y sigue las instrucciones de acuerdo a tu sistema operativo.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://crissway.blogspot.com/feeds/5172833828880903352/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='https://crissway.blogspot.com/2017/06/que-es-kivy.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/5172833828880903352'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/5172833828880903352'/><link rel='alternate' type='text/html' href='https://crissway.blogspot.com/2017/06/que-es-kivy.html' title='Que es kivy?'/><author><name>Criss</name><uri>http://www.blogger.com/profile/14248086492509509869</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqRWMCbt2Wzg1hIjB5ui-jhudOPUQUh_ojt5KEKslSDcUcVgcORnbAuoom6QUGDnV9_St6Hw8xbckS_IZG0Eyg6rFM9_NWuLpkUyHDaY4Ybbjj_RG2BhuG4_BzayWl528nsGubZgy-NSA/s72-c/kivy.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4257391451928283765.post-4700591378157201324</id><published>2017-06-10T21:43:00.001-07:00</published><updated>2017-06-19T09:04:42.622-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><title type='text'>Aprende a crear aplicaciones desde tu android</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Hoy les comparto una hermosa aplicación que me encontré en la play store, todo empezó un día cuando tome la decisión de &lt;b&gt;crear una aplicación en android &lt;/b&gt;donde podría hacer unos simples cálculos matemáticos, como todos empezamos, busque en google, descargue android estudio aun sabiendo que no contaba con una pc tan poderosa, si tengo una acer&amp;nbsp; que trae un procesador AMD no tan potente, de todas formas lo instale aunque era difícil luchar con el, cada vez que android estudio se cerraba, entonces pensé python tiene su propio IDE donde puedes practicar desde tu smartphone, de seguro&amp;nbsp;&amp;nbsp;&amp;nbsp; existe algo similar para java en &lt;b&gt;android&lt;/b&gt;, lastimosamente la aplicación que java ofrece no cumplía lo que esperaba, busque varias alternativas asta que me encontré con &lt;b&gt;AIDE&lt;/b&gt; una muy buena aplicación donde puedes crear pequeños proyectos para android desde tu smartphone, esta disponible gratis en la &lt;a href=&quot;https://play.google.com/store/apps/details?id=com.aide.ui&amp;amp;hl=es&quot; target=&quot;_blank&quot;&gt;play store&lt;/a&gt;&amp;nbsp; aunque tiene una versión de paga.&amp;nbsp; &lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcKsu1aUpAk-0vakLucrHHiPT9xn373Ha2s9p2h2a7jf3R_PlvAhJL7JvaMXPAySr5KpI3LYmBC9dBQOTpwIU8xBwUdWb8iud7TG7OSrKuwCvLzjDKsY6TT-OlkAfCfJ4OjYFLZFEOoOo/s1600/crear-aplicaciones-android-3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1280&quot; data-original-width=&quot;720&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcKsu1aUpAk-0vakLucrHHiPT9xn373Ha2s9p2h2a7jf3R_PlvAhJL7JvaMXPAySr5KpI3LYmBC9dBQOTpwIU8xBwUdWb8iud7TG7OSrKuwCvLzjDKsY6TT-OlkAfCfJ4OjYFLZFEOoOo/s320/crear-aplicaciones-android-3.png&quot; width=&quot;180&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ-Mgn_jFuy_yY5PeKVxSR21QWRRdoskvUCDE0MoXW9Xf8Uhr4VnL0GosoME_8QtDTO8uRTFrzue0QuPEM-v7egRIgThXGi4KIt7qCYqXPhQPrf1MrUgotfE27cw8Qjop_BA6jgDAxfiQ/s1600/crear-aplicaciones-android-2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1280&quot; data-original-width=&quot;720&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ-Mgn_jFuy_yY5PeKVxSR21QWRRdoskvUCDE0MoXW9Xf8Uhr4VnL0GosoME_8QtDTO8uRTFrzue0QuPEM-v7egRIgThXGi4KIt7qCYqXPhQPrf1MrUgotfE27cw8Qjop_BA6jgDAxfiQ/s320/crear-aplicaciones-android-2.png&quot; width=&quot;180&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2KsWY7s2GReqyr5CEjwOzUmHgVVmYVvQI7ncsJgZnTQJqiafJbeRQCvceCIeVUWRSfqATG6KbmV-ikaIrFNcdXRVyCD-yVOuht8KE2fmN75udnxSV4un_M8u2chB14GS-cPPe2CFhyhw/s1600/crear-aplicaciones-android-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1280&quot; data-original-width=&quot;720&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2KsWY7s2GReqyr5CEjwOzUmHgVVmYVvQI7ncsJgZnTQJqiafJbeRQCvceCIeVUWRSfqATG6KbmV-ikaIrFNcdXRVyCD-yVOuht8KE2fmN75udnxSV4un_M8u2chB14GS-cPPe2CFhyhw/s320/crear-aplicaciones-android-1.png&quot; width=&quot;180&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Que puedes hacer con &lt;b&gt;&lt;a href=&quot;https://play.google.com/store/apps/details?id=com.aide.ui&amp;amp;hl=es&quot; target=&quot;_blank&quot;&gt;AIDE&lt;/a&gt;&lt;/b&gt;?&lt;/h4&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Todo la básico incluso trae soporte para c++ en forma nativa aunque para eso tendrías que descargarlo por separado pesa como 200 MB.&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;br&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Programar la interfaz de usuario, soporta XML.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;
Aprender desde la aplicación, tiene cursos básicos donde puedes &lt;b&gt;aprender&lt;/b&gt;&lt;b&gt; &lt;/b&gt;&lt;b&gt;java&lt;/b&gt; y &lt;b&gt;desarrollo&lt;/b&gt;&lt;b&gt; &lt;/b&gt;&lt;b&gt;de&lt;/b&gt;&lt;b&gt; &lt;/b&gt;&lt;b&gt;android&lt;/b&gt;.&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;br&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Puedes crear proyectos de android dentro da aplicación directamente en formato .apk &lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Una de las ventajas a que tiene es que puedes practicar a programar en android&amp;nbsp; en cualquier lugar. Lo único que necesitas es un smartphone y descargar &lt;a href=&quot;https://play.google.com/store/apps/details?id=com.aide.ui&amp;amp;hl=es&quot; target=&quot;_blank&quot;&gt;AIDE para android&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://crissway.blogspot.com/feeds/4700591378157201324/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='https://crissway.blogspot.com/2017/06/crear-aplicaciones-desde-tu-android.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/4700591378157201324'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/4700591378157201324'/><link rel='alternate' type='text/html' href='https://crissway.blogspot.com/2017/06/crear-aplicaciones-desde-tu-android.html' title='Aprende a crear aplicaciones desde tu android'/><author><name>Criss</name><uri>http://www.blogger.com/profile/14248086492509509869</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcKsu1aUpAk-0vakLucrHHiPT9xn373Ha2s9p2h2a7jf3R_PlvAhJL7JvaMXPAySr5KpI3LYmBC9dBQOTpwIU8xBwUdWb8iud7TG7OSrKuwCvLzjDKsY6TT-OlkAfCfJ4OjYFLZFEOoOo/s72-c/crear-aplicaciones-android-3.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4257391451928283765.post-6322980927751078383</id><published>2017-06-08T17:20:00.001-07:00</published><updated>2017-07-04T16:49:01.332-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="consejos"/><title type='text'>Quiero aprender a programar,  por donde puedo  empezar?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPTKzCVcep4csFI1HO02NtWezfsQ7JsHSit5hrddDcG7cS9GVz9tEUyFMmYslDKE_tiZu2HwIiU-QZS-OALP8sls4d8JrAPe6aBKbD1f51BQSQJP8kHby6nmoIr3hJ7ipBNC8EG2NOCMo/s1600/aprender+a+programar.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;620&quot; data-original-width=&quot;737&quot; height=&quot;269&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPTKzCVcep4csFI1HO02NtWezfsQ7JsHSit5hrddDcG7cS9GVz9tEUyFMmYslDKE_tiZu2HwIiU-QZS-OALP8sls4d8JrAPe6aBKbD1f51BQSQJP8kHby6nmoIr3hJ7ipBNC8EG2NOCMo/s320/aprender+a+programar.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Ola! bienvenidos a Crissway hoy abordaremos un tema muy importante esperando que les guste.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Como todos ya sabemos existen&amp;nbsp; muchos lenguajes de &lt;b&gt;programacion&lt;/b&gt;, entre los mas&amp;nbsp; comunes podemos mencionar java, python, c++, javascript, PHP,. &lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Al existir tantos&lt;b&gt; lenguajes de programación&lt;/b&gt; para alguien con experiencia es muy fácil aprender uno nuevo y le toma tal vez un mes o dos, pero para todos aquellos que están empezando a programar es otra historia y por experiencia se que nos hacemos siempre esta pregunta,&amp;nbsp; &lt;b&gt;Que lenguaje de programación aprender primero?&lt;/b&gt; o Por donde empezó? Y de seguro otras preguntas mas, yo mismo me hice estas preguntas, y poco a poco me di cuenta de algunos puntos importantes que debes tomar en cuenta antes de empezar tu camino por este maravilloso mundo donde aprenderás a crear todo lo que te imagines desde &lt;b&gt;aplicaciones&lt;/b&gt; hasta tus propios juegos y mas.&lt;br /&gt;
Entonces toma en cuenta esto.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;b&gt;Por que quieres ser un programador?&lt;/b&gt;&lt;br /&gt;
Esperó que no sea específicamente por dinero aunque es un buen punto, en mi caso a mi me gusta todo sobre tecnología y siempre he querido aprender como crear sistemas para empresas como; puntos de ventas, registros de datos, como también el diseño web, lo que trato que entiendas es que si lo haces por pasión sera mucho mas fácil que si lo haces por necesidad. &lt;br /&gt;
Cual quiera sea tu caso has decidió empezar a aprender, me alegró por ti.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;b&gt;Que&lt;/b&gt;&lt;b&gt; &lt;/b&gt;&lt;b&gt;lenguaje&lt;/b&gt;&lt;b&gt; &lt;/b&gt;&lt;b&gt;aprendo&lt;/b&gt;&lt;b&gt; primero? &lt;/b&gt;&lt;br /&gt;
Ahora es tu turno de buscar que te gustaría aprender o que lenguaje explorar primero, recuerda es solo el primer lenguaje que aprenderás aun te faltan muchos por explorar,&amp;nbsp; una vez que aprendas uno muy fácilmente le aprenderás uno nuevo.&amp;nbsp; Así que toma en cuenta esto:&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Si buscas hacer &lt;b&gt;aplicaciones&lt;/b&gt; java, kotlin te servirían para &lt;b&gt;android&lt;/b&gt; y Objetive C o switf para plataformas IOS, si buscas entrar al mundo web&amp;nbsp; javascript, CSS, HTML, PHP te serán muy útiles. &lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Para crear scripts o programas para windows o linux tenemos &lt;b&gt;Python&lt;/b&gt;, C++&amp;nbsp; y si estas apasionado por el desarrolló de videojuegos C++ es muy utilizado en dicho campo.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Aunque un verdadero programador tiene que saber varios lenguajes, eso si, primero aprende uno y de ahí cuando tengas mas experiencia puedes aprender otro. &lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;b&gt;Puedo aprender sin que nadie me enseñe?&lt;/b&gt;&lt;br /&gt;
Si puedes hay mucho material en la internet que te puede ayudar, y recuerda que aquí en crissway estaremos compartiendo material muy útil.&lt;br /&gt;
Además te recomiendo la aplicación sololearn que la puedes descargar gratis en la google play, ya que esta cubre todo lo básico de los lenguajes mas conocidos actualmente.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;b&gt;Cual es el mejor lenguaje?&lt;/b&gt;&lt;br /&gt;
Yo personalmente no creo que exista un lenguaje que sea mejor que otro ya que cada lenguaje cuenta con su campo de trabajo. Además cada uno tiene sus ventajas y sus desventajas.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
por&amp;nbsp; ejemplo:&lt;br /&gt;
si quieres crear una aplicación en android puedes usar &lt;b&gt;kivy&lt;/b&gt; un &lt;b&gt;framework&lt;/b&gt; de python que es multiplataforma donde puedes crear una aplicación muy fácil y rápido pero tendría como desventajas que la aplicación sería un poco lenta y además muy pesada al compararla con una desarrollada en java.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;b&gt;Cual es el lenguaje mas fácil de aprender?&lt;/b&gt;&lt;br /&gt;
Por su sintaxis el programa mas fácil de aprender que yo conozco es &lt;b&gt;python&lt;/b&gt; además tiene muchos frameworks que nos facilitan mucho el trabajo.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;b&gt;Cuantos lenguajes necesito saber?&lt;/b&gt;&lt;br /&gt;
Yo diría que los mas que puedas aunque ten en mente que los primeros que tienes que conocer son los mas usados actualmente como:&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Java&lt;br /&gt;
Javascript&lt;br /&gt;
C++&lt;br /&gt;
&lt;b&gt;Python&lt;/b&gt;&lt;br /&gt;
PHP&lt;br /&gt;
HTML&lt;br /&gt;
MySQL&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
No tienes excusas para decir que no puedes realizar tu sueño de ser un programador. Nada es fácil, pero nada es imposible si otros pudieron tu también lo lograras, práctica, investiga y sobre todo diviertete que es lo mas importante.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://crissway.blogspot.com/feeds/6322980927751078383/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='https://crissway.blogspot.com/2017/06/quiero-aprender-programar-por-donde.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/6322980927751078383'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4257391451928283765/posts/default/6322980927751078383'/><link rel='alternate' type='text/html' href='https://crissway.blogspot.com/2017/06/quiero-aprender-programar-por-donde.html' title='Quiero aprender a programar,  por donde puedo  empezar?'/><author><name>Criss</name><uri>http://www.blogger.com/profile/14248086492509509869</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPTKzCVcep4csFI1HO02NtWezfsQ7JsHSit5hrddDcG7cS9GVz9tEUyFMmYslDKE_tiZu2HwIiU-QZS-OALP8sls4d8JrAPe6aBKbD1f51BQSQJP8kHby6nmoIr3hJ7ipBNC8EG2NOCMo/s72-c/aprender+a+programar.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>