In Java, System.out represents the standard output device.  In Python,
there's a similar value in sys.stdout.

     https://docs.python.org/2/library/sys.html#sys.stdout

In your Python program, you should be able to say:

    import sys

at the beginning of your program, and then use:


    sys.stdout.write(" ")

and:

    sys.stdout.write("*")

with the expected results.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to