About 50 results
Open links in new tab
  1. How can I use a global variable in a function? - Stack Overflow

    Jul 11, 2016 · How do I create or use a global variable inside a function? How do I use a global variable that was defined in one function inside other functions? Failing to use the global keyword where …

  2. How can I determine a Python variable's type? - Stack Overflow

    A variable, initially created as a string, can be later reassigned to an integer or a float. And the interpreter won’t complain: ... To check the type of a variable, you can use either type () or isinstance …

  3. Adding a directory to the PATH environment variable in Windows

    Mar 3, 2012 · I am trying to add C:\\xampp\\php to my system PATH environment variable in Windows. I have already added it using the Environment Variables dialog box. But when I type into my console: …

  4. Add a folder to the PATH environment variable in Windows 10 (with ...

    May 15, 2025 · On StackOverflow and on the internet in general, there are outdated and few guides on how to add a specific folder to the Windows 10 PATH environment variable of the user. I think a …

  5. MySQL: @variable vs. variable. What's the difference?

    80 In MySQL, @variable indicates a user-defined variable. You can define your own. ... Outside of stored programs, a variable, without @, is a system variable, which you cannot define yourself. The …

  6. cmd - How can I update the PATH variable permanently from the …

    From here you can tell it might be possible to set a variable not only for the currently logged in user but for the machine by using /m at the end of the command, on windows xp and 7. I haven't tried it though.

  7. Setting JAVA_HOME environment variable in MS Windows

    14 Set the JAVA_HOME Variable Windows 7 – Right click My Computer and select Properties > Advanced Windows 8 – Go to Control Panel > System > Advanced System Settings Windows 10 – …

  8. How to set environment variables in Python? - Stack Overflow

    it complains saying that 1 has to be a string. I also want to know how to read the environment variables in Python (in the latter part of the script) once I set it.

  9. How to set the environment variables for Java in Windows

    Nov 4, 2009 · In environmental variable, user variable section click on New button and give path like below. after that give ok for it and go to the System variables and select the Path and double click on it.

  10. How can I update the system PATH variable permanently from cmd?

    First, you do not want to expand the system PATH variable, but keep it as a symbol; otherwise, you will not participate in future additions to the system PATH variable. Therefore, you have to quote the % …