How do I get the current version of my Python Tornado module version?
With other packages I can do the following:
print <modulename>.__version__
Source: How to check version of Python modules
scalable, non-blocking web server and tools - Python 3 package. Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
Tornado is a Python web framework and asynchronous network library, originally developed at FriendFreed. Tornado uses non-blocking network-io. Due to this, it can handle thousands of active server connections. It is a saviour for applications where long polling and a large number of active connections are maintained.
A Tornado web application generally consists of one or more RequestHandler subclasses, an Application object which routes incoming requests to handlers, and a main() function to start the server.
Tornado has both tornado.version
, which is a string for human consumption (currently "4.2"), and tornado.version_info
, which is a numeric tuple that is better for programmatic comparisons (currently (4, 2, 0, 0)
). The fourth value of version_info
will be negative for betas and other pre-releases.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With