web and python mode