Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Any way to get raw_input to work in my function?
Post: RE: Any way to get raw_input to work in my functio...

I got it to work! Here's my new code for anyone who might have come across a similar problem.  def food_waste(cold_food, hot_food):     print "Based on the data given, your total Cold Waste is %d pou...
Pythonerous General Coding Help 4 5,367 Oct-27-2016, 05:03 PM
    Thread: Any way to get raw_input to work in my function?
Post: RE: Any way to get raw_input to work in my functio...

Sorry, I should have put the error beforehand. Error:File "ex19.py", line 3, in food_waste TypeError: %d format: a number is required, not str
Pythonerous General Coding Help 4 5,367 Oct-27-2016, 04:46 PM
    Thread: Any way to get raw_input to work in my function?
Post: Any way to get raw_input to work in my function?

Hi again! Been playing around with functions and decided to make my own and wanted to make a program that stated food waste in pounds with the data coming from the user but I'm having trouble getting ...
Pythonerous General Coding Help 4 5,367 Oct-27-2016, 04:35 PM
    Thread: Cant Get Powershell to run a python program from notepad++. Newbie help!
Post: RE: Cant Get Powershell to run a python program fr...

Hey All! Thanks for the quick replies and the extra resources to learn more about this. Yoriz, I had the file save on the desktop which might have been the problem as you said so I coppied the file t...
Pythonerous General Coding Help 4 9,064 Oct-10-2016, 07:16 PM
    Thread: Cant Get Powershell to run a python program from notepad++. Newbie help!
Post: Cant Get Powershell to run a python program from n...

Hey Forum! Im new here and happy that I'm part of the community. I just started geting into programming and recived a book on how to learn Python 2.7 and the first excercise wants me to write a scri...
Pythonerous General Coding Help 4 9,064 Oct-08-2016, 02:45 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020