No mindreaders here, so let us know what data stream looks like.
bumsfeld
Nearly a Posting Virtuoso
1,445 posts since Jul 2005
Reputation Points: 404
Solved Threads: 184
Here's one method to open and read a file:
f = open( 'myfile.txt', 'r' ) # 'r' is for Read Mode
lines = f.readlines()
f.close()
# Now lines contains a list of each line of the file contents
for eachline in lines:
# Add line to wx.*ctrl
jlm699
Veteran Poster
1,112 posts since Jul 2008
Reputation Points: 355
Solved Threads: 292