Starting Python on Openserver
Looking for who can help with the launch of .py on the openserver, you need to set the default apache and perform other actions so that I could through the browser to run .py and integrate the code in PHP and HTML code.
I’m going to do this very long how to do it so I’m looking for a person who will do it through the team viewer.
-
84 I welcome you,
Find out what you are planning to integrate?
Check the Apache settings, what do you want to see?
If there is TZ, I can help write a script with a displays or displays a docker.
-
Чтобы запустить .py на OpenServer и интегрировать его код в PHP и HTML, следуйте этим шагам:
Убедитесь, что Python установлен на вашем компьютере. Если Python не установлен, загрузите и установите его с официального сайта.
Откройте OpenServer и выберите "Дефолтный сервер" в меню. Нажмите на кнопку "Apache" и выберите "Директории".
В разделе "Директории" создайте новую директорию для своего проекта. Укажите путь к директории и выберите тип "PHP".
Загрузите свой .py файл в созданную директорию. Перезапустите Apache.
Создайте новый файл PHP и добавьте код, который будет вызывать ваш .py файл. Например:
phpCopy code
$python_output = exec("python3 /path/to/your/file.py"); echo $python_output;Сохраните файл PHP в созданной директории.
Откройте браузер и введите URL-адрес вашего проекта. Вы должны увидеть вывод, созданный вашим .py файлом.
Примечание: если вы используете Python 2.x, измените команду в коде PHP на "python" вместо "python3". Также убедитесь, что путь к вашему .py файлу правильный.
-
Current freelance projects in the category Python
Excel Specialist / Process Automation (Excel + preferably programming)We are looking for a specialist with ADVANCED knowledge of Excel to optimize the existing file and automate processes. It will be a great advantage if you also have programming skills / VBA / Power Query / Power Automate or experience in creating complex logic in Excel. Project… Python, Databases & SQL ∙ 1 hour 46 minutes back ∙ 16 proposals |
Automation of processes through API and PythonBelow I described the current process and the result I would like to achieve. I also attach files of the real process to better understand how it looks in reality Current process Currently, the entire process is performed manually: uploading/downloading files, transferring… AI & Machine Learning, Python ∙ 2 hours 47 minutes back ∙ 25 proposals |
A bot needs to be created in Telegram for subscription payment.
45 USD
A bot needs to be created in Telegram where users can subscribe for access to the webcams located in the yard. Organize payment for two types of subscriptions (monthly and daily) in the bot. The bot should automatically check the payment and then provide access links. Python, Bot Development ∙ 15 hours 34 minutes back ∙ 71 proposals |
Parsing and classification of a large array of imagesIt is necessary to implement a project for collecting and structuring a large array of architectural images from open web sources.The task includes: automated collection of images; uploading files in the highest available quality; classification of images by categories:… Python, Data Parsing ∙ 22 hours 33 minutes back ∙ 30 proposals |
Business logic of the platform: class confirmation, attendance control, and lesson history (DjangoRefinement of the business logic of the educational platform: lesson confirmation, attendance control, and lesson history (Django + React) A complete system for lesson confirmation, attendance control, and storage of confirmation history needs to be implemented. Important… Python ∙ 3 days 3 hours back ∙ 29 proposals |