<filename>get_size.py
#!/usr/bin/python2.7
# -*- coding: utf-8 -*-

import os

sizeX = int(os.environ['__VJ_SIZE_X__'])
sizeY = int(os.environ['__VJ_SIZE_Y__'])

def getSize():
	return sizeX, sizeY

if __name__ == "__main__":
	print getSize()

<filename>get_size.py
#!/usr/bin/python2.7
# -*- coding: utf-8 -*-

import os

sizeX = int(os.environ['__VJ_SIZE_X__'])
sizeY = int(os.environ['__VJ_SIZE_Y__'])

def getSize():
	return sizeX, sizeY

if __name__ == "__main__":
	print getSize()

#!/usr/bin/python2.7 # -*- coding: utf-8 -*-