List

I ran into some snags. The code is written by someone in Portugal and it is not written in the most “professional manner”. The code is returning this error from “main.py”

Traceback (most recent call last):

  File “main.py”, line 22, in <module>

    ind_item_hosts = input(‘Do you want to change the HOSTS for the INDIVIDUAL ITEM MODE? (y/n) \n’)

  File “<string>”, line 1, in <module>

NameError: name ‘y’ is not defined

 

It seems like it would be a simple fix, maybe my brain is just fried. Any Python Pros out there that can help?

 

One Response to “UPDATE – Project: Steam Market Bot”

  1. Francois Dion

    Ah yes, python 2 / 3 issue… Your code is python 3 but you are running python 2. raw_input is the input for python 2.

    Stick to python 3 and you should be good. Are you on a mac? make sure the shebang line points to the correct version. (#!/usr/bin/env python3)

Leave a Reply

Your email address will not be published. Required fields are marked *