import re match = re.match('Hello (.*) world','Hello Python world') python = match.group(1)
Python Справочник v0.05 © 2007-2024 Igor Salnikov aka SunDoctor