t = '@abc @def Hello this part is text'
words = t.split(' ')
names = []
while words:
    w = words.pop(0)
if w.startswith('@'):
    names.append(w[1:])
else:
    break
text = ' '.join(words)
print(names)
print(text)
String separation in required format, Pythonic way? (with or w/o Regex)