Example #1
0
def itemPrices():
    total = 0
    curr.execute('SELECT typeid, locationid FROM corpassets;')
    for x in curr.fetchall():    
        theyBuy = firstGo.nowValue(getSystemIDFromStation(x[1]), x[0])[0]
        theySell = firstGo.nowValue(getSystemIDFromStation(x[1]), x[0])[1]
        print (firstGo.getSystemName(getSystemIDFromStation(x[1])), firstGo.getItemName(x[0]), theyBuy, theySell)