Create Pen DataSource programmatically

If you use the script provided in this thread, what does it return?