module automation_students.interro_motif#

Short summary#

module ensae_teaching_cs.automation_students.interro_motif

Retrieve python files and run them.

source on GitHub

Functions#

function

truncated documentation

_get_code

execute_python_scripts

Retrieves all python scripts and run them.

Documentation#

Retrieve python files and run them.

source on GitHub

ensae_teaching_cs.automation_students.interro_motif._get_code(mail)#
ensae_teaching_cs.automation_students.interro_motif.execute_python_scripts(root, df, col_names=None, url=None, eol='/', fLOG=<function noLOG>, gen_mail=None)#

Retrieves all python scripts and run them.

Paramètres:
  • root – main folder

  • df – dataframe

  • col_names – dictionary for columns: folder, mail, program, out, err, url, cmp, url_content, key, time

  • eol – if not None, replaces end of lines by eof

  • gen_mail – generator of mails

  • fLOG – logging function

Renvoie:

dataframe

source on GitHub