Hello Richard,
you may try something like this (warning: not tested ;-) ):
import wx
import random
MyString = “”
write 50 lines
for ii in xrange(50):
MyString = MyString + str(random.randint(0, 1000)) + "\n"
wx.TheClipboard.Open()
wx.TheClipboard.Clear()
wx.TheClipboard.SetData(wx.TextDataObject(MyString))
wx.TheClipboard.Close()
HTH.
Andrea.
···
Andrea Gavana
(gavana@kpo.kz)
Reservoir Engineer
KPDL
4, Millbank
SW1P 3JA London
Direct Tel: +44 (0) 20 717 08936
Mobile Tel: +44 (0) 77 487 70534
Fax: +44 (0) 20 717 08900
Web:
http://xoomer.virgilio.it/infinity77
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯