{"id":38880,"date":"2025-12-24T01:00:04","date_gmt":"2025-12-24T05:00:04","guid":{"rendered":""},"modified":"2025-12-24T01:00:04","modified_gmt":"2025-12-24T05:00:04","slug":"script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method","status":"publish","type":"post","link":"https:\/\/ericbrooks.com\/whuzzup\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\/","title":{"rendered":"[#Script #Coding] How to remove trailing characters from a Python string using the .rstrip() method"},"content":{"rendered":"<div align=\"center\" style=\"padding: 2%;\"><iframe loading=\"lazy\" title=\"How to remove trailing characters from a Python string using the .rstrip() method\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/QCSKhLuGR5c?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<blockquote style=\"text-align: left; background-color: #E4E4E4; border: 3px dotted gray; padding:2%;\"><p>\n<a href=\"https:\/\/www.youtube.com\/watch?v=QCSKhLuGR5c\" target=\"offsite\" rel=\"nofollow noopener noreferrer\"><\/p>\n<h3>How to remove trailing characters from a Python string using the .rstrip() method<\/h3>\n<p><\/a><\/p>\n<p>By <a href=\"https:\/\/www.youtube.com\/channel\/UC8butISFwT-Wl7EV0hUK0BQ\" target=\"offsite\" rel=\"nofollow noopener noreferrer\"><strong>freeCodeCamp.org<\/strong><\/a><br \/><strong>Published<\/strong>: Dec 22, 2025<\/p>\n<p><em style=\"font-family: 'Times New Roman',Times,serif; color: #666;\"><span style=\"font-size: 3.5em; font-weight: bold;\">&#0147;<\/span><\/em><br \/>\n<a href=\"https:\/\/www.youtube.com\/watch?v=QCSKhLuGR5c\" target=\"offsite\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/i2.ytimg.com\/vi\/QCSKhLuGR5c\/hqdefault.jpg\" class=\"alignright\" align=\"right\" alt=\"freeCodeCamp.org\" style=\"width: 200px; height: auto;\" \/><\/a> Use the popular Vercel AI SDK to create and ship a customer support agent that makes autonomous decisions to either answer questions based on your support docs or search the web in real time.<\/p>\n<p>?? Study this course interactively on Scrimba: <br \/>\nhttps:\/\/scrimba.com\/build-a-support-agent-with-vercel-ai-sdk-c0lk05ahir?utm_source=youtube&amp;utm_medium=video&amp;utm_campaign=fcc-vercel <\/p>\n<p>Vercel AI SDK is a TypeScript-first toolkit for building AI features. It streamlines text generation, embeddings, and structured outputs. It plays nicely with tools, so your agent can call functions like &ldquo;search the web&rdquo; or &ldquo;query my knowledge base&rdquo; safely and predictably.<\/p>\n<p>Scrimba on YouTube: https:\/\/www.youtube.com\/c\/Scrimba<\/p>\n<p>?? Contents ??<br \/>\n0:00:00 Customer Support AI Agent Intro<br \/>\n0:06:47 Retrieval Augmented Generation Refresher<br \/>\n0:10:05 Embeddings Recap<br \/>\n0:12:57 Vector Database Embed Documents<br \/>\n0:20:19 Vector Database Retrieval<br \/>\n0:28:00 Challenge: Vector Database Retrieval<br \/>\n0:32:51 Vector Database Text Splitting and Retrieval<br \/>\n0:40:34 Vercel AI SDK Basics<br \/>\n0:43:51 Challenge: Vercel AI SDK Basics<br \/>\n0:47:22 Vercel AI SDK Structured Outputs<br \/>\n0:52:38 Challenge: Vercel AI SDK Structured Outputs<br \/>\n0:58:39 Vercel AI SDK Tool Calling<br \/>\n1:08:37 Challenge: Vercel AI SDK Tool Calling<br \/>\n1:18:04 Agentic Retrieval Routing<br \/>\n1:31:52 Challenge: Agentic Retrieval Routing<br \/>\n1:35:08 Web Search AI Agent<\/p>\n<p>\n? Thanks to our Champion and Sponsor supporters:<br \/>\n? Drake Milly<br \/>\n? Ulises Moralez<br \/>\n? Goddard Tan<br \/>\n? David MG<br \/>\n? Matthew Springman<br \/>\n? Claudio<br \/>\n? Oscar R.<br \/>\n? jedi-or-sith<br \/>\n? Nattira Maneerat<br \/>\n? Justin Hual<\/p>\n<p>&#8212;<\/p>\n<p>Learn to code for free and get a developer job: https:\/\/www.freecodecamp.org<\/p>\n<p>Read hundreds of articles on programming: https:\/\/freecodecamp.org\/news<\/p>\n<div style=\"text-align: center; font-weight: bold\">[<a href=\"https:\/\/www.youtube.com\/watch?v=WKIjkxxNH0c\" target=\"offsite\" rel=\"nofollow noopener noreferrer\" title=\"Read More on YouTube\">READ MORE<\/a>]<\/div>\n<p>Take ownership. Advocate for yourself. Build a relationship with the support team. These are some key ways you can create a solid career for yourself, and Andrea discusses it all with Quincy on the freeCodeCamp podcast.<\/p>\n<div style=\"text-align: center; font-weight: bold\">[<a href=\"https:\/\/www.youtube.com\/watch?v=_fvW2bruZ2M\" target=\"offsite\" rel=\"nofollow noopener noreferrer\" title=\"Read More on YouTube\">READ MORE<\/a>]<\/div>\n<p>Do you know how to remove trailing characters from a Python string? The .rstrip() method is perfect for this!<\/p>\n<div style=\"text-align: center; font-weight: bold\">[<a href=\"https:\/\/www.youtube.com\/watch?v=QCSKhLuGR5c\" target=\"offsite\" rel=\"nofollow noopener noreferrer\" title=\"Read More on YouTube\">READ MORE<\/a>]<\/div>\n<p><em style=\"font-family: 'Times New Roman',Times,serif; color: #666;\"><span style=\"font-size: 3.5em; font-weight: bold;\">&#0148;<\/span><\/em><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Use the popular Vercel AI SDK to create and ship a customer support agent that makes autonomous decisions to either answer questions based on your sup&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[380],"tags":[],"class_list":["post-38880","post","type-post","status-publish","format-standard","hentry","category-video-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[#Script #Coding] How to remove trailing characters from a Python string using the .rstrip() method - WHUZZUP!<\/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:\/\/ericbrooks.com\/whuzzup\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[#Script #Coding] How to remove trailing characters from a Python string using the .rstrip() method - WHUZZUP!\" \/>\n<meta property=\"og:description\" content=\"Use the popular Vercel AI SDK to create and ship a customer support agent that makes autonomous decisions to either answer questions based on your sup...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ericbrooks.com\/whuzzup\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\/\" \/>\n<meta property=\"og:site_name\" content=\"WHUZZUP!\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/EricBrooksDotComWeb\/\" \/>\n<meta property=\"article:author\" content=\"EricBrooksDotComWeb\" \/>\n<meta property=\"article:published_time\" content=\"2025-12-24T05:00:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i2.ytimg.com\/vi\/QCSKhLuGR5c\/hqdefault.jpg\" \/>\n<meta name=\"author\" content=\"Eric Brooks\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@EricBrooksCom\" \/>\n<meta name=\"twitter:site\" content=\"@EricBrooksCom\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Eric Brooks\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\\\/\"},\"author\":{\"name\":\"Eric Brooks\",\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/#\\\/schema\\\/person\\\/3b162468e1f9814f6e9f61460db00a3a\"},\"headline\":\"[#Script #Coding] How to remove trailing characters from a Python string using the .rstrip() method\",\"datePublished\":\"2025-12-24T05:00:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\\\/\"},\"wordCount\":336,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i2.ytimg.com\\\/vi\\\/QCSKhLuGR5c\\\/hqdefault.jpg\",\"articleSection\":[\"Video Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\\\/\",\"url\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\\\/\",\"name\":\"[#Script #Coding] How to remove trailing characters from a Python string using the .rstrip() method - WHUZZUP!\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i2.ytimg.com\\\/vi\\\/QCSKhLuGR5c\\\/hqdefault.jpg\",\"datePublished\":\"2025-12-24T05:00:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i2.ytimg.com\\\/vi\\\/QCSKhLuGR5c\\\/hqdefault.jpg\",\"contentUrl\":\"https:\\\/\\\/i2.ytimg.com\\\/vi\\\/QCSKhLuGR5c\\\/hqdefault.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[#Script #Coding] How to remove trailing characters from a Python string using the .rstrip() method\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/#website\",\"url\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/\",\"name\":\"WHUZZUP!\",\"description\":\"What&#039;s new at EricBrooks.Com plus news and gossip all over CyberTown\",\"publisher\":{\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/#organization\",\"name\":\"WHUZZUP!\",\"url\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/ericbrooks.com\\\/images\\\/posts\\\/cropped-favicon_64-1.png\",\"contentUrl\":\"https:\\\/\\\/ericbrooks.com\\\/images\\\/posts\\\/cropped-favicon_64-1.png\",\"width\":512,\"height\":512,\"caption\":\"WHUZZUP!\"},\"image\":{\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/EricBrooksDotComWeb\\\/\",\"https:\\\/\\\/x.com\\\/EricBrooksCom\",\"https:\\\/\\\/www.instagram.com\\\/ericbrooksdotcom\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/ericbrooksdotcom\",\"https:\\\/\\\/myspace.com\\\/ericbrooksdotcom\",\"https:\\\/\\\/www.pinterest.com\\\/ericbrookscom\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/ericbrooksdotcom\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/#\\\/schema\\\/person\\\/3b162468e1f9814f6e9f61460db00a3a\",\"name\":\"Eric Brooks\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62114f8baf9a3737e7686125b69907010ad6aff5dfc07c12707e8a18bb49bc34?s=96&d=blank&r=x\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62114f8baf9a3737e7686125b69907010ad6aff5dfc07c12707e8a18bb49bc34?s=96&d=blank&r=x\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62114f8baf9a3737e7686125b69907010ad6aff5dfc07c12707e8a18bb49bc34?s=96&d=blank&r=x\",\"caption\":\"Eric Brooks\"},\"description\":\"Web &amp; Graphic Designer, Blogger, Musician, Evil Clown. I also code websites and promote people for a living. Still kind of a jerk, though. Approach with food.\",\"sameAs\":[\"https:\\\/\\\/ericbrooks.com\",\"EricBrooksDotComWeb\",\"ericbrooksdotcom\",\"ericbrookscom\\\/\",\"https:\\\/\\\/x.com\\\/EricBrooksCom\"],\"url\":\"https:\\\/\\\/ericbrooks.com\\\/whuzzup\\\/author\\\/site-admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[#Script #Coding] How to remove trailing characters from a Python string using the .rstrip() method - WHUZZUP!","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:\/\/ericbrooks.com\/whuzzup\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\/","og_locale":"en_US","og_type":"article","og_title":"[#Script #Coding] How to remove trailing characters from a Python string using the .rstrip() method - WHUZZUP!","og_description":"Use the popular Vercel AI SDK to create and ship a customer support agent that makes autonomous decisions to either answer questions based on your sup...","og_url":"https:\/\/ericbrooks.com\/whuzzup\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\/","og_site_name":"WHUZZUP!","article_publisher":"https:\/\/www.facebook.com\/EricBrooksDotComWeb\/","article_author":"EricBrooksDotComWeb","article_published_time":"2025-12-24T05:00:04+00:00","og_image":[{"url":"https:\/\/i2.ytimg.com\/vi\/QCSKhLuGR5c\/hqdefault.jpg","type":"","width":"","height":""}],"author":"Eric Brooks","twitter_card":"summary_large_image","twitter_creator":"@EricBrooksCom","twitter_site":"@EricBrooksCom","twitter_misc":{"Written by":"Eric Brooks","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ericbrooks.com\/whuzzup\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\/#article","isPartOf":{"@id":"https:\/\/ericbrooks.com\/whuzzup\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\/"},"author":{"name":"Eric Brooks","@id":"https:\/\/ericbrooks.com\/whuzzup\/#\/schema\/person\/3b162468e1f9814f6e9f61460db00a3a"},"headline":"[#Script #Coding] How to remove trailing characters from a Python string using the .rstrip() method","datePublished":"2025-12-24T05:00:04+00:00","mainEntityOfPage":{"@id":"https:\/\/ericbrooks.com\/whuzzup\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\/"},"wordCount":336,"commentCount":0,"publisher":{"@id":"https:\/\/ericbrooks.com\/whuzzup\/#organization"},"image":{"@id":"https:\/\/ericbrooks.com\/whuzzup\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\/#primaryimage"},"thumbnailUrl":"https:\/\/i2.ytimg.com\/vi\/QCSKhLuGR5c\/hqdefault.jpg","articleSection":["Video Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ericbrooks.com\/whuzzup\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ericbrooks.com\/whuzzup\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\/","url":"https:\/\/ericbrooks.com\/whuzzup\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\/","name":"[#Script #Coding] How to remove trailing characters from a Python string using the .rstrip() method - WHUZZUP!","isPartOf":{"@id":"https:\/\/ericbrooks.com\/whuzzup\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ericbrooks.com\/whuzzup\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\/#primaryimage"},"image":{"@id":"https:\/\/ericbrooks.com\/whuzzup\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\/#primaryimage"},"thumbnailUrl":"https:\/\/i2.ytimg.com\/vi\/QCSKhLuGR5c\/hqdefault.jpg","datePublished":"2025-12-24T05:00:04+00:00","breadcrumb":{"@id":"https:\/\/ericbrooks.com\/whuzzup\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ericbrooks.com\/whuzzup\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ericbrooks.com\/whuzzup\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\/#primaryimage","url":"https:\/\/i2.ytimg.com\/vi\/QCSKhLuGR5c\/hqdefault.jpg","contentUrl":"https:\/\/i2.ytimg.com\/vi\/QCSKhLuGR5c\/hqdefault.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/ericbrooks.com\/whuzzup\/script-coding-how-to-remove-trailing-characters-from-a-python-string-using-the-rstrip-method\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ericbrooks.com\/whuzzup\/"},{"@type":"ListItem","position":2,"name":"[#Script #Coding] How to remove trailing characters from a Python string using the .rstrip() method"}]},{"@type":"WebSite","@id":"https:\/\/ericbrooks.com\/whuzzup\/#website","url":"https:\/\/ericbrooks.com\/whuzzup\/","name":"WHUZZUP!","description":"What&#039;s new at EricBrooks.Com plus news and gossip all over CyberTown","publisher":{"@id":"https:\/\/ericbrooks.com\/whuzzup\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ericbrooks.com\/whuzzup\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ericbrooks.com\/whuzzup\/#organization","name":"WHUZZUP!","url":"https:\/\/ericbrooks.com\/whuzzup\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ericbrooks.com\/whuzzup\/#\/schema\/logo\/image\/","url":"https:\/\/ericbrooks.com\/images\/posts\/cropped-favicon_64-1.png","contentUrl":"https:\/\/ericbrooks.com\/images\/posts\/cropped-favicon_64-1.png","width":512,"height":512,"caption":"WHUZZUP!"},"image":{"@id":"https:\/\/ericbrooks.com\/whuzzup\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/EricBrooksDotComWeb\/","https:\/\/x.com\/EricBrooksCom","https:\/\/www.instagram.com\/ericbrooksdotcom\/","https:\/\/www.linkedin.com\/in\/ericbrooksdotcom","https:\/\/myspace.com\/ericbrooksdotcom","https:\/\/www.pinterest.com\/ericbrookscom\/","https:\/\/www.youtube.com\/user\/ericbrooksdotcom"]},{"@type":"Person","@id":"https:\/\/ericbrooks.com\/whuzzup\/#\/schema\/person\/3b162468e1f9814f6e9f61460db00a3a","name":"Eric Brooks","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/62114f8baf9a3737e7686125b69907010ad6aff5dfc07c12707e8a18bb49bc34?s=96&d=blank&r=x","url":"https:\/\/secure.gravatar.com\/avatar\/62114f8baf9a3737e7686125b69907010ad6aff5dfc07c12707e8a18bb49bc34?s=96&d=blank&r=x","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/62114f8baf9a3737e7686125b69907010ad6aff5dfc07c12707e8a18bb49bc34?s=96&d=blank&r=x","caption":"Eric Brooks"},"description":"Web &amp; Graphic Designer, Blogger, Musician, Evil Clown. I also code websites and promote people for a living. Still kind of a jerk, though. Approach with food.","sameAs":["https:\/\/ericbrooks.com","EricBrooksDotComWeb","ericbrooksdotcom","ericbrookscom\/","https:\/\/x.com\/EricBrooksCom"],"url":"https:\/\/ericbrooks.com\/whuzzup\/author\/site-admin\/"}]}},"_links":{"self":[{"href":"https:\/\/ericbrooks.com\/whuzzup\/wp-json\/wp\/v2\/posts\/38880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ericbrooks.com\/whuzzup\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ericbrooks.com\/whuzzup\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ericbrooks.com\/whuzzup\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ericbrooks.com\/whuzzup\/wp-json\/wp\/v2\/comments?post=38880"}],"version-history":[{"count":0,"href":"https:\/\/ericbrooks.com\/whuzzup\/wp-json\/wp\/v2\/posts\/38880\/revisions"}],"wp:attachment":[{"href":"https:\/\/ericbrooks.com\/whuzzup\/wp-json\/wp\/v2\/media?parent=38880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ericbrooks.com\/whuzzup\/wp-json\/wp\/v2\/categories?post=38880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ericbrooks.com\/whuzzup\/wp-json\/wp\/v2\/tags?post=38880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}