From a66d137b3b98928786c7e70cfcda87cf4c996be8 Mon Sep 17 00:00:00 2001 From: Geremy Cohen Date: Mon, 16 Jun 2014 15:45:32 -0700 Subject: Update README.md --- python-twisted/README.md | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/python-twisted/README.md b/python-twisted/README.md index ef56afb..ea4173c 100644 --- a/python-twisted/README.md +++ b/python-twisted/README.md @@ -1,6 +1,14 @@ -## PubNub 3.5.0 Web Data Push Cloud-hosted API - PYTHON TWISTED -#### www.pubnub.com - PubNub Web Data Push Service in the Cloud. -#### http://github.com/pubnub/python +## Contact support@pubnub.com for all questions + +#### [PubNub](http://www.pubnub.com) Real-time Data Network +##### Twisted Client + +## IO Event Loop +Be sure to eventually start the event loop or PubNub won't run! + +``` +pubnub.start() +``` #### Import ``` @@ -26,13 +34,6 @@ def callback(message): pubnub.publish(channel, message, callback=callback, error=callback) ``` -#### IO Event Loop -##### VERY IMPORTANT TO ADD THIS LINE AT THE VERY BOTTOM! - -``` -pubnub.start() -``` - #### Subscribe Example ``` channel = 'hello_world' @@ -99,4 +100,6 @@ pubnub.unsubscribe(channel='hello_world') #### IO Event Loop start ``` pubnub.start() -``` \ No newline at end of file +``` + +## Contact support@pubnub.com for all questions -- cgit v1.2.3