Split a string into 2 in Python

firstpart, secondpart = string[:len(string)/2], string[len(string)/2:]

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)