Futura-Py / Notes

The modern text editor written in python
MIT License
9 stars 2 forks source link

from vars import * #50

Closed not-nef closed 2 years ago

not-nef commented 2 years ago

Dont forget this you idiot

not-nef commented 2 years ago

I was standing at the register in the supermarket when this hit me. It would be so much better because it would completely eliminate the v. prefix!

im-coder-lg commented 2 years ago

My thought: Why is it that we get ideas at really weird timings?

Dont forget this you idiot

Great comedic touch, I surely would do the same. You need any help on this?

not-nef commented 2 years ago

My thought: Why is it that we get ideas at really weird timings?

Yeah right?

You need any help on this?

Do you mean help with implementing it? I don't think so

im-coder-lg commented 2 years ago

Hmm... Check my new issue, please. I feel like I should hit myself for all the things that occurred today, including school.

Edit: sorry, I just feel... down.

not-nef commented 2 years ago

This doesnt work because the imported variables wont update

sumeshir26 commented 2 years ago

What do you mean? It should work

not-nef commented 2 years ago

Ok, so we do from vars import * at the start of the script, and that will load the CURRENT state of the variables into the script, but the variables only get set later on in the main script, and the variables in vars.py get updated but not the ones that we loaded into the script at the beginning. Doing v.root for example will always get the current state for every call.