I know it\'s a really simple question, but I have no idea how to google it.
how can I do
print \'%s\' % (my_url)
print '%(url)s' % {'url': my_url}