def cDownload():
    print("Enter package name ")
    print("Enter download location ")
    command = "wget" + sName + "/" + sName + ".tar.gz -O" + sLocation + "/" + sName + ".tar.gz"

I get
TypeError: Can't convert 'builtin_function_or_method' object to str implicitly

Recommended Answers

All 3 Replies

I have tried this in other languages such as C++ and ruby and it works just fine.

You need to call the function "input"
So it'd look like:

commented: sharp eye +15

Oops. I missed those. I noticed the ones in cSearch I did but failed to notice those. Thanks for pointing that out. Sorry, I am just now trying to learn.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.