Python Forum
embedding Python script in shell scripts
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
embedding Python script in shell scripts
#6
(Mar-22-2018, 07:14 AM)Gribouillis Wrote:
(Mar-22-2018, 01:47 AM)Skaperen Wrote: if a command line option like "+4" could be added to mean: read the code from the specified file descriptor, this would have been even simpler.
It seems that you can use /dev/fd/4 instead of /proc/self/fd/4

on some distros, the /dev/fd link isn't there.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
RE: embedding Python script in shell scripts - by Skaperen - Mar-23-2018, 01:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  embedded Python scripts - is it worthwhile Skaperen 3 796 Feb-21-2024, 01:25 AM
Last Post: Skaperen
  images and pixels in typical Python scripts Skaperen 0 1,271 Oct-14-2021, 12:29 AM
Last Post: Skaperen
  embedding data in a script Skaperen 1 2,128 May-31-2021, 07:19 AM
Last Post: Gribouillis
  Creating Python scripts in Visual Studio Code Sanjish 4 2,662 Dec-22-2020, 12:32 PM
Last Post: snippsat
  embedding python Skaperen 0 1,492 Apr-22-2020, 03:19 AM
Last Post: Skaperen
  suid scripts in python? Skaperen 0 2,187 Sep-29-2019, 10:28 PM
Last Post: Skaperen
  Python Shell As Preferred Mode For Integrated Terminal In Visual Studio Code adt 4 4,114 Sep-07-2019, 06:00 PM
Last Post: adt
  Can copyright be applied python scripts? tim777 3 4,960 Sep-04-2019, 12:20 PM
Last Post: DeaD_EyE
  Finding Scripts for Python Johnny1998 1 2,252 Jul-31-2019, 08:07 PM
Last Post: Yoriz
  Notepad vs anaconda spyder or python shell ShadowAlpha 2 2,973 Jun-26-2019, 06:31 AM
Last Post: perfringo

Forum Jump:

User Panel Messages

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