| Reply | « Previous Thread | Next Thread » |
|
Hi
Everybody I want to read data from a text file use python, but I don't how to do it. The data in the text file is "11111111" Who Can help me. Thanks very much |
|
Hi wjjgwy,
Try this: Code:
data = open("filePath", 'r').read()
print data
Devices: Nokia E61 3rd Edition - pys60 1.4.0 Tips and modules: http://www.lfdm.net/thesis |
|
Thanks very much I will try to it
|
|
Quote:
i also need the same thing. but he just want to read the text file and only 111111. i want to read the whole data content like name,address and some more infomation. i also want to modify it and send that updated text file to the PC using bluetooth communication is that possible. can you plz help me.... |
|
Quote:
i also need the same thing as mentioned by wjjgwy. but he just wants to read the text file and data is only 111111. i want to read the whole data content like name,address and some more infomation. i also want to modify it and send that updated text file to the PC using bluetooth communication is that possible. can you plz help me.... |
|
hello wjjgxy,
have you the code, is it serving your purpose or not. In that again you give print data. it means it will print that data on the python screen, but i want to know that i am running this program by not using python.i creating .sis file by using py2sis and so in this if i give print data, so where i means at which path this data will get printed.
Last edited by sagars : 2007-02-14 at 07:34.
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| [moved] Theme Studio Error | TalJ | Themes/Carbide.ui | 2 | 2009-09-06 04:39 |
| How to create a Text file in Nokia 6630? | rajneesh103 | Mobile Java General | 3 | 2006-10-28 20:40 |
| Series 60 SDK Appwizard on windows xp | moonjoor | Symbian Tools & SDKs | 15 | 2003-12-24 11:22 |
| nokia 7210 modem via IR doesn't work ! | oussamaaiadi | PC Suite API and PC Connectivity SDK | 1 | 2003-03-06 11:46 |
| reading and displaying text file contents | cvz | General Symbian C++ | 0 | 2002-07-24 17:11 |