elglin: (Default)
[personal profile] elglin
Зацените код, который меня пытались заставить писать:
def check_some_shit():
    x = commands.getoutput('shell command with parameters') # subprocess? - нет, не слышали
    if 'some_text' in x: # байт-строки для совместимости с тройкой? - нет, не слышали
        y = True # результат in есть True/False? - нет, не слышали
    else:
        y = False
    assert y == True # ФАТАЛИТИ!!!
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Page generated Feb. 27th, 2026 04:04 am
Powered by Dreamwidth Studios