{"id":83,"date":"2021-04-01T17:04:58","date_gmt":"2021-04-01T20:04:58","guid":{"rendered":"http:\/\/treinamentolivre.com\/aluno01\/?p=83"},"modified":"2021-09-15T19:05:32","modified_gmt":"2021-09-15T22:05:32","slug":"linguagem-python-instale-agora","status":"publish","type":"post","link":"https:\/\/treinamentolivre.com\/aluno01\/arquivos\/83","title":{"rendered":"Linguagem Python: Instale agora !"},"content":{"rendered":"\n<p>N\u00e3o vou ficar explicando a origem da linguagem Python, nem ensinando o leitor a programar. Apenas digo que voc\u00ea precisa instalar Python agora, em seu Windows, em seu Android, em seu Linux, em seu macOS. E por qu\u00ea ? Simplesmente porque Python \u00e9 excelente para IA. E se voc\u00ea est\u00e1 aqui, \u00e9 um apreciador do assunto.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Python<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/09\/Python-Installer-1024x819.jpg\" alt=\"\" class=\"wp-image-1110\" width=\"730\" height=\"584\" srcset=\"https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/09\/Python-Installer-1024x819.jpg 1024w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/09\/Python-Installer-300x240.jpg 300w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/09\/Python-Installer-768x614.jpg 768w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/09\/Python-Installer.jpg 1280w\" sizes=\"(max-width: 730px) 100vw, 730px\" \/><figcaption>Site de download dp Python<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>H\u00e1 alguns meses atr\u00e1s era preciso instalar vers\u00e3o 3.8.8  \/ 32 bits do Python e<strong> a vers\u00e3o 32 bits do Connector<\/strong>, sen\u00e3o ele n\u00e3o funcionava no Windows 10 Pro. Atualmente esse problema foi resolvido. Voc\u00ea ir\u00e1 instalar a vers\u00e3o 3.9 do <a rel=\"noreferrer noopener\" href=\"https:\/\/www.python.org\/downloads\/\" target=\"_blank\">Python 64 bits<\/a> . N\u00e3o se esque\u00e7as de adicionar o path, como manda a \u00faltima linha do instalador.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>MySQL Installer<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/09\/MySQL-Installer.jpg\" alt=\"\" class=\"wp-image-1107\" width=\"733\" height=\"554\" srcset=\"https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/09\/MySQL-Installer.jpg 787w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/09\/MySQL-Installer-300x227.jpg 300w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/09\/MySQL-Installer-768x581.jpg 768w\" sizes=\"(max-width: 733px) 100vw, 733px\" \/><figcaption>Instalador do Oracle Connector solicitando o novo Python<\/figcaption><\/figure>\n\n\n\n<p>Quando voc\u00ea tiver terminado de instalar Python, <a rel=\"noreferrer noopener\" href=\"https:\/\/dev.mysql.com\/downloads\/installer\/\" target=\"_blank\">baixe o MySQL Installer<\/a> (O mysql-installer-community-8.0.26.0.msi \u00e9 o que tem mas de 450 MB de tamanho)  execute-o e instale o item <strong>Connector<\/strong>. O site pede login na rede da Oracle, mas escolha &#8220;<strong>No thanks, just start my download<\/strong>&#8220;. <\/p>\n\n\n\n<p>Ser\u00e1 que voc\u00ea vai precisar instalar o banco de dados MySQL em sua m\u00e1quina ? N\u00e3o, se o seu provedor tiver instalador desse banco de dados dispon\u00edvel no pacote. Nesse caso voc\u00ea s\u00f3 vai precisar conectar a um banco j\u00e1 existente na web. Essa foi a minha escolha.<\/p>\n\n\n\n<p>No Windows 10, voc\u00ea precisar\u00e1 o Visual Studio. O Installer vai encontr\u00e1-lo para voc\u00ea. Esse \u00e9 lento pr\u00e1 chuchu ! Vai deixar sua m\u00e1quina sonolenta. Mas vai valer a pena acessar MySQl a partir do Python, com o Connector.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"784\" height=\"788\" src=\"http:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/04\/MySQL-Installer-02.jpg\" alt=\"\" class=\"wp-image-1111\" srcset=\"https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/04\/MySQL-Installer-02.jpg 784w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/04\/MySQL-Installer-02-298x300.jpg 298w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/04\/MySQL-Installer-02-150x150.jpg 150w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/04\/MySQL-Installer-02-768x772.jpg 768w\" sizes=\"(max-width: 784px) 100vw, 784px\" \/><figcaption>MySQL Installer depois de instalado o Python correto.<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"756\" src=\"http:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/09\/MySQL-Installer-03-1024x756.jpg\" alt=\"\" class=\"wp-image-1112\" srcset=\"https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/09\/MySQL-Installer-03-1024x756.jpg 1024w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/09\/MySQL-Installer-03-300x222.jpg 300w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/09\/MySQL-Installer-03-768x567.jpg 768w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/09\/MySQL-Installer-03.jpg 1098w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>O MySQL Installer avisa que i Visual Studio ser\u00e1 instalado<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"784\" height=\"592\" src=\"http:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/09\/MySQL-Installer-04.jpg\" alt=\"\" class=\"wp-image-1113\" srcset=\"https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/09\/MySQL-Installer-04.jpg 784w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/09\/MySQL-Installer-04-300x227.jpg 300w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/09\/MySQL-Installer-04-768x580.jpg 768w\" sizes=\"(max-width: 784px) 100vw, 784px\" \/><figcaption>Resumo dada pr\u00e9-instala\u00e7\u00e3o depois dessa tela demora um tanto. Hora do caf\u00e9&#8230;<\/figcaption><\/figure>\n\n\n\n<p>Depois dessas opera\u00e7\u00f5es, instalei o PyCharm, que \u00e9 uma interface para programar na linguagem Python; uma esp\u00e9cie de IDE.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"768\" src=\"http:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/04\/PyCharm.png\" alt=\"\" class=\"wp-image-94\" srcset=\"https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/04\/PyCharm.png 1024w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/04\/PyCharm-300x225.png 300w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/04\/PyCharm-768x576.png 768w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/04\/PyCharm-830x623.png 830w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/04\/PyCharm-230x173.png 230w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/04\/PyCharm-350x263.png 350w, https:\/\/treinamentolivre.com\/aluno01\/wp-content\/uploads\/2021\/04\/PyCharm-480x360.png 480w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Ent\u00e3o, resumindo:<\/p>\n\n\n\n<ul><li>Python pen\u00faltima vers\u00e3o<\/li><li>MySQL Installer<ul><li>MySQL Connector<\/li><li>Microsoft Visual Studio<\/li><\/ul><\/li><li>PyCharm<\/li><\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p>Agora voc\u00ea est\u00e1 pronto para programar em Python e, quando necess\u00e1rio, ter\u00e1 tudo o que precisa para conectar num banco de dados MySQL da web. D\u00ea uma olhada no <a href=\"https:\/\/on.fiap.com.br\/\" target=\"_blank\" rel=\"noreferrer noopener\">curso de programa\u00e7\u00e3o Python da FIAP<\/a>. \u00c9 bem legal. Mais tarde voc\u00ea aprender\u00e1 sobre o uso do MySQL e dos sistemas noSQL, sem pressa.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Quer programar Python mas n\u00e3o quer instalar ? Leia o post a seguir.<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-i-2-inteligencia-artificial wp-block-embed-i-2-inteligencia-artificial\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"WIwKlavjoZ\"><a href=\"http:\/\/treinamentolivre.com\/aluno01\/arquivos\/1027\">Programando em Python com o Google Colab.<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Programando em Python com o Google Colab.&#8221; &#8212; I2 - Intelig\u00eancia Artificial\" src=\"http:\/\/treinamentolivre.com\/aluno01\/arquivos\/1027\/embed#?secret=WIwKlavjoZ\" data-secret=\"WIwKlavjoZ\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>N\u00e3o vou ficar explicando a origem da linguagem Python, nem ensinando o leitor a programar. Apenas digo que voc\u00ea precisa instalar Python agora, em seu Windows, em seu Android, em&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/treinamentolivre.com\/aluno01\/arquivos\/83\">Continuar a ler&#8230;<span class=\"screen-reader-text\">Linguagem Python: Instale agora !<\/span><\/a><\/div>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,5],"tags":[],"_links":{"self":[{"href":"https:\/\/treinamentolivre.com\/aluno01\/wp-json\/wp\/v2\/posts\/83"}],"collection":[{"href":"https:\/\/treinamentolivre.com\/aluno01\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/treinamentolivre.com\/aluno01\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/treinamentolivre.com\/aluno01\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/treinamentolivre.com\/aluno01\/wp-json\/wp\/v2\/comments?post=83"}],"version-history":[{"count":19,"href":"https:\/\/treinamentolivre.com\/aluno01\/wp-json\/wp\/v2\/posts\/83\/revisions"}],"predecessor-version":[{"id":1116,"href":"https:\/\/treinamentolivre.com\/aluno01\/wp-json\/wp\/v2\/posts\/83\/revisions\/1116"}],"wp:attachment":[{"href":"https:\/\/treinamentolivre.com\/aluno01\/wp-json\/wp\/v2\/media?parent=83"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/treinamentolivre.com\/aluno01\/wp-json\/wp\/v2\/categories?post=83"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/treinamentolivre.com\/aluno01\/wp-json\/wp\/v2\/tags?post=83"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}