pascalabcnet/bin/Lib/SPython/SPythonSystemPys.pys
Александр Земляк 51e4ae050a
Перемещение модулей SPython в Lib\SPython (#3371)
* Replace languageCaseSensitive by languageName data in PCU and caseSensitive parameters in Compiler functions

* Implement SearchDirectories filling in Compiler and move SPython standard modules to their new directory

* Implement search using current language extension first in Compiler

* Delete LibForVB folder and update TestRunner to support different Lib dirs

* Update installer scripts to create separate Lib folder for SPython

* Take into account Lib dirs not found

* Delete supportedSourceFiles variable in Compiler

* Delete unused functions from LanguageIntegrator
2026-01-13 08:20:13 +03:00

18 lines
479 B
Plaintext

from PABCSystem import Object as obj, Write as pas_print
from SPythonSystem import range, len
def print(*args: obj, **kwargs: str):
sep: str = ' '
end: str = '\n'
if 'sep' in kwargs.get_keys():
sep = kwargs['sep']
if 'end' in kwargs.get_keys():
end = kwargs['end']
for i in range(0, len(args) - 1):
pas_print(args[i])
pas_print(sep)
if len(args) != 0:
pas_print(args[len(args) - 1])
pas_print(end)