The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Remove Leading Whitespace From A Python String With .lstrip()

TODO: Pull subtitle into page object
Code
original = """

   hotel india juliett

    """

left_stripped = original.lstrip()

print(f"START|{left_stripped}|END")
Results
START|hotel india juliett

    |END

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Remove Leading Whitespace From A Python String With .lstrip()

Calling `.lstrip()`` on a python string trims any leading 
whitespace (including newlines), while leaving any trailing
whitespace untouched. For example:

-- code
-- python

original = """

   hotel india juliett

    """

left_stripped = original.lstrip()

print(f"START|{left_stripped}|END")


-- results/

START|hotel india juliett

    |END

-- /results


-- categories
-- Python 

-- metadata
-- date: 2023-10-25 12:17:56
-- id: 2xglsu2l
-- site: aws
-- type: post
-- status: published