| Reply | « Previous Thread | Next Thread » |
|
Hi ManZ!
Pls , help me how can I do main operations with *.txt files in Python fo S60? Like this: create, open, search in plain file with regular expression and etc. Can u give me some examples? ![]() |
|
import os
filepath = u'e:\\data.txt' f = open(filepath,'a'); f.write(u"<Hello world"); f.close() |
|
Quote:
I've been developing a text editor known as EasyEdit. It's pretty usable, and you can check out the source code to give you an idea of how text manipulation is done in PyS60. It's over at http://chetbox.googlepages.com/s60_texteditor (Some of the code isn't particularly clean, but it works fairly well )chetbox.googlepages.com |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| wmls files work on toolkit, but not on other emulators or on the server | Nokia_Archived | Browsing and Mark-ups | 2 | 2007-01-31 11:22 |
| Python C++ Extension with Callback crashing | diggerdeep | Python | 2 | 2005-11-10 17:33 |
| Caching of WML-SCRIPT does not work properly on 6210 | HarryD | General Browsing | 2 | 2005-01-09 15:40 |
| Creating very big files raipdly | pink_lemonade | General Symbian C++ | 2 | 2004-04-06 10:21 |
| Sending several files without using SIS | stopin | General Symbian C++ | 0 | 2003-07-10 17:32 |