Quantcast
Viewing all articles
Browse latest Browse all 22

Answer by Franz Kurt for Calling a function of a module by using its name (a string)

You means get the pointer to an inner function from a module

import foomethod = foo.barexecuted = method(parameter)

This is not a better pythonic way indeed is possible for punctual cases


Viewing all articles
Browse latest Browse all 22

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>