The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Opening and reading from a text file using python on Prime G2
05-29-2023, 07:00 AM
Post: #1
Opening and reading from a text file using python on Prime G2
Hi, am so far unable to open a one-line text file created in notes -get a system error .

Please see code below

from uio import *
fpath="testxt.hpnote"
f=open(fpath)
readline(f)
end

Appreciate any comments or hints!!

Many thanks,
Farlan
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Opening and reading from a text file using python on Prime G2 - Farlanw - 05-29-2023 07:00 AM



User(s) browsing this thread: 1 Guest(s)