<br><br><div class="gmail_quote">On Wed, Jul 14, 2010 at 8:33 AM, chad <span dir="ltr"><<a href="mailto:cdalten@gmail.com">cdalten@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Given the following code...<br>
<br>
#!/usr/bin/python<br>
<br>
class cgraph:<br>
    def printme(self):<br>
        print "hello\n"<br></blockquote><div><br></div><div>No need to do print "hello\n", python is not C, print "hello" prints hello with a newline. Try it on interpretor.</div><div> </div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
x = cgraph()<br>
x.printme()<br>
<br>
<br>
Does the function print() exist in the cgraph namespace or the<br>
printme() one?<br></blockquote><div><br></div><div>Where exactly is the print() function here. BTW printme() is in cgraph namespace.</div><div><br></div><div>~l0nwlf </div><div> </div></div>