Dear all,
Here are two functions printme and change quite spaced apart. When executed the
output in bold are joined. What can I do so that the results are separate in
two blocks?
#Function definition is here
def printme(str):
"This prints a passed string into this function"
print str
Le Thu, 16 Apr 2009 12:02:21 +0200,
"A.T.Hofkamp" s'exprima ainsi:
> Now what does this function do?
> This is a 'what' question, namely, from a design point of view, if I call
> this function, what does it do, and what is its result-value?
>
What I miss is a good place for "why?". Which, when
On Fri, Apr 17, 2009 at 4:42 AM, mbikinyi brat wrote:
> Dear all,
> Here are two functions printme and change quite spaced apart. When executed
> the output in bold are joined. What can I do so that the results are
> separate in two blocks?
The format of the output depends only on the contents of
mbikinyi brat wrote:
Dear all,
Here are two functions printme and change quite spaced apart. When executed the output in bold are joined. What can I do so that the results are separate in two blocks?
?
#Function definition is here
def printme(str):
??? "This prints a passed string into this fun
Tutors,
I'm working on a script to verify whether a particular website supports
SSLv2 via the following:
--- BEGIN ---
#!/usr/bin/python
import os, re
checkssl_out = open('checkssl.txt','w')
website = 'somewebsitename'
sslv2 = 'Protocol : SSLv2'
print 'Checking:', website
checksslv2 = os.p
"spir" wrote
Now what does this function do?
This is a 'what' question, namely, from a design point of view, if I
call
this function, what does it do, and what is its result-value?
What I miss is a good place for "why?". Which, when needed, is different
from "what?" and "how?". Why tells
"mbikinyi brat" wrote
Here are two functions printme and change quite spaced apart.
The spacing of the functions inside the source file has nothing
to do with the output.
Python reads the input file, ignores any spacing and executes
any lines it recognises as code.
When executed the o
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor