# Python Shell node

**URL:** https://discourse.nodered.org/t/python-shell-node/10055
**Category:** General
**Created:** [12 April 2019 07:41 UTC](https://discourse.nodered.org/t/python-shell-node/10055 "2019-04-12T07:41:11Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![ApiAsylum](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/apiasylum/32/7486_2.png) [@ApiAsylum](https://discourse.nodered.org/u/ApiAsylum)
#### Post date: [12 April 2019 07:41 UTC](https://discourse.nodered.org/t/python-shell-node/10055/1 "2019-04-12T07:41:11Z")

</div>

Hi,  
I'm facing error as _ **"pyfile not exist"** _ in **PYTHONSHELL NODE** after declaring the path,

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/a/a22fe4ef31d283839d34ba683eb4f1a32da392cd.png)

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [12 April 2019 08:16 UTC](https://discourse.nodered.org/t/python-shell-node/10055/2 "2019-04-12T08:16:23Z")

</div>

This is the same screenshot @Trainocate posted earlier....

It means that file does not exist on the device running Node-RED.

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [12 April 2019 08:43 UTC](https://discourse.nodered.org/t/python-shell-node/10055/3 "2019-04-12T08:43:47Z")

</div>

If it is running on Windows you may also need to escape those \ so c:\\users\\ ... etc

---

<div class="post-metadata">

### Author: ![ApiAsylum](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/apiasylum/32/7486_2.png) [@ApiAsylum](https://discourse.nodered.org/u/ApiAsylum)
#### Post date: [12 April 2019 08:55 UTC](https://discourse.nodered.org/t/python-shell-node/10055/4 "2019-04-12T08:55:43Z")

</div>

that file do exist.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/c/cbf514c36762548e077b914795781d32cdc5fa25.jpeg)

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [12 April 2019 09:31 UTC](https://discourse.nodered.org/t/python-shell-node/10055/5 "2019-04-12T09:31:56Z")

</div>

And that is the same machine running Node-RED?

The (now deleted) question from @Trainocate was running in IBM Cloud.

---

<div class="post-metadata">

### Author: ![ApiAsylum](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/apiasylum/32/7486_2.png) [@ApiAsylum](https://discourse.nodered.org/u/ApiAsylum)
#### Post date: [12 April 2019 09:40 UTC](https://discourse.nodered.org/t/python-shell-node/10055/6 "2019-04-12T09:40:16Z")

</div>

Node-red is used in IBM cloud but the file I'm trying to add is located in my local machine, will that be accepted to use file from local machine when node red is running in IBM cloud?

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [12 April 2019 09:41 UTC](https://discourse.nodered.org/t/python-shell-node/10055/7 "2019-04-12T09:41:17Z")

</div>

No the node works with files located on the server running node-red.

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [12 April 2019 09:44 UTC](https://discourse.nodered.org/t/python-shell-node/10055/8 "2019-04-12T09:44:43Z")

</div>

How does the machine running in the cloud access files running on your local machine? It doesn't.

You'll have to add the file to your application image using the same continuous delivery feature you used to edit package.json

---

<div class="post-metadata">

### Author: ![ApiAsylum](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/apiasylum/32/7486_2.png) [@ApiAsylum](https://discourse.nodered.org/u/ApiAsylum)
#### Post date: [12 April 2019 09:53 UTC](https://discourse.nodered.org/t/python-shell-node/10055/9 "2019-04-12T09:53:21Z")

</div>

Thank you Nick, yes I have already enabled continuous delivery feature in my IBM cloud, exactly where the file has to be updated and is there anyway the file I update in continuous delivery could get mapped in node red?  
What is that Application image is all about?

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [12 April 2019 09:57 UTC](https://discourse.nodered.org/t/python-shell-node/10055/10 "2019-04-12T09:57:22Z")

</div>

Sorry, I'm out and about today. Can't give you a complete guide on this. But there are guides online for how to use the continuous delivery feature (not Node-RED specific) that you should be able to find and learn from.

---

<div class="post-metadata">

### Author: ![ApiAsylum](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/apiasylum/32/7486_2.png) [@ApiAsylum](https://discourse.nodered.org/u/ApiAsylum)
#### Post date: [12 April 2019 11:35 UTC](https://discourse.nodered.org/t/python-shell-node/10055/11 "2019-04-12T11:35:28Z")

</div>

Once you get back please share us the link to add files to node red from IBM cloud.

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [12 April 2019 11:37 UTC](https://discourse.nodered.org/t/python-shell-node/10055/12 "2019-04-12T11:37:12Z")

</div>

Google will help find you a link.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [12 April 2019 15:08 UTC](https://discourse.nodered.org/t/python-shell-node/10055/13 "2019-04-12T15:08:50Z")

</div>

> [@dceejay](#):
>
> If it is running on Windows you may also need to escape those \ so c:\users\ ... etc

Or use forward slashes which Windows also understands.
