Reverse Engineering Asked by Inc.ace on May 20, 2021
I am wanting to execute python command by using python -c but it contain in string library so i need import it.
While reading man i find this:
when called with -c command, it executes the
Python statement(s) given as command. Here command may contain multi‐
ple statements separated by newlines. Leading whitespace is signifi‐
cant in Python statements! In non-interactive mode, the entire input
is parsed before it is executed.
For example I’ve tried python3 -c "import string n print(string.ascii_letters)"
but it didn’t work. So what is it new line?
This is not really a re related question. But you can do something like this:
python3 -c 'import string;print(string.ascii_letters)'
Correct answer by R4444 on May 20, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP