curl https://wyz.fr/ -Fpython=@hello.py(attribute name is used for syntax highlighting, and shortcuts like "py" are allowed, see Language dropdown for language list.)
wyz()
{
curl https://wyz.fr/ -F"${1##*.}=@$1"
}
Like this:
wyz FILE_TO_UPLOAD