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 
How to specify full directory path in Python
08-03-2021, 12:56 AM
Post: #1
How to specify full directory path in Python
Whenever I run something like

Code:
import uio

with uio.open('/Python.hpappdir/main.py', 'r') as mainPy:
    pass

it gives me OSError: 0, which from my experience translates to "file not found"

I was wondering how I am supposed to format a directory on the Prime.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How to specify full directory path in Python - jfelten - 08-03-2021 12:56 AM



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