Debug with PEPPER python interpreter

Notes for debugging with the python interpreter

Overview

Premise

how to use

1. Start the interpreter with a python command

$ python
Python 2.7.3 (default, Sep  8 2015, 19:02:10) 
[GCC 4.5.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 

2. Import ALProxy from naoqi module

>>> from naoqi import ALProxy

3. Connect to the service you want to use

>>> m = ALProxy("ALMemory", "localhost", 9559) #The connection destination is localhost,Specify 9559 as the port.

4. Call the API

>>> m.raiseEvent("Hoge/TestEvent", "hugahuga")

that's all.

Recommended Posts

Debug with PEPPER python interpreter
Connect to pepper with PEPPER Mac's python interpreter
Debug Python with VS Code
Debug python multiprocess program with VSCode
I want to debug with Python
FizzBuzz with Python3
Scraping with Python
Statistics with python
Scraping with Python
Python with Go
Twilio with Python
Integrate with Python
Play with 2016-Python
AES256 with python
Tested with Python
python starts with ()
with syntax (Python)
Debug for mysql connection with python mysql.connector
Bingo with python
Zundokokiyoshi with python
Excel with Python
Microcomputer with Python
Cast with python
[Ansible] Install dnf on Centos7 with Python3 interpreter
Debug with VS Code using boost python numpy
Serial communication with Python
Zip, unzip with python
Django 1.11 started with Python3.6
Primality test with Python
Python with eclipse + PyDev.
Socket communication with Python
Data analysis with python 2
Scraping with Python (preparation)
Python interpreter prompt change
Learning Python with ChemTHEATER 03
Sequential search with Python
Run Python with VBA
Handling yaml with python
Solve AtCoder 167 with python
Serial communication with python
[Python] Use JSON with Python
Learning Python with ChemTHEATER 05-1
Learn Python with ChemTHEATER
Run prepDE.py with python3
1.1 Getting Started with Python
Collecting tweets with Python
Binarization with OpenCV / Python
3. 3. AI programming with Python
Kernel Method with Python
Non-blocking with Python + uWSGI
Scraping with Python + PhantomJS
Posting tweets with python
Use mecab with Python3
[Python] Redirect with CGIHTTPServer
Operate Kinesis with Python
Getting Started with Python
Use DynamoDB with Python
Zundko getter with python
Handle Excel with python
Ohm's Law with Python
Primality test with python