Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: unsupported operand type(s) for |: 'str' and 'str' #14

Closed
pp0236 opened this issue Dec 21, 2021 · 2 comments
Closed

TypeError: unsupported operand type(s) for |: 'str' and 'str' #14

pp0236 opened this issue Dec 21, 2021 · 2 comments

Comments

@pp0236
Copy link

pp0236 commented Dec 21, 2021

any help?

  [>] Enter uninspected file path : zaz.pyc

import random
import re
import re
re.escape(~)
re.escape(})
re.escape(|=)
re.escape(|)
re.escape({)
re.escape(^=)
re.escape(^)
re.escape(])
re.escape([)
re.escape(@=)
re.escape(@)
re.escape(>>=)
re.escape(>>)
re.escape(>=)
re.escape(>)
re.escape(==)
re.escape(=)
re.escape(<=)
re.escape(<<=)
re.escape(<<)
re.escape(<)
re.escape(;)
re.escape(:=)
re.escape(:)
re.escape(/=)
re.escape(//=)
re.escape(//)
re.escape(/)
re.escape(...)
re.escape(.)
re.escape(->)
re.escape(-=)
re.escape(-)
re.escape(,)
re.escape(+=)
re.escape(+)
re.escape(*=)
re.escape(**=)
re.escape(**)
re.escape(*)
re.escape())
re.escape(()
re.escape(&=)
re.escape(&)
re.escape(%=)
re.escape(%)
re.escape(!=)
re.escape($)
Traceback (most recent call last):
  File "CNPFLOOD.py", line 3, in <module>
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/__init__.py", line 23, in <module>
    import logging
  File "/usr/lib/python3.8/logging/__init__.py", line 28, in <module>
    from string import Template
  File "/usr/lib/python3.8/string.py", line 80, in <module>
    class Template(metaclass=_TemplateMetaclass):
  File "/usr/lib/python3.8/string.py", line 77, in __init__
    cls.pattern = _re.compile(pattern, cls.flags | _re.VERBOSE)
TypeError: unsupported operand type(s) for |: 'str' and 'str'

  [>] The code is finished, don't forget to follow @venaxyt / @IDRALOU / @Bleu-No / @vjousse on Github
@pp0236
Copy link
Author

pp0236 commented Dec 22, 2021

im try delete re.py in modules
and i got this error "AttributeError: 'str' object has no attribute 'get'" instead of "TypeError: unsupported operand type(s) for |: 'str' and 'str'"

@venaxyt
Copy link
Owner

venaxyt commented Dec 22, 2021

Hey bro send me a screen for me to help you.

@venaxyt venaxyt closed this as completed Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants