python-interpreter-node icon indicating copy to clipboard operation
python-interpreter-node copied to clipboard

Please share any code snippets you have used and I will add them to the repo

Open christian-byrne opened this issue 11 months ago • 2 comments

The existing snippets are lackluster https://github.com/christian-byrne/python-interpreter-node/tree/demo-files/wiki/code-snippets-from-demos

christian-byrne avatar Jan 05 '25 19:01 christian-byrne

welllllll, one problem I had was that in:

https://github.com/christian-byrne/python-interpreter-node/blob/demo-files/wiki/code-snippets-from-demos/get_complementary_colors.py

I dont have "webcolors" installed. Its not part of this repo, nor part of comfyUI core, so, I couldnt actually use it. I was curious on that one as I have my own node to do such, etc...

So, first thing I tried, didnt even work :(

I, sadly, dont have good suggestions for the actual request cause I just make hard nodes -- same problem I had with FIL's code node -- I just write the code as a node already.

Amorano avatar Jan 13 '25 22:01 Amorano

😓 ... I should add os.system('pip install webcolors') to the script 😈

christian-byrne avatar Jan 14 '25 07:01 christian-byrne