Use Variable From Workspace In Function In Python