Python 3.3.0b1 (v3.3.0b1:e15c554cd43e+, Jun 26 2012, 20:41:17) [MSC v.1600 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> S = '\u00c4\u00e8'
>>> S
'Äè'
>>> S = '\xc4\xe8'
>>> S
'Äè'
>>> S = '\xc4SPAM\xe8'
>>> S
'ÄSPAMè'
>>> len(S)
6
>>> type(S)
<class 'str'>
>>> 
>>> S = b'Sp\x00am'
>>> S
b'Sp\x00am'
>>> type(S)
<class 'bytes'>
>>> 
>>> a, *b = 'spam'
>>> a
's'
>>> b
['p', 'a', 'm']
>>> 
>>> *a, b = 'spam'
>>> a
['s', 'p', 'a']
>>> b
'm'
>>> a, *b, c = 'spam'
>>> a
's'
>>> b
['p', 'a']
>>> c
'm'
>>> 
>>> S = 'spam'
>>> S[0], S[1:]
('s', 'pam')
>>> 
>>> 
>>> 
>>> print(1)
1
>>> print(1, 2, 3)
1 2 3
>>> print(1,2, 3, sep='***', end='', file=open('log', 'w'))
>>> open('log').read()
'1***2***3'
>>> 
