What are some strategies to write python code that works in CPython, Jython and IronPython

前端 未结 6 2001
忘了有多久
忘了有多久 2021-02-02 14:55

Having tries to target two of these environments at the same time I can safely say the if you have to use a database etc. you end up having to write unique code for that environ

6条回答
  •  感动是毒
    2021-02-02 15:05

    @Daren Thomas: I agree, but you should use the platform module to determine which interpreter you're running.

提交回复
热议问题