code: def main():
      print(__doc__)
      fn = os.path.join("..", "cephes", "expn.h")
  
      K = 12
      A = generate_A(K)
      with open(fn + ".new", "w") as f:
          f.write(WARNING)
          f.write("#define nA {}\n".format(len(A)))
          for k, Ak in enumerate(A):
              tmp = ", ".join([str(x.evalf(18)) for x in Ak.coeffs()])
              f.write(
                  "static const double A{}[] = {{{}}};\n".format(k, tmp)
              )
          tmp = ", ".join(["A{}".format(k) for k in range(K + 1)])
          f.write("static const double *A[] = {{{}}};\n".format(tmp))
          tmp = ", ".join([str(Ak.degree()) for Ak in A])
          f.write("static const int Adegs[] = {{{}}};\n".format(tmp))
      os.rename(fn + ".new", fn)
  
imports: from __future__ import division, print_function, absolute_import
  import os
  from scipy._lib._numpy_compat import suppress_warnings
label_desc: Use image node_id 2 for calling a global function with example usage: main() without return types