{"id":119,"date":"2023-08-12T21:15:59","date_gmt":"2023-08-13T00:15:59","guid":{"rendered":"https:\/\/urutaudev.com.br\/?p=119"},"modified":"2024-01-27T20:13:54","modified_gmt":"2024-01-27T23:13:54","slug":"remover-espacos-em-branco-de-strings-no-python","status":"publish","type":"post","link":"https:\/\/urutaudev.com.br\/index.php\/2023\/08\/12\/remover-espacos-em-branco-de-strings-no-python\/","title":{"rendered":"Remover espa\u00e7os em branco no Python"},"content":{"rendered":"<h2>Neste tutorial veremos como remover os espa\u00e7os em branco de Strings no Python.<\/h2>\n<hr \/>\n<h2><\/h2>\n<figure id=\"attachment_94\" aria-describedby=\"caption-attachment-94\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-94 size-medium\" title=\"Remover espa\u00e7os em branco no Python\" src=\"https:\/\/urutaudev.com.br\/wp-content\/uploads\/2023\/08\/python-300x168.webp\" alt=\"Remover espa\u00e7os em branco no Python\" width=\"300\" height=\"168\" srcset=\"https:\/\/urutaudev.com.br\/wp-content\/uploads\/2023\/08\/python-300x168.webp 300w, https:\/\/urutaudev.com.br\/wp-content\/uploads\/2023\/08\/python.webp 535w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-94\" class=\"wp-caption-text\">Remover espa\u00e7os em branco no Python<\/figcaption><\/figure>\n<h2><\/h2>\n<h2>Introdu\u00e7\u00e3o<\/h2>\n<p><span style=\"font-size: 14pt;\">Este tutorial tem o intuito de demonstrar como um programador pode remover os espa\u00e7os em branco de uma string no python.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Em muitas ocasi\u00f5es quando estamos desenvolvendo um aplica\u00e7\u00e3o em que os usu\u00e1rios precisam imputar informa\u00e7\u00f5es, precisamos est\u00e1 atentos como est\u00e1 informa\u00e7\u00f5es\u00a0 que s\u00e3o digitadas pelo usu\u00e1rio.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Principalmente quando esta informa\u00e7\u00f5es s\u00e3o sens\u00edveis, muitas vezes precisamos tratar esses dados fornecidos antes de inserir em banco de dados.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">O principal problema \u00e9 quando o usu\u00e1rio informa os dados com espa\u00e7os em branco tanto no inicio da palavra quanto no fim da palavra, este tutorial visa demostrar como tratar esses casos.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2>Um breve explica\u00e7\u00e3o do que \u00e9 o Python?<\/h2>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\">O Python \u00e9 uma linguagem de programa\u00e7\u00e3o de alto n\u00edvel, interpretada, orientada a objetos, funcional, e possui uma tipagem tanto din\u00e2mica quanto forte. O Python foi lan\u00e7ada em 1991 e seu criador foi Guido Van Rossum.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2>Requisitos para execu\u00e7\u00e3o deste tutorial:<\/h2>\n<p>&nbsp;<\/p>\n<ul>\n<li><span style=\"font-size: 14pt;\">Python;<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>Removendo os espa\u00e7os em branco de Strings no Python<\/h2>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\">No Python existe tr\u00eas(3) m\u00e9todos para remo\u00e7\u00e3o de espa\u00e7os em branco de Strings, s\u00e3o eles:<\/span><\/p>\n<ol>\n<li><span style=\"font-size: 14pt;\"><code><b>strip:<\/b><\/code>\u00a0Remove os espa\u00e7os em branco, tanto do in\u00edcio quanto do final da String;<\/span><\/li>\n<li><span style=\"font-size: 14pt;\"><code><b>lstrip:<\/b><\/code>\u00a0Remove os espa\u00e7os em branco, do in\u00edcio da String;<\/span><\/li>\n<li><span style=\"font-size: 14pt;\"><code><b>rstrip:<\/b><\/code>\u00a0Remove os espa\u00e7os em branco, do final da String;<\/span><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\">Abaixo mostro tr\u00eas(3) exemplos simples de utiliza\u00e7\u00e3o dos m\u00e9todos (<code><b>strip<\/b><\/code>, <code><b>lstrip<\/b><\/code> , <code><b>rstrip<\/b><\/code>):<\/span><\/p>\n<pre>\r\n\r\n<code>string = '  String com espa\u00e7os  '\r\nprint(f'String sem tratamento =\\'{string}\\'')\r\nprint(f'String ap\u00f3s remover os espa\u00e7os com (strip) =\\'{string.strip()}\\'')\r\nprint(f'String ap\u00f3s remover os espa\u00e7os do in\u00edcio com (lstrip) =\\'{string.lstrip()}\\'')\r\nprint(f'String ap\u00f3s remover os espa\u00e7os do final com (rstrip)  =\\'{string.rstrip()}\\'')<\/code><code>\r\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\">Vamos executar o c\u00f3digo acima isto imprimira na tela do terminal as informa\u00e7\u00f5es abaixo:<\/span><\/p>\n<pre><code>### Sa\u00edda:\r\nString sem tratamento ='  String com espa\u00e7os  '\r\nString ap\u00f3s remover os espa\u00e7os com (lstrip) ='String com espa\u00e7os  '\r\nString ap\u00f3s remover os espa\u00e7os do in\u00edcio com (lstrip) ='String com espa\u00e7os'  \r\nString ap\u00f3s remover os espa\u00e7os do final com (rstrip)  ='  String com espa\u00e7os'   <\/code><\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\">Um breve explica\u00e7\u00e3o do c\u00f3digo que acabamos de implementar:<\/span><\/p>\n<ul>\n<li><span style=\"font-size: 14pt;\">Na primeira linha do c\u00f3digo crio uma vari\u00e1vel (<code>string<\/code>) que cont\u00e9m uma frase com espa\u00e7os em branco tanto no inicio quanto no final da frase;<\/span><\/li>\n<li><span style=\"font-size: 14pt;\">Na segunda linha imprimo a vari\u00e1vel (<code>string<\/code>) sem tratamento;<\/span><\/li>\n<li><span style=\"font-size: 14pt;\">J\u00e1 na terceira linha imprimo a vari\u00e1vel (<code>string<\/code>) removendo todos espa\u00e7os em branco tanto no inicio quanto no final da frase;<\/span><\/li>\n<li><span style=\"font-size: 14pt;\">A quarta linha imprimo a vari\u00e1vel (<code>string<\/code>) removendo os espa\u00e7os em branco do lado esquerdo da frase;<\/span><\/li>\n<li><span style=\"font-size: 14pt;\">A ultima linha imprimo a vari\u00e1vel (<code>string<\/code>) removendo os espa\u00e7os em branco do lado direito da frase;<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>C\u00f3digo fonte do tutorial remover espa\u00e7os em branco:<\/h2>\n<p><span style=\"font-size: 14pt;\"><a href=\"https:\/\/github.com\/JrDevCJ\/tutorial-pyhton\/blob\/main\/utils\/removerEspacosEmBrancoString.py\" target=\"_blank\" rel=\"noopener\">C\u00f3digo Fonte<\/a><\/span><\/p>\n<p>&nbsp;<\/p>\n<h2>Refer\u00eancias:<\/h2>\n<ul>\n<li><span style=\"font-size: 14pt;\"><a href=\"https:\/\/www.python.org\/\" target=\"_blank\" rel=\"noopener\">Python Docs<\/a><\/span><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Neste tutorial veremos como remover os espa\u00e7os em branco de Strings no Python. Introdu\u00e7\u00e3o Este tutorial tem o intuito de<\/p>\n","protected":false},"author":1,"featured_media":94,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[16],"tags":[33,18],"class_list":["post-119","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-python","tag-tutorias"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Remover espa\u00e7os em branco no Python - UrutauDev<\/title>\n<meta name=\"description\" content=\"Neste tutorial veremos como remover os espa\u00e7os em branco de strings no Python de uma forma simples e pr\u00e1tica .\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/urutaudev.com.br\/index.php\/2023\/08\/12\/remover-espacos-em-branco-de-strings-no-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Remover espa\u00e7os em branco no Python - UrutauDev\" \/>\n<meta property=\"og:description\" content=\"Neste tutorial veremos como remover os espa\u00e7os em branco de strings no Python de uma forma simples e pr\u00e1tica .\" \/>\n<meta property=\"og:url\" content=\"https:\/\/urutaudev.com.br\/index.php\/2023\/08\/12\/remover-espacos-em-branco-de-strings-no-python\/\" \/>\n<meta property=\"og:site_name\" content=\"UrutauDev\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-13T00:15:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-27T23:13:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/urutaudev.com.br\/wp-content\/uploads\/2023\/08\/python.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"535\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"C. Junior\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"C. Junior\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/index.php\\\/2023\\\/08\\\/12\\\/remover-espacos-em-branco-de-strings-no-python\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/index.php\\\/2023\\\/08\\\/12\\\/remover-espacos-em-branco-de-strings-no-python\\\/\"},\"author\":{\"name\":\"C. Junior\",\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/#\\\/schema\\\/person\\\/7e321618d23a158d5a42d5cfbdd99dd6\"},\"headline\":\"Remover espa\u00e7os em branco no Python\",\"datePublished\":\"2023-08-13T00:15:59+00:00\",\"dateModified\":\"2024-01-27T23:13:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/index.php\\\/2023\\\/08\\\/12\\\/remover-espacos-em-branco-de-strings-no-python\\\/\"},\"wordCount\":429,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/index.php\\\/2023\\\/08\\\/12\\\/remover-espacos-em-branco-de-strings-no-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/urutaudev.com.br\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/python.webp\",\"keywords\":[\"python\",\"tutorias\"],\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/urutaudev.com.br\\\/index.php\\\/2023\\\/08\\\/12\\\/remover-espacos-em-branco-de-strings-no-python\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/index.php\\\/2023\\\/08\\\/12\\\/remover-espacos-em-branco-de-strings-no-python\\\/\",\"url\":\"https:\\\/\\\/urutaudev.com.br\\\/index.php\\\/2023\\\/08\\\/12\\\/remover-espacos-em-branco-de-strings-no-python\\\/\",\"name\":\"Remover espa\u00e7os em branco no Python - UrutauDev\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/index.php\\\/2023\\\/08\\\/12\\\/remover-espacos-em-branco-de-strings-no-python\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/index.php\\\/2023\\\/08\\\/12\\\/remover-espacos-em-branco-de-strings-no-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/urutaudev.com.br\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/python.webp\",\"datePublished\":\"2023-08-13T00:15:59+00:00\",\"dateModified\":\"2024-01-27T23:13:54+00:00\",\"description\":\"Neste tutorial veremos como remover os espa\u00e7os em branco de strings no Python de uma forma simples e pr\u00e1tica .\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/index.php\\\/2023\\\/08\\\/12\\\/remover-espacos-em-branco-de-strings-no-python\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/urutaudev.com.br\\\/index.php\\\/2023\\\/08\\\/12\\\/remover-espacos-em-branco-de-strings-no-python\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/index.php\\\/2023\\\/08\\\/12\\\/remover-espacos-em-branco-de-strings-no-python\\\/#primaryimage\",\"url\":\"https:\\\/\\\/urutaudev.com.br\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/python.webp\",\"contentUrl\":\"https:\\\/\\\/urutaudev.com.br\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/python.webp\",\"width\":535,\"height\":300,\"caption\":\"Como criar ambientes virtuais no python\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/index.php\\\/2023\\\/08\\\/12\\\/remover-espacos-em-branco-de-strings-no-python\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\\\/\\\/urutaudev.com.br\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Remover espa\u00e7os em branco no Python\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/#website\",\"url\":\"https:\\\/\\\/urutaudev.com.br\\\/\",\"name\":\"UrutauDev\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/urutaudev.com.br\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/#organization\",\"name\":\"UrutauDev\",\"url\":\"https:\\\/\\\/urutaudev.com.br\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/urutaudev.com.br\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/cropped-urutau-dev-logo.png\",\"contentUrl\":\"https:\\\/\\\/urutaudev.com.br\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/cropped-urutau-dev-logo.png\",\"width\":100,\"height\":84,\"caption\":\"UrutauDev\"},\"image\":{\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/urutaudev.com.br\\\/#\\\/schema\\\/person\\\/7e321618d23a158d5a42d5cfbdd99dd6\",\"name\":\"C. Junior\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e7df4c63012e2f6991311d4037bdc57752b996058cf1396747a7ab74e8ac032e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e7df4c63012e2f6991311d4037bdc57752b996058cf1396747a7ab74e8ac032e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e7df4c63012e2f6991311d4037bdc57752b996058cf1396747a7ab74e8ac032e?s=96&d=mm&r=g\",\"caption\":\"C. Junior\"},\"sameAs\":[\"http:\\\/\\\/urutaudev.com.br\",\"instagram.com\\\/urutautec\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC8pDLb5GaYBAoWwQkIzrhRw\"],\"url\":\"https:\\\/\\\/urutaudev.com.br\\\/index.php\\\/author\\\/urutaudev-com-br\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Remover espa\u00e7os em branco no Python - UrutauDev","description":"Neste tutorial veremos como remover os espa\u00e7os em branco de strings no Python de uma forma simples e pr\u00e1tica .","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:\/\/urutaudev.com.br\/index.php\/2023\/08\/12\/remover-espacos-em-branco-de-strings-no-python\/","og_locale":"en_US","og_type":"article","og_title":"Remover espa\u00e7os em branco no Python - UrutauDev","og_description":"Neste tutorial veremos como remover os espa\u00e7os em branco de strings no Python de uma forma simples e pr\u00e1tica .","og_url":"https:\/\/urutaudev.com.br\/index.php\/2023\/08\/12\/remover-espacos-em-branco-de-strings-no-python\/","og_site_name":"UrutauDev","article_published_time":"2023-08-13T00:15:59+00:00","article_modified_time":"2024-01-27T23:13:54+00:00","og_image":[{"width":535,"height":300,"url":"https:\/\/urutaudev.com.br\/wp-content\/uploads\/2023\/08\/python.webp","type":"image\/webp"}],"author":"C. Junior","twitter_card":"summary_large_image","twitter_misc":{"Written by":"C. Junior","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/urutaudev.com.br\/index.php\/2023\/08\/12\/remover-espacos-em-branco-de-strings-no-python\/#article","isPartOf":{"@id":"https:\/\/urutaudev.com.br\/index.php\/2023\/08\/12\/remover-espacos-em-branco-de-strings-no-python\/"},"author":{"name":"C. Junior","@id":"https:\/\/urutaudev.com.br\/#\/schema\/person\/7e321618d23a158d5a42d5cfbdd99dd6"},"headline":"Remover espa\u00e7os em branco no Python","datePublished":"2023-08-13T00:15:59+00:00","dateModified":"2024-01-27T23:13:54+00:00","mainEntityOfPage":{"@id":"https:\/\/urutaudev.com.br\/index.php\/2023\/08\/12\/remover-espacos-em-branco-de-strings-no-python\/"},"wordCount":429,"commentCount":0,"publisher":{"@id":"https:\/\/urutaudev.com.br\/#organization"},"image":{"@id":"https:\/\/urutaudev.com.br\/index.php\/2023\/08\/12\/remover-espacos-em-branco-de-strings-no-python\/#primaryimage"},"thumbnailUrl":"https:\/\/urutaudev.com.br\/wp-content\/uploads\/2023\/08\/python.webp","keywords":["python","tutorias"],"articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/urutaudev.com.br\/index.php\/2023\/08\/12\/remover-espacos-em-branco-de-strings-no-python\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/urutaudev.com.br\/index.php\/2023\/08\/12\/remover-espacos-em-branco-de-strings-no-python\/","url":"https:\/\/urutaudev.com.br\/index.php\/2023\/08\/12\/remover-espacos-em-branco-de-strings-no-python\/","name":"Remover espa\u00e7os em branco no Python - UrutauDev","isPartOf":{"@id":"https:\/\/urutaudev.com.br\/#website"},"primaryImageOfPage":{"@id":"https:\/\/urutaudev.com.br\/index.php\/2023\/08\/12\/remover-espacos-em-branco-de-strings-no-python\/#primaryimage"},"image":{"@id":"https:\/\/urutaudev.com.br\/index.php\/2023\/08\/12\/remover-espacos-em-branco-de-strings-no-python\/#primaryimage"},"thumbnailUrl":"https:\/\/urutaudev.com.br\/wp-content\/uploads\/2023\/08\/python.webp","datePublished":"2023-08-13T00:15:59+00:00","dateModified":"2024-01-27T23:13:54+00:00","description":"Neste tutorial veremos como remover os espa\u00e7os em branco de strings no Python de uma forma simples e pr\u00e1tica .","breadcrumb":{"@id":"https:\/\/urutaudev.com.br\/index.php\/2023\/08\/12\/remover-espacos-em-branco-de-strings-no-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/urutaudev.com.br\/index.php\/2023\/08\/12\/remover-espacos-em-branco-de-strings-no-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/urutaudev.com.br\/index.php\/2023\/08\/12\/remover-espacos-em-branco-de-strings-no-python\/#primaryimage","url":"https:\/\/urutaudev.com.br\/wp-content\/uploads\/2023\/08\/python.webp","contentUrl":"https:\/\/urutaudev.com.br\/wp-content\/uploads\/2023\/08\/python.webp","width":535,"height":300,"caption":"Como criar ambientes virtuais no python"},{"@type":"BreadcrumbList","@id":"https:\/\/urutaudev.com.br\/index.php\/2023\/08\/12\/remover-espacos-em-branco-de-strings-no-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/urutaudev.com.br\/"},{"@type":"ListItem","position":2,"name":"Remover espa\u00e7os em branco no Python"}]},{"@type":"WebSite","@id":"https:\/\/urutaudev.com.br\/#website","url":"https:\/\/urutaudev.com.br\/","name":"UrutauDev","description":"","publisher":{"@id":"https:\/\/urutaudev.com.br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/urutaudev.com.br\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/urutaudev.com.br\/#organization","name":"UrutauDev","url":"https:\/\/urutaudev.com.br\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/urutaudev.com.br\/#\/schema\/logo\/image\/","url":"https:\/\/urutaudev.com.br\/wp-content\/uploads\/2023\/08\/cropped-urutau-dev-logo.png","contentUrl":"https:\/\/urutaudev.com.br\/wp-content\/uploads\/2023\/08\/cropped-urutau-dev-logo.png","width":100,"height":84,"caption":"UrutauDev"},"image":{"@id":"https:\/\/urutaudev.com.br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/urutaudev.com.br\/#\/schema\/person\/7e321618d23a158d5a42d5cfbdd99dd6","name":"C. Junior","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e7df4c63012e2f6991311d4037bdc57752b996058cf1396747a7ab74e8ac032e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e7df4c63012e2f6991311d4037bdc57752b996058cf1396747a7ab74e8ac032e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e7df4c63012e2f6991311d4037bdc57752b996058cf1396747a7ab74e8ac032e?s=96&d=mm&r=g","caption":"C. Junior"},"sameAs":["http:\/\/urutaudev.com.br","instagram.com\/urutautec","https:\/\/www.youtube.com\/channel\/UC8pDLb5GaYBAoWwQkIzrhRw"],"url":"https:\/\/urutaudev.com.br\/index.php\/author\/urutaudev-com-br\/"}]}},"_links":{"self":[{"href":"https:\/\/urutaudev.com.br\/index.php\/wp-json\/wp\/v2\/posts\/119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/urutaudev.com.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/urutaudev.com.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/urutaudev.com.br\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/urutaudev.com.br\/index.php\/wp-json\/wp\/v2\/comments?post=119"}],"version-history":[{"count":3,"href":"https:\/\/urutaudev.com.br\/index.php\/wp-json\/wp\/v2\/posts\/119\/revisions"}],"predecessor-version":[{"id":292,"href":"https:\/\/urutaudev.com.br\/index.php\/wp-json\/wp\/v2\/posts\/119\/revisions\/292"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/urutaudev.com.br\/index.php\/wp-json\/wp\/v2\/media\/94"}],"wp:attachment":[{"href":"https:\/\/urutaudev.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/urutaudev.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/urutaudev.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}