[Beginner] What happens if I write a program that runs in php in Python?

I created a LINE bot with php. It is a mechanism that the characters entered in the chat are simply entered in the corresponding txt as debugging.

I'm in trouble because I don't know the code to replace this with Python.

Below is the code that actually worked in php.

Recommended Posts

[Beginner] What happens if I write a program that runs in php in Python?
I tried "a program that removes duplicate statements in Python"
I made a payroll program in Python!
Write a Caesar cipher program in Python
What happens if you do "import A, B as C" in Python?
A memo that I wrote a quicksort in Python
A program that removes duplicate statements in Python
[Question] What happens when I use% in python?
I made a Caesar cryptographic program in Python.
I made a prime number generation program in Python
Write a super simple molecular dynamics program in python
I want to write in Python! (2) Let's write a test
I made a VM that runs OpenCV for Python
I made a prime number generation program in Python 2
A note that runs an external program in Python and parses the resulting line
What I learned in Python
A Python program in "A book that gently teaches difficult programming"
A word that I was interested in as a programming beginner
Summary of points to keep in mind when writing a program that runs on Python 2.5
I made a program to collect images in tweets that I liked on twitter with Python
Write A * (A-star) algorithm in Python
Write a pie chart in Python
Write a vim plugin in Python
Write a depth-first search in Python
When writing a program in Python
What to do if you get a minus zero in Python
I made a program that solves the spot the difference in seconds
Easy! Implement a Twitter bot that runs on Heroku in Python
A program that determines whether a number entered in Python is a prime number
[python] I made a class that can write a file tree quickly
What I learned and coded for a function that opens a special Windows folder in Python3 ctypes
[Python] A program that creates stairs with #
What to do if there is a decimal in python json .dumps
Write the test in a python docstring
I made a Discord bot in Python that translates when it reacts
I tried to develop a Formatter that outputs Python logs in JSON
Write a simple greedy algorithm in Python
What I did with a Python array
[Python] Create a LineBot that runs regularly
Write a simple Vim Plugin in Python 3
[IOS] I made a widget that displays Qiita trends in Pythonista3. [Python]
I made a program to check the size of a file in Python
A program that plays rock-paper-scissors using Python
I created a password tool in Python.
[Python] A program that rounds the score
I wanted to create a program in Reverse Polish Notation in Python (determining if a string can be converted to a number)
I made a program in Python that reads CSV data of FX and creates a large amount of chart images
I want to create a priority queue that can be updated in Python (2.7)
I registered PyQCheck, a library that can perform QuickCheck with Python, in PyPI.
I made a familiar function that can be used in statistics with Python
What to do if a Unicode Encode Error occurs in Sublime Text Python
I want to exe and distribute a program that resizes images Python3 + pyinstaller
In Python, I made a LINE Bot that sends pollen information from location information.
Python program is slow! I want to speed up! In such a case ...
I tried to implement what seems to be a Windows snipping tool in Python
I want to create a window in Python
I tried playing a typing game in Python
[Memo] I tried a pivot table in Python
A simple Pub / Sub program note in Python
Let's write a Python program and run it
I tried adding a Python3 module in C