![]() ![]() ![]() Here is what it shows with the libcst library: > print((cst.parse_expression("s and +w+x for x in f(s) for w in('.','')] or ")))Īnd here is what it prints for the ast builtin library: > print(ast.dump(ast.parse("s and +w+x for x in f(s) for w in('. The pattern it uses it's deprecated, since the builtin syntax for the ternary operator has been introduced in PEP 308 on the release of Python 2.5.įurthermore s and +w+x for x in f(s) for w in('.','')] or įor x in f(s): #s removes first character It seems like you can use this dot-trick on mail addresses on GMail and maybe some other providers. This technique is commonly known as the Gmail Dot Trick. It works by adding dots to the email address, which Gmail ignores but still considers as a unique email address. It mainly uses list comprehension and ternary operators implemented with binary operators The Gmail Dot Trick Generator is a tool that allows users to generate multiple email addresses using the same Gmail account. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |