I often run scripts now with 64 bit background processing enabled but when I want to use certain tools like Xtools table to text I have to turn it off as these tools are 32 bit. Is there a way to switch this within a script say... (Geoprocessing_Enable is fictional)

1 Answer
1

No. Once you've started executing your script at prompt, you're in either the 32 or 64 bit space.
[yes you could do some sort of multiprocess or os.system call out to 32 or 64bit, but thats at your own risk and I've heard nothing but problems when people do this.]

See this blog article about specifying what "bits" to run against.
In short, you'll need to break up your script into pieces and call them against the version of Python they work with.