input() error – NameError: name ‘…’ is not defined
I am getting an error when I try to run this simple script: input_variable = input(“Enter your name: “) print(“your name is” + … Read more
I am getting an error when I try to run this simple script: input_variable = input(“Enter your name: “) print(“your name is” + … Read more
What does the % in a calculation? I can’t seem to work out what it does. Does it work out a percent of … Read more
I use IPython notebooks and would like to be able to select to create a 2.x or 3.x python notebook in IPython. I … Read more
I want to dynamically query Google Maps through the Google Directions API. As an example, this request calculates the route from Chicago, IL … Read more
I am using below referred code to edit a csv using Python. Functions called in the code form upper part of the code. … Read more
In Python, what is the difference between json.load() and json.loads()? I guess that the load() function must be used with a file object … Read more
Apologies for the simple question… I’m new to Python… I have searched around and nothing seems to be working. I have a bunch … Read more
I’m using the Requests: HTTP for Humans library and I got this weird error and I don’t know what is mean. No connection … Read more
I installed the latest version of Python (3.6.4 64-bit) and the latest version of PyCharm (2017.3.3 64-bit). Then I installed some modules in … Read more
I am currently using Beautiful Soup to parse an HTML file and calling get_text(), but it seems like I’m being left with a … Read more