remove first line of string python code example Example: remove first character from string python s = ":dfa:sif:e" print(s[1:]) prints: dfa:sif:e