Wikimedia

Commons Mass Description: Add a shebang to app.py

Commons Mass Description is a tool that allows user to describe pictures and multimedia at Wikimedia Commons en masse without having to edit each image manually.

Even if src/app.py is executable, the users can't execute it directly, becuase it has no shebang) in it. Shebang tells the kernel how should this text file be executed.

The app.py file is a Python script. Hence, you should add a shebang that'll tell the kernel to use Python interpreter for executing this file.

Student is expected to upload a patch against labs/tools/commons-mass-description repository at Wikimedia Gerrit.

Materials

Task tags

  • flask
  • python

Students who completed this task

retrocraft

Task type

  • code Code

Level

Beginner
close

2019