Apr-15-2022, 05:46 PM
(This post was last modified: Apr-15-2022, 05:46 PM by bigAL_python.)
Hello!
I have a main.scss file (I'm using SASS) and a Jupyter Notebook (.ipynb) in the same folder. I want to update only ONE line of code in my main.scss file but I want to do it from my jupyter notebook's python code. Is this possible?
To illustrate, in my main.scss file I have this at the top:
$customer_color_1: #cb2324;
Using python, I ONLY want to update that $customer_color_1 variable to become as follows:
$customer_color_1: #005f9f;
Is this possible??? If so, how? Thank you for any help!!
-AL
I have a main.scss file (I'm using SASS) and a Jupyter Notebook (.ipynb) in the same folder. I want to update only ONE line of code in my main.scss file but I want to do it from my jupyter notebook's python code. Is this possible?
To illustrate, in my main.scss file I have this at the top:
$customer_color_1: #cb2324;
Using python, I ONLY want to update that $customer_color_1 variable to become as follows:
$customer_color_1: #005f9f;
Is this possible??? If so, how? Thank you for any help!!
-AL