malcolm4458 0 Newbie Poster
Recommended Answers
Jump to PostIf you want help for syntax. There is an easy way to do it. you go something like this for your example:
# just type each line in the interpreter >>> import os >>>help(os.execv) #displays info
in your case it shows this:
Help on …
Jump to Postin that case you parse no arguments by giving it an empty tuple.
So it would beos.execv("path here",())
All 6 Replies
lllllIllIlllI 178 Veteran Poster
malcolm4458 0 Newbie Poster
lllllIllIlllI 178 Veteran Poster
malcolm4458 0 Newbie Poster
Gribouillis 1,391 Programming Explorer Team Colleague
jlm699 320 Veteran Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.