Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
python-osc communication
#11
please, always post the code that produce the error
it looks like you removed this line or changed something in it
  parser.add_argument("--ip", default="127.0.0.1",
      help="The ip of the OSC server")

by the way I think you should get this error
Output:
$python3 simpleclient.py 127.0.0.1 9999 usage: simpleclient.py [-h] [--port PORT] simpleclient.p.py: error: unrecognized arguments: 127.0.0.1 9999
i.e. the correct usage should be
Output:
$python3 simpleclient.py --ip 127.0.0.1 --port 9999
or without arguments, if you have changed the default port to 9999

Output:
$python3 simpleclient.py
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Good Example for bi-directional Communication between Python and Windows (C#) raybowman 0 1,555 Nov-14-2020, 06:44 PM
Last Post: raybowman
  packet radio communication EmpireAndrew 1 2,154 Nov-01-2019, 06:35 PM
Last Post: micseydel
  WiFi communication Milad 2 2,418 Sep-07-2019, 11:53 AM
Last Post: ndc85430
  Simple inter-process communication: Switching from Perl to Python Pappy 1 2,861 May-10-2019, 12:29 AM
Last Post: Pappy
  Serial communication with raspberry pi 3B and Xbee kj7 0 2,147 Mar-25-2019, 03:39 AM
Last Post: kj7
  Serial Communication Error AlphyOuseph 1 3,494 Feb-07-2019, 07:16 AM
Last Post: DeaD_EyE
  pi3 serial communication tony1812 0 2,126 Sep-23-2018, 10:29 PM
Last Post: tony1812
  Serial communication with a board Bokka 2 5,309 Dec-07-2017, 07:34 AM
Last Post: Bokka
  code pattern for process communication Skaperen 12 8,374 Oct-08-2017, 03:14 AM
Last Post: Skaperen
  Serial port communication FatimaSameer 1 3,185 Oct-03-2017, 09:47 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020