def cDownload():
    
    print("Enter package name ")
    sName=input
    print("Enter download location ")
    sLocation=input
    command = "wget http://aur.archlinux.org/packages/" + sName + "/" + sName + ".tar.gz -O" + sLocation + "/" + sName + ".tar.gz"
    os.system(command)

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

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:

input()
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, networking, learning, and sharing knowledge.