LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Andrew Reid <andrew.reid@plug.cx>
To : <linuxsa@linuxsa.org.au>
Date: 05 Nov 2001 17:49:35 -0930
Unsetting variables in Python
Hrmm.. A little question for someone that might know Python a little
better than I do.
In just about every other language that I've coded in, there is an
unset() function of sorts that obliterates the variable that you pass
it, such that it is no longer available to be refered to.
PHP Example:
$test = "This is a test";
printf ($test);
unset ($test);
// $test is no longer available to be used. It may be redeclared
though.
Does anyone know the Python equivelant, if there is one?
- andrew
--
void signature(){
cout << "Andrew Reid -- andrew.reid@plug.cx" << endl;
cout << "Cell: +61 401 946 813" << endl;
cout << "Quidquid latine dictum sit, altum viditur" << endl;
}
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page