ee_extra.JavaScript.main.ee_js_to_py#

ee_extra.JavaScript.main.ee_js_to_py(in_file, out_file, black=True)[source]#

Convert an EE JavaScript file to an EE Python file.

Parameters:
  • in_file (str) – File path of the input JavaScript.

  • out_file (str) – File path of the output Python script.

Returns:

Return True if the conversion is successful.

Return type:

bool