Python Forum
Using print command to send command to rasberry pi terminal
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using print command to send command to rasberry pi terminal
#1
Currently I am trying to sense distance then < 20cm code will print a command into the rasberry pi terminal(cmd) what is the command used to print a function into command prompt or is it even possible?
Reply
#2
Hello MondazeBear,

As far as i know and what i found it is just the normal python commands to print in the CMD of your rasberry pi.

kind regards
Reply
#3
you need to supply a bit more information.
Normally, the raspberry pi wold be communicated with through a serial port.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  under VS Code: the terminal does not recognize "1+1" as a command Rahzan 4 59 May-01-2026, 01:53 PM
Last Post: Rahzan
  How to Randomly Print a Quote From a Text File When User Types a Command on Main Menu BillKochman 13 7,273 Dec-16-2025, 05:29 PM
Last Post: zodazy
  Single run command? Tetralemma 2 1,293 Sep-04-2025, 09:03 AM
Last Post: dr8478552
  I am a newbie I like to use the command line Mikel2025 1 1,063 Jun-13-2025, 03:20 PM
Last Post: Gribouillis
  PyVisa Query Command fails dazz 1 2,465 May-01-2025, 04:58 PM
Last Post: deanhystad
  Insert command line in script lif 4 2,200 Mar-24-2025, 10:30 PM
Last Post: lif
  How to run shell command, capture the output, then write it into textfile? tatahuft 4 1,828 Dec-20-2024, 02:13 PM
Last Post: Axel_Erfurt
  Simplest way to run external command line app with parameters? Winfried 2 2,360 Aug-19-2024, 03:11 PM
Last Post: snippsat
  Using RTC time in Rasberry Pi Programs sab201 1 1,591 Aug-18-2024, 05:50 PM
Last Post: snippsat
  Running powershell command in flask wtf form robertkwild 10 3,726 Jun-27-2024, 09:49 AM
Last Post: robertkwild

Forum Jump:

User Panel Messages

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