Go to advanced search

by modnar
Sat Jul 22, 2017 5:04 pm
Forum: Python
Topic: Trouble with shelving!
Replies: 4
Views: 1142

Re: Trouble with shelving!

Change this: playerStash = {#item : quantity# "rope": 77, "giant's toe" : 1, "gold" : 420} to: playerStash = {"item" : "quantity" "rope": 77, "giant's toe" : 1, "gold" : 420} i just removed the #item and quantity as they were for my reference when i first started it doesn't change anything.
by modnar
Fri Jul 21, 2017 7:16 pm
Forum: Python
Topic: Trouble with shelving!
Replies: 4
Views: 1142

Re: Trouble with shelving!

no that didn't work it returns an error saying " dict object has no attribute read" which make sense.
by modnar
Fri Jul 21, 2017 2:12 am
Forum: Python
Topic: Trouble with shelving!
Replies: 4
Views: 1142

Trouble with shelving!

Hey folks, python 3.4.2, on Linux obvie I'm pretty new to this language but I'm coding this project. It started as a simple program that displayed a dictionary . Well I'm trying to expand on it based on tutorials that i am reading. I came to one about shelving and being able to preserve info in a sa...
by modnar
Tue Jul 04, 2017 5:43 pm
Forum: Python
Topic: Problem with specific error
Replies: 2
Views: 534

Problem with specific error

Hi there, just getting started with python. I have a bit of basic knowledge of the language as well as c#, but im following a tutorial and it has me typing this code but it returns an error. It is supposed to print the line "hello modnar how are you" but then the error is presented. I'm running pyth...

Go to advanced search