_alexh_AS_
Python 3.6.6 (tags/v3.6.6:4cf1f54eb7, Jul 6 2018, 15:35:19)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> conditionA = True
>>> attr = "foo" if conditionA else "bar"
>>> print(attr)
foo
>>> conditionA = False
>>> attr = "foo" if conditionA else "bar"
>>> print(attr)
bar
>>>• Director of Engineering: http://www.activestate.com/company/careers/director-engineer...
• Lead Language Developer - Tcl: http://www.activestate.com/company/careers/lead-language-dev...
• Lead Language Developer - Python: http://www.activestate.com/company/careers/lead-language-dev...
• Lead Language Developer - Perl: http://www.activestate.com/company/careers/lead-language-dev...
• Linux Systems Administrator: http://www.activestate.com/company/careers/linux-systems-adm...
• Technical Writer / Trainer: http://www.activestate.com/company/careers/technical-writer-...
• Account Executive (Stackato): http://www.activestate.com/company/careers/account-executive...
• Cloud Software Engineer: http://www.activestate.com/company/careers/cloud-software-en...
Contact [email protected] to apply.
I'm one of the Cloud Software Engineers, feel free to ask me questions here.