[Twisted-Python] "twisted.internet.app is deprecated"...
henrypijames at lycos.com
Thu Jun 24 18:50:57 EDT 2004
After one year, I'm coming back to continue a project featuring Twisted Web, only to find "twisted.internet.app is deprecated, try twisted.application or the reactor instead".
Needless to say, after an hour's fooling around in the doc (which is just as chaotic and frustrating as a year ago), I haven't found the "new way to doing things".
The code I need to "convert":
if __name__ == '__main__':
from twisted.internet import app
# some other init code, unrelated to the problem
application = app.Application('tour')
application.persistStyle = 'aot'
Of course I know I must be the guy number 1,000,000 to ask this question, but the fact I can't find an answer to it (net even with Google) just worsen the situation.
Suggestion to doc writers: If you change your "stancard way to doing things", please included a "code convertion guide" of some kind into your tutorial.
Find what you are looking for with the Lycos Yellow Pages
More information about the Twisted-Python