concatenation of two or more base64 strings in python
<p>I'm tring to concatenate two strings encoded to base64 but it doesn't really work, just prints the first string in concatanation:</p>

<pre><code>q = base64.b64encode("StringA")
print q # prints an encoded string
q = q+base64.b64encode("StringB")
print q # prints an encoded string

print base64.b64decode(q) # just prints "StringA"
</code></pre>