If you just want to load the data into python one time, rather than connecting 
to the file, it would be more handy to paste the cells from the clipboard. 
Here's how I do it on windows:

from win32clipboard import * #("pywin32" module required)
def pastetable():       OpenClipboard() try: a=GetClipboardData(13)     except: 
        CloseClipboard()                return None     CloseClipboard()        
a=a.split('\r\n')       for n, b in enumerate(a):               
a[n]=b.split('\t')      return a


      __________________________________________________________________
Obtenez l'adresse de courriel parfaite: @ymail.com or @rocketmail.com. 
Obtenez votre nouvelle adresse maintenant à  
http://cf.new.mail.yahoo.com/addresses.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to