Run Python code into the php code

  • 진행 현황: Closed
  • 상금: $70
  • 응모작 접수(건수): 1
  • 수상자: dachinat

콘테스트 개요

Just give the proper method to use to achieve this.
The working idea will get the prize.
You just have to give the the way to do it.
If your method works for me then you will be selected immediately.

Riskscore_py is the python code which is to be added to Calculate risk score button in php code.

Make the code run on website.

you can make your own php file to run the riskscore_py in php.

OR

you can use cloud computing to run py code in virtual environment and get the result to php file.

to run the python code you can use "22","Male","Indian","No","67","180","65","26","No" as parameters.


All the best

추천된 기술

고용주 피드백

“Wonderful to work with him. He has done it In real time. Took only 4-5 hours to complete 3 days Stuck work.”

프로필 이미지 Rahulllkumarrr, India.

이 콘테스트의 최상위 응모작

다른 응모작

공개 설명 게시판

  • Donc310
    Donc310
    • 5 년 전

    First : do you want to consume the output of the file via an API request ? if yes the ideal thing to do will be to use a cloud solution where a simple php script will accept a post request with the python script arguments as post variables and return the response from the execution of the script. I will setup a simple demonstration using google cloud compute engine.

    • 5 년 전
    1. Rahulllkumarrr
      콘테스트 주최자
      • 5 년 전

      This sounds good with me

      • 5 년 전
  • hobby4me
    hobby4me
    • 5 년 전

    By the way; Instead of indenting the parameters line in the py script file as David N mentioned in his entry, I commented out that line out and passed these through the command line to the script externally. The result I got was "Increased" (along with some other warning messages before that probably because of my setup).

    • 5 년 전

콘테스트를 시작하는 방법

  • 콘테스트를 게시하세요

    콘테스트 등록 신속하고 간편한 절차

  • 응모작 접수

    응모작 접수 세계적인 참가 범위

  • 최우수 응모작 선정

    최우수 응모작 선정 자료 파일의 다운로드(초간단!)

콘테스트 바로 등록 (또는, 즉시 회원 가입!)