Monday, November 09, 2009

My first Python script

Haha... I printed "Hello world" by running my first Python script.

from ctypes import *

msvcrt = cdll.msvcrt
message_string = "Hello world!\n"
msvcrt.printf("Testing: %s", message_string)

No comments: