
January 22nd, 2013, 10:20 AM
|
|
Contributing User
|
|
Join Date: Jul 2007
Location: Joensuu, Finland
|
|
Quote: | Originally Posted by Sentinal_Bais but how do you declare a global variable that is not primitive eg an opencv image object |
There’s no need to “declare” variables: just assign values to them. In Python variables are after all only names you use when you refer to the data.
__________________
My armada: openSUSE 12.3 (home desktop, laptop, work desktop), Ubuntu 12.04 LTS (mini laptop), Debian GNU/Linux 7.0 (server), Mythbuntu 12.04 LTS (HTPC), Bodhi Linux 2.0 & Windows 7 Ultimate (test desktop), FreeBSD 9.1 (test server)
|