{"id":144,"date":"2020-11-09T11:24:07","date_gmt":"2020-11-09T10:24:07","guid":{"rendered":"https:\/\/jlandresm.com\/?p=144"},"modified":"2023-05-24T18:13:09","modified_gmt":"2023-05-24T17:13:09","slug":"que-es-python","status":"publish","type":"post","link":"https:\/\/jlandresm.com\/index.php\/2020\/11\/09\/que-es-python\/","title":{"rendered":"\u00bfQu\u00e9 es Python?"},"content":{"rendered":"\n<p style=\"text-align: justify;\">Python es un lenguaje de programaci\u00f3n interpretado creado a principios de los 90 cuya principal ventaja es la legibilidad de su c\u00f3digo. De hecho, su creador lo dise\u00f1\u00f3 pensando en que su c\u00f3digo fuera f\u00e1cil de entender por los humanos. Es parecido al lenguaje PERL pero su sintaxis es m\u00e1s limpia.<\/p>\n<p style=\"text-align: justify;\">Python fue creado a finales de los ochenta\u200b por <a class=\"google-drive-opener\" href=\"https:\/\/es.wikipedia.org\/wiki\/Guido_van_Rossum\" target=\"_blank\" rel=\"noopener noreferrer\">Guido van Rossum<\/a> en el Centro para las Matem\u00e1ticas y la Inform\u00e1tica de los Pa\u00edses Bajos, como sucesor del <a class=\"google-drive-opener\" href=\"https:\/\/es.wikipedia.org\/wiki\/ABC_(lenguaje_de_programaci%C3%B3n)\" target=\"_blank\" rel=\"noopener noreferrer\">lenguaje de programaci\u00f3n ABC<\/a>, capaz de interactuar con el sistema operativo Amoeba.<\/p>\n<p style=\"text-align: justify;\">El nombre del lenguaje proviene de la afici\u00f3n de su creador por los humoristas brit\u00e1nicos <a class=\"google-drive-opener\" href=\"https:\/\/es.wikipedia.org\/wiki\/Monty_Python\" target=\"_blank\" rel=\"noopener noreferrer\">Monty Python<\/a>. No tiene nada que ver con las serpiente pit\u00f3n, por mucho que algunos se empe\u00f1en.<!--more--><\/p>\n<h3 style=\"text-align: justify;\"><span style=\"text-decoration: underline;\">Principales caracter\u00edsticas<\/span><\/h3>\n<h6 style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Lenguaje tipado<\/span><\/h6>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Nuestro programa se ejecutar\u00e1 utilizando un programa llamado <\/span><i><span style=\"font-weight: 400;\">int\u00e9rprete<\/span><\/i><span style=\"font-weight: 400;\"> en vez de compilar el c\u00f3digo a lenguaje m\u00e1quina como C++.<\/span><\/p>\n<h6 style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Tipado din\u00e1mico<\/span><\/h6>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">No nos hace declarar los tipos de variables antes de utilizarlas, sino que se crean adecuadamente en el momento de usarlas.<\/span><\/p>\n<h6 style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Fuertemente tipado<\/span><\/h6>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">No podemos cambiar variables de distintos tipos, por ejemplo, un variable tipo <\/span><i><span style=\"font-weight: 400;\">string<\/span><\/i><span style=\"font-weight: 400;\"> (car\u00e1cter) m\u00e1s una tipo <\/span><i><span style=\"font-weight: 400;\">int<\/span><\/i><span style=\"font-weight: 400;\"> (n\u00famero) nos dar\u00e1 un error.<\/span><\/p>\n<h6 style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Multiplataforma<\/span><\/h6>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">El <\/span><i><span style=\"font-weight: 400;\">int\u00e9rprete<\/span><\/i><span style=\"font-weight: 400;\"> que hace funcionar nuestro c\u00f3digo est\u00e1 disponible para todos los sistemas operativos, por lo que el programa que hayamos hecho en Python sobre Windows, por ejemplo, funcionar\u00e1 en Mac o sobre Linux, casi sin ninguna modificaci\u00f3n y si usamos el mismo entorno no tendremos que hacer <\/span><span style=\"text-decoration: underline;\"><i><span style=\"font-weight: 400;\">ninguna<\/span><\/i><\/span><span style=\"font-weight: 400;\"> modificaci\u00f3n.<\/span><\/p>\n<h6 style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Orientado a objetos<\/span><\/h6>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Lenguajes que permiten tipos de datos abstractos y de operaciones nuevas sobre esos tipos de datos.<\/span><\/p>\n<h6 style=\"text-align: justify;\"><strong>\u00bfPor qu\u00e9 Phyton?<\/strong><\/h6>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Un programa realizado en Python el c\u00f3digo tiene mucha similitud con pseudoc\u00f3digo, lo que facilita que sea entendible por los humanos, no como el lenguaje m\u00e1quina.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Su c\u00f3digo es bastante limpio y sencillo.<\/span><\/p>\n<p style=\"text-align: justify;\">Guido van Rossum, decidi\u00f3 a mediados de 2018 dejar las riendas de la supervisi\u00f3n del desarrollo de Python tras 30 a\u00f1os desde que cre\u00f3 el lenguaje. \u00c9l ha sido todo ese tiempo\u00a0 el \u00abDictador Benevolente de por Vida\u00bb (BDFL) supervisando el desarrollo del lenguaje y tomando las decisiones.\u00a0<\/p>\n<p style=\"text-align: justify;\">Fue <a class=\"google-drive-opener\" href=\"https:\/\/twitter.com\/gvanrossum\/status\/1326932991566700549\" target=\"_blank\" rel=\"noopener noreferrer\">a trav\u00e9s de Twitter<\/a> que Guido van Rossum decidi\u00f3 dar se\u00f1ales de vida anunciando que sal\u00eda de su letargo y anunciandio que renunciaba a su retiro para unirse a la divisi\u00f3n de desarrolladores de Microsoft.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python es un lenguaje de programaci\u00f3n interpretado creado a principios de los 90 cuya principal ventaja es la legibilidad de su c\u00f3digo. De hecho, su creador lo dise\u00f1\u00f3 pensando en que su c\u00f3digo fuera f\u00e1cil de entender por los humanos&#8230;. <a class=\"more-link\" href=\"https:\/\/jlandresm.com\/index.php\/2020\/11\/09\/que-es-python\/\">Seguir leyendo &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":149,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2,20],"tags":[],"class_list":["post-144","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-informatica","category-python"],"jetpack_featured_media_url":"https:\/\/jlandresm.com\/wp-content\/uploads\/2020\/11\/Guido-van-Rossum.jpg","uagb_featured_image_src":{"full":["https:\/\/jlandresm.com\/wp-content\/uploads\/2020\/11\/Guido-van-Rossum.jpg",250,250,false],"thumbnail":["https:\/\/jlandresm.com\/wp-content\/uploads\/2020\/11\/Guido-van-Rossum-150x150.jpg",150,150,true],"medium":["https:\/\/jlandresm.com\/wp-content\/uploads\/2020\/11\/Guido-van-Rossum.jpg",250,250,false],"medium_large":["https:\/\/jlandresm.com\/wp-content\/uploads\/2020\/11\/Guido-van-Rossum.jpg",250,250,false],"large":["https:\/\/jlandresm.com\/wp-content\/uploads\/2020\/11\/Guido-van-Rossum.jpg",250,250,false],"1536x1536":["https:\/\/jlandresm.com\/wp-content\/uploads\/2020\/11\/Guido-van-Rossum.jpg",250,250,false],"2048x2048":["https:\/\/jlandresm.com\/wp-content\/uploads\/2020\/11\/Guido-van-Rossum.jpg",250,250,false],"post-thumbnail":["https:\/\/jlandresm.com\/wp-content\/uploads\/2020\/11\/Guido-van-Rossum.jpg",250,250,false],"post-image":["https:\/\/jlandresm.com\/wp-content\/uploads\/2020\/11\/Guido-van-Rossum.jpg",250,250,false]},"uagb_author_info":{"display_name":"admin","author_link":"https:\/\/jlandresm.com\/index.php\/author\/adminweb\/"},"uagb_comment_info":0,"uagb_excerpt":"Python es un lenguaje de programaci\u00f3n interpretado creado a principios de los 90 cuya principal ventaja es la legibilidad de su c\u00f3digo. De hecho, su creador lo dise\u00f1\u00f3 pensando en que su c\u00f3digo fuera f\u00e1cil de entender por los humanos.... Seguir leyendo &rarr;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/posts\/144"}],"collection":[{"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/comments?post=144"}],"version-history":[{"count":9,"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/posts\/144\/revisions"}],"predecessor-version":[{"id":1007,"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/posts\/144\/revisions\/1007"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/media\/149"}],"wp:attachment":[{"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/media?parent=144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/categories?post=144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/tags?post=144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}