title: What is the equivalent of var_export in python?
body: <p>I'm moving some code from php to python and could not find an easy alternative to var_export for python.
  PHP documentation is here: <a href="https://www.php.net/manual/en/function.var-export.php" rel="nofollow noreferrer">https://www.php.net/manual/en/function.var-export.php</a></p>
  <p>For numbers (integer, string) is just the &quot;{0}&quot;.format() but for the other type of variables?</p>