WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-23-2010, 08:28 AM
TarkaDahl TarkaDahl is offline
Member
 
Join Date: Mar 2010
Posts: 59
Hi nige777

This is what i use and it seems to work

Code:
	infile = open(file,"r")
	for line in infile.readlines(): 
		#do stuff
	infile.close()
Thanks
Reply With Quote
  #2  
Old 07-28-2010, 06:00 AM
nige777 nige777 is offline
Member
 
Join Date: Nov 2007
Location: UK
Posts: 78
Red face

@TarkaDahl - thanks for the reply unfortunately it was my bad as I needed to be using the excellent 'xlrd' library to be able to work with Excel files

Nige
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IVEx file extenstion unrecognised. sindi Vizard 2 12-10-2009 01:20 AM
problems with output to a text file within executable Saz Vizard 1 07-01-2009 11:01 AM
Problem generating exe file Anfo Vizard 1 11-17-2008 04:21 PM
Read file....many issues Uttama_vizard Vizard 9 07-08-2008 02:16 PM
File Management Uttama_vizard Vizard 2 07-01-2008 09:44 AM


All times are GMT -7. The time now is 10:49 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC