|
1.
|
|
|
File Access
|
|
|
|
파일 접근
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/file_python.rst:5
|
|
2.
|
|
|
These Python functions allow you to access asset files, which may be found in the game directory, RPA archives, or as Android assets.
|
|
|
|
game 디렉토리, RPA 아카이브, 안드로이드 asset 폴더 에서 찾을 수 있는 자료 파일에는 다음과 같은 파이썬 함수를 통해 접근할 수 있습니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/file_python.rst:7
|
|
3.
|
|
|
Returns a read-only file-like object that accesses the file named `fn`. The file is accessed using Ren'Py's standard search method, and may reside in an RPA archive. or as an Android asset.
|
|
|
|
`fn` 이라는 이름의 파일에 접근하는 읽기 전용 유사 파일 객체를 반환합니다. 이 파일은 렌파이 표준 검색 메소드로 접근할 수 있으며, RPA 아카이브나 안드로이드 asset 속에 존재할 수도 있습니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/inc/file:5
|
|
4.
|
|
|
The object supports a wide subset of the fields and methods found on python's standard file object, opened in binary mode. (Basically, all of the methods that are sensible for a read-only file.)
|
|
|
|
이 객체는 바이너리 모드에서 열리며, 파이썬 표준 파일 객체에서 발견할 수 있는 필드와 메소드의 서브셋을 지원합니다. (기본적으로, 모든 메소드는 읽기 전용 파일만 인식합니다.)
|
|
Translated and reviewed by
yangjinho
|
|
|
|
Located in
../../source/inc/file:9
|
|
5.
|
|
|
Lists the files in the game directory and archive files. Returns a list of files, with / as the directory separator.
|
|
|
|
아카이브 파일과 game 디렉토리에 있는 파일 목록. /를 디렉토리 구분자로 사용하는 파일이름이 적힌 리스트를 반환합니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/inc/file:15
|
|
6.
|
|
|
`common`
|
|
|
|
`common`
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/inc/file:19
|
|
7.
|
|
|
If true, files in the common directory are included in the listing.
|
|
|
|
True면 common 디렉토리에 있는 파일도 목록에 포함시킵니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/inc/file:19
|
|
8.
|
|
|
Returns True if the given filename is loadable, meaning that it can be loaded from the disk or from inside an archive. Returns False if this is not the case.
|
|
|
|
주어진 filename 을 불러올 수 있다면, 즉 아카이브 파일 안이나 디스크에서 불러올 수 있다면 True를 반환합니다. 불러올 수 없다면 False를 반환합니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/inc/file:24
|
|
9.
|
|
|
Rarely Used
|
|
|
|
드물게 사용되는 함수
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/file_python.rst:14
|
|
10.
|
|
|
These functions are used more rarely.
|
|
|
|
아래 함수는 드물게 사용됩니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/file_python.rst:16
|