Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Problem with readlines() assignment
Post: RE: Problem with readlines() assignment

Here is what this course web site says: [Image: https://www.pichost.net/i/2019/10/27/Scr...da6142.png] I have linux, so i need to check what settings I can save with this text editor... will get bac...
Sunioj General Coding Help 5 4,756 Oct-27-2019, 12:27 AM
    Thread: Problem with readlines() assignment
Post: RE: Problem with readlines() assignment

(Oct-27-2019, 12:00 AM)snippsat Wrote: strings.txt is saved with Byte Order Mark(BOM). This should fix it. with open('strings.txt', encoding='utf-8-sig') as f: data = f.readlines()If you have co...
Sunioj General Coding Help 5 4,756 Oct-27-2019, 12:07 AM
    Thread: Problem with readlines() assignment
Post: Problem with readlines() assignment

Hello there, I have an assignment which I need to make a loop that reads each line in a text file and then run a condition against the line of text. If it has special characters, it is rejected. If it...
Sunioj General Coding Help 5 4,756 Oct-26-2019, 11:21 PM
    Thread: Question about running comparisons through loop from input value
Post: Question about running comparisons through loop fr...

Hello, I am creating a code which if the input is numerical, certain text will be printed towards the user. If 'quit' is entered, the program stops. If a blank text, or any other string value at all i...
Sunioj Homework 2 2,397 Oct-13-2019, 12:04 AM

User Panel Messages

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