Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~142 People Reached
About Me

keep smiling always

Favorite Forums
Member Avatar for shubhangi_1

I want to print the count N letters of string but it result in error can anybody help me? import subprocess variable = "making" s = subprocess.Popen(("grep","-o -w","%s"%variable, "output.txt|wc -w"), stdout = subprocess.PIPE) output = s.communicate()[0] print(output)

0
142