Python Forum
Trouble with "Weather Program" Assignment
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble with "Weather Program" Assignment
#6
In your code it says 'readline', but in your error it says 'readlines'. These are two different things. 'readline' will return a string, which can be split. 'readlines' will return a list of strings, and cause the error you got.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
RE: Trouble with "Weather Program" Assignment - by ichabod801 - Aug-10-2018, 02:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trouble with a turtle movement assignment. JosephSondgeroth 1 1,362 Jan-27-2022, 11:56 PM
Last Post: JosephSondgeroth
  Displaying selected information from XML file in the Spyder console(weather forecast) JohnN_pl 6 3,370 Jun-20-2020, 01:36 PM
Last Post: JohnN_pl
  Applied Data Science with Python - homework 2.2 (Weather plotting) eyavuz21 4 3,327 Jun-03-2020, 07:09 PM
Last Post: eyavuz21
  Trouble with Loops in lab assignment jonstryder 6 3,313 Jul-28-2019, 06:40 PM
Last Post: ThomasL
  How to hold a program in the turtle (Tic-Tac-Toe game assignment) kmchap 1 4,519 May-17-2018, 05:39 PM
Last Post: j.crater
  I'm having trouble with my assignment for creating a math quiz thewrongnarwhal 7 7,943 Nov-14-2016, 08:06 AM
Last Post: Ofnuts

Forum Jump:

User Panel Messages

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