|
|
|
|
|
by andreasvc
4171 days ago
|
|
To avoid str() calls with concatenation, use % formatting: '%s %s' % ('hello', 'world')
Avoiding these implicit behaviors helps avoid bugs; it's worth it.I'd recommend going for Python 3 unless there's a specific reason (library) keeping you on 2. |
|