{"id":1027,"date":"2010-10-10T10:40:36","date_gmt":"2010-10-10T08:40:36","guid":{"rendered":"http:\/\/shakaran.net\/blog\/?p=1027"},"modified":"2010-10-10T05:04:20","modified_gmt":"2010-10-10T03:04:20","slug":"como-usar-bibliotecas-de-c-en-python","status":"publish","type":"post","link":"https:\/\/shakaran.net\/blog\/2010\/10\/como-usar-bibliotecas-de-c-en-python\/","title":{"rendered":"Como usar bibliotecas de C en Python"},"content":{"rendered":"Para determinadas aplicaciones, la eficiencia y el rendimiento es clave. Python es un buen lenguaje para programar r\u00e1pido y mucho en pocas l\u00edneas, pero a veces queremos bajar m\u00e1s de nivel para ofrecer mejores prestaciones.\r\n\r\nPero esta decisi\u00f3n no debe implicar, perder nuestra comodidad que tenemos con Python. Existe una biblioteca incluida nativamente desde Python 2.5 llamada ctypes que nos permite utilizar funciones y bibliotecas compartidas de C (en cualquier sistema operativo) obteniendo <a href=\"https:\/\/shakaran.net\/blog\/2010\/10\/como-usar-bibliotecas-de-c-en-python\/\" class=\"more-link\">Leer m\u00e1s [...]<\/a>","protected":false},"excerpt":{"rendered":"<p>Para determinadas aplicaciones, la eficiencia y el rendimiento es clave. Python es un buen lenguaje para programar r\u00e1pido y mucho en pocas l\u00edneas, pero a veces queremos bajar m\u00e1s de nivel para ofrecer mejores prestaciones. Pero esta decisi\u00f3n no debe&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[248,84,247],"tags":[890,232,250,895,592,886,883,887,885,52,578,892,889,291,858,884,856,888,893,882,226,894,569,891,53,879,369],"class_list":["post-1027","post","type-post","status-publish","format-standard","hentry","category-lenguaje-c","category-open-source","category-python-open-source","tag-argumentos","tag-biblioteca","tag-c","tag-cdll","tag-codigo","tag-comodidad","tag-compatido","tag-ctypes","tag-decision","tag-eficiencia","tag-fuente","tag-funcionalidad","tag-funciones","tag-library","tag-mpi","tag-nivel","tag-openmpi","tag-operativo","tag-paralelo","tag-prototipo","tag-python","tag-pythonapi","tag-rapido","tag-referencia","tag-rendimiento","tag-sistema","tag-version","no-post-thumbnail"],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Como usar bibliotecas de C en Python - Shakaran<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/shakaran.net\/blog\/2010\/10\/como-usar-bibliotecas-de-c-en-python\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Como usar bibliotecas de C en Python - Shakaran\" \/>\n<meta property=\"og:description\" content=\"Para determinadas aplicaciones, la eficiencia y el rendimiento es clave. Python es un buen lenguaje para programar r\u00e1pido y mucho en pocas l\u00edneas, pero a veces queremos bajar m\u00e1s de nivel para ofrecer mejores prestaciones. Pero esta decisi\u00f3n no debe...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/shakaran.net\/blog\/2010\/10\/como-usar-bibliotecas-de-c-en-python\/\" \/>\n<meta property=\"og:site_name\" content=\"Shakaran\" \/>\n<meta property=\"article:published_time\" content=\"2010-10-10T08:40:36+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@shakaran87\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/shakaran.net\/blog\/2010\/10\/como-usar-bibliotecas-de-c-en-python\/\",\"url\":\"https:\/\/shakaran.net\/blog\/2010\/10\/como-usar-bibliotecas-de-c-en-python\/\",\"name\":\"Como usar bibliotecas de C en Python - Shakaran\",\"isPartOf\":{\"@id\":\"https:\/\/shakaran.net\/blog\/#website\"},\"datePublished\":\"2010-10-10T08:40:36+00:00\",\"author\":{\"@id\":\"https:\/\/shakaran.net\/blog\/#\/schema\/person\/be105ef72be5556cce2db416e1f0ae86\"},\"breadcrumb\":{\"@id\":\"https:\/\/shakaran.net\/blog\/2010\/10\/como-usar-bibliotecas-de-c-en-python\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/shakaran.net\/blog\/2010\/10\/como-usar-bibliotecas-de-c-en-python\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/shakaran.net\/blog\/2010\/10\/como-usar-bibliotecas-de-c-en-python\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/shakaran.net\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Como usar bibliotecas de C en Python\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/shakaran.net\/blog\/#website\",\"url\":\"https:\/\/shakaran.net\/blog\/\",\"name\":\"Shakaran\",\"description\":\"Blog de un ingeniero inform\u00e1tico superior y sysadmin\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/shakaran.net\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/shakaran.net\/blog\/#\/schema\/person\/be105ef72be5556cce2db416e1f0ae86\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/shakaran.net\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b2592d3b37575130bc6551aee0d29430?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b2592d3b37575130bc6551aee0d29430?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"description\":\"Senior Backend Engineer &amp; Sysadmin (Freelancer)\",\"sameAs\":[\"http:\/\/www.quijost.com\",\"https:\/\/x.com\/shakaran87\"],\"url\":\"https:\/\/shakaran.net\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Como usar bibliotecas de C en Python - Shakaran","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/shakaran.net\/blog\/2010\/10\/como-usar-bibliotecas-de-c-en-python\/","og_locale":"es_ES","og_type":"article","og_title":"Como usar bibliotecas de C en Python - Shakaran","og_description":"Para determinadas aplicaciones, la eficiencia y el rendimiento es clave. Python es un buen lenguaje para programar r\u00e1pido y mucho en pocas l\u00edneas, pero a veces queremos bajar m\u00e1s de nivel para ofrecer mejores prestaciones. Pero esta decisi\u00f3n no debe...","og_url":"https:\/\/shakaran.net\/blog\/2010\/10\/como-usar-bibliotecas-de-c-en-python\/","og_site_name":"Shakaran","article_published_time":"2010-10-10T08:40:36+00:00","author":"admin","twitter_card":"summary_large_image","twitter_creator":"@shakaran87","twitter_misc":{"Escrito por":"admin","Tiempo de lectura":"4 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/shakaran.net\/blog\/2010\/10\/como-usar-bibliotecas-de-c-en-python\/","url":"https:\/\/shakaran.net\/blog\/2010\/10\/como-usar-bibliotecas-de-c-en-python\/","name":"Como usar bibliotecas de C en Python - Shakaran","isPartOf":{"@id":"https:\/\/shakaran.net\/blog\/#website"},"datePublished":"2010-10-10T08:40:36+00:00","author":{"@id":"https:\/\/shakaran.net\/blog\/#\/schema\/person\/be105ef72be5556cce2db416e1f0ae86"},"breadcrumb":{"@id":"https:\/\/shakaran.net\/blog\/2010\/10\/como-usar-bibliotecas-de-c-en-python\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/shakaran.net\/blog\/2010\/10\/como-usar-bibliotecas-de-c-en-python\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/shakaran.net\/blog\/2010\/10\/como-usar-bibliotecas-de-c-en-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/shakaran.net\/blog\/"},{"@type":"ListItem","position":2,"name":"Como usar bibliotecas de C en Python"}]},{"@type":"WebSite","@id":"https:\/\/shakaran.net\/blog\/#website","url":"https:\/\/shakaran.net\/blog\/","name":"Shakaran","description":"Blog de un ingeniero inform\u00e1tico superior y sysadmin","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/shakaran.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Person","@id":"https:\/\/shakaran.net\/blog\/#\/schema\/person\/be105ef72be5556cce2db416e1f0ae86","name":"admin","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/shakaran.net\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b2592d3b37575130bc6551aee0d29430?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b2592d3b37575130bc6551aee0d29430?s=96&d=mm&r=g","caption":"admin"},"description":"Senior Backend Engineer &amp; Sysadmin (Freelancer)","sameAs":["http:\/\/www.quijost.com","https:\/\/x.com\/shakaran87"],"url":"https:\/\/shakaran.net\/blog\/author\/admin\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pAPNv-gz","jetpack-related-posts":[],"jetpack_likes_enabled":true,"amp_enabled":true,"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/shakaran.net\/blog\/wp-json\/wp\/v2\/posts\/1027"}],"collection":[{"href":"https:\/\/shakaran.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shakaran.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shakaran.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shakaran.net\/blog\/wp-json\/wp\/v2\/comments?post=1027"}],"version-history":[{"count":0,"href":"https:\/\/shakaran.net\/blog\/wp-json\/wp\/v2\/posts\/1027\/revisions"}],"wp:attachment":[{"href":"https:\/\/shakaran.net\/blog\/wp-json\/wp\/v2\/media?parent=1027"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shakaran.net\/blog\/wp-json\/wp\/v2\/categories?post=1027"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shakaran.net\/blog\/wp-json\/wp\/v2\/tags?post=1027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}