Skip to content

Commit 3af4347

Browse files
committed
[Docs] Update docs/README.md: Add python as a programming language
1 parent db309dc commit 3af4347

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The `gcc` compiler is mandatory,
7474
and `fpc` (Free Pascal) and java compilers are required
7575
if there are invocations of those languages.
7676

77-
Python (2 or 3) is an essential dependency for executing the TPS scripts.
77+
Python is an essential dependency for executing the TPS scripts.
7878
It is also needed for invocations of Python solutions.
7979
You can set the environment variable `PYTHON` to `python3`, `python2`, `python`,
8080
or any other Python interpreter with which you want to run the solution.
@@ -242,7 +242,7 @@ gencode magic 2000
242242
This directory contains the program that have the main routine,
243243
which will be compiled with a solution or contestant's source code
244244
and call its functions.
245-
It contains one directory for each programming language (cpp/pas/java),
245+
It contains one directory for each programming language (cpp/pas/java/py),
246246
which contains a specific grader for that language.
247247
The `cpp` directory usually contains a `.h` interface file
248248
that is included in grader
@@ -252,7 +252,8 @@ The public grader,
252252
which is given to the contestants during the contest,
253253
can be the same as this graders,
254254
or can be automatically created from the grader by removing the secret parts,
255-
which are bounded between `// BEGIN SECRET` and `// END SECRET` lines,
255+
which are bounded between `// BEGIN SECRET` and `// END SECRET` lines
256+
(`# BEGIN SECRET` and `# END SECRET` in case of python language),
256257
or can be prepared separately.
257258

258259
## checker/
@@ -473,9 +474,9 @@ public cpp/PROBLEM_NAME_PLACE_HOLDER.cpp
473474
grader cpp/PROBLEM_NAME_PLACE_HOLDER.h
474475
grader cpp/grader.cpp
475476
476-
public pas/compile_pas.sh
477-
public pas/PROBLEM_NAME_PLACE_HOLDER.pas
478-
grader pas/grader.pas
477+
public py/compile_py.sh
478+
public py/PROBLEM_NAME_PLACE_HOLDER.py
479+
grader py/grader.py
479480
480481
public java/compile_java.sh
481482
public java/run_java.sh

0 commit comments

Comments
 (0)