Re: Indentation issues with python

2015-02-05 Thread Denis McMahon
On Wed, 04 Feb 2015 19:07:53 -0800, syed khalid wrote: > I downloaded this code and am attempting to run it. I keep getting > indentation error. > class EventHubClient(object): > def sendMessage(self,body,partition):eventHubHost = > "pac-ns.servicebus.windows.net" >httpclient = _HTTPClient(se

Re: Indentation issues with python

2015-02-04 Thread Terry Reedy
class EventHubClient(object): ... def sendMessage(self,body,partition): ... > ^ IndentationError: expected an indented block *** and 'def' is not indented as it must be. This must be covered in the tutorial. -- Terry Ja

Re: Indentation issues with python

2015-02-04 Thread Ben Finney
syed khalid writes: > I downloaded this code and am attempting to run it. I keep getting > indentation error. Indentation is crucial information in Python code. If it is lost, don't waste time trying to guess it; instead, get the correct code. How did you download it? You should download the c