2024-03-21 21:18:35 -04:00

12 lines
341 B
Python

from .Application import Application
from .ConsoleApplication import ConsoleApplication
from .Guid import Guid
from .REPLApplication import REPLApplication
def format_cwd(arg : str):
import os
return arg.replace("/home/" + os.getlogin(), "~")
def parse_cwd(arg : str):
import os
return arg.replace("~/", "/home/" + os.getlogin() + "/")