How to install NPI + send a message to line with python

Hello, I made this place for the sake of information I distributed the line package before, but I was told that py was not accompanied I deleted the article The pip method is difficult, Also, to prevent this from happening I made something like pip Then, I will introduce how to use the created npi. npi is Nectrl package installer Is a translation of Therefore, I will use this for package distribution from now on. download https://drive.google.com/file/d/1wrCmyp7w0g7f0zFWTDfwoApm_XPYmYfx/view?usp=sharing (Currently it is displayed in google chrome that it may cause harm. Click ^ on the right and click Continue) Download install.zip from here and unzip it Run install.exe and follow the instructions

Start-up

By default It is installed directly under the c drive Right-click npi.exe → execute as administrator and leave When the process is complete packages→Nectrlpackageinstaller-master There is py distributed in (Each package cannot be installed individually) Py to use Place it in the same directory as the created py file to be executed Please move line.py

linefail.py


from line import line
from line import tokenline
tokenline("token")
line("message")

Can be used like this Please see the official information on how to acquire tokens.

Recommended Posts

How to install NPI + send a message to line with python
Send a message to LINE with Python (LINE Notify)
How to send a message to LINE with curl
[Python] How to draw a line graph with Matplotlib
I want to send a message from Python to LINE Bot
Send a message from Python to Slack
How to install python3 with docker centos
How to install Python
How to install python
How to send a request to the DMM (FANZA) API with python
Send a message from Slack to a Python server
How to read a CSV file with Python 2/3
How to draw a vertical line on a heatmap drawn with Python seaborn
[2020.8 latest] How to install Python
How to install Python [Windows]
How to convert / restore a string with [] in python
[Python] How to create a 2D histogram with Matplotlib
[Python] How to draw a scatter plot with Matplotlib
How to write a Python class
Python: How to use async with
How to install Python2.7 python3.5 with pyenv (on RHEL5 CentOS5) (2016 Nov)
How to convert an array to a dictionary with Python [Application]
How to install python-pip with ubuntu20.04LTS
How to get started with Python
Post a message to Google Hangouts Chat with a thread (Python)
Unable to install Python with pyenv
How to build a python2.7 series development environment with Vagrant
How to use FTP with Python
How to calculate date with python
Create a message corresponding to localization with python translation string
How to install mysql-connector with pip3
How to install Anaconda with pyenv
[Introduction to Python] How to split a character string with the split function
[Python 3.8 ~] How to define a recursive function smartly with a lambda expression
How to make a surveillance camera (Security Camera) with Opencv and Python
How to get a string from a command line argument in python
How to create a heatmap with an arbitrary domain in Python
[Python] How to get a value with a key other than value with Enum
How to automatically install Chrome Driver for Chrome version with Python + Selenium + Chrome
[ROS2] How to play a bag file with python format launch
Install Python as a Framework with pyenv
HTML email with image to send with python
How to install and use pandas_datareader [Python]
How to add a package with PyCharm
[Python] How to make a class iterable
python3 How to install an external module
[Kivy] How to install Kivy on Windows [Python]
[Python] How to convert a 2D list to a 1D list
How to install DLIB with 2020 / CUDA enabled
How to work with BigQuery in Python
[Python] How to invert a character string
How to install a package using a repository
How to get a stacktrace in python
How to do portmanteau test with python
How to display python Japanese with lolipop
How to enter Japanese with Python curses
[Python] How to deal with module errors
How to install zsh (with .zshrc customization)
How to run a Maya Python script
[Yahoo! Weather Replacement Version] How to get weather information with LINE Notify + Python
Python beginners decided to make a LINE bot with Flask (Flask rough commentary)