Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Parse text from a .txt file and save multiple output .txt
Post: RE: Parse text from a .txt file and save multiple ...

I would prefer to use the chapter titles in my table of contents, since they are shorter and have already been cleaned up in my earlier code. That's the issue I've been having- trying to figure out ho...
rattlerskin Homework 10 11,074 Mar-16-2017, 05:21 PM
    Thread: Parse text from a .txt file and save multiple output .txt
Post: RE: Parse text from a .txt file and save multiple ...

Yes, I read from the text file downloaded from the Gutenberg website. The problem with the string method is that it looks like I have to manually assign the numbers, whereas I need to find a way to re...
rattlerskin Homework 10 11,074 Mar-15-2017, 09:51 PM
    Thread: Parse text from a .txt file and save multiple output .txt
Post: Parse text from a .txt file and save multiple outp...

Here's some quick background: I need to finalize the code I have included below so it saves each chapter of the .txt ebook as a separate file, complete with the chapter name. I have already written th...
rattlerskin Homework 10 11,074 Mar-15-2017, 08:20 PM
    Thread: Make a range provide one output
Post: RE: Make a range provide one output

Excellent, that works exactly as I wanted it to. I see my error- I had the print within the loop, so it was spitting out every single iteration of the loop as opposed to the final result. Also makes s...
rattlerskin Homework 4 4,137 Jan-30-2017, 05:25 PM
    Thread: Make a range provide one output
Post: Make a range provide one output

I know this is a simple answer, but in the below code, how do I make it only produce the final answer and not a list of each step? If you see below, the program produces the correct answer to the prog...
rattlerskin Homework 4 4,137 Jan-30-2017, 04:47 PM
    Thread: Using a range and for loop - temp converter
Post: RE: Using a range and for loop - temp converter

Got it, thanks. Obvious mistakes, but the Zelle book does a poor job of explaining the loops. Now I have to figure out how to make the result say something like "0 degrees C equals 32 degrees F" and s...
rattlerskin Homework 5 15,739 Jan-20-2017, 06:52 PM
    Thread: Using a range and for loop - temp converter
Post: RE: Using a range and for loop - temp converter

Ok, so now I fixed it, but it's generating 10 results of 32.0 degrees F (which is 0C) def main():    print("This program computes and prints a table")    print("of Celsius temperatures and the Fahr...
rattlerskin Homework 5 15,739 Jan-20-2017, 06:24 PM
    Thread: Using a range and for loop - temp converter
Post: Using a range and for loop - temp converter

Hello,      This is my first post and my first exposure to Python as a result of a college course I'm taking. My assignment asks to modify a program so that is computes and prints a table of celsius ...
rattlerskin Homework 5 15,739 Jan-20-2017, 05:53 PM

User Panel Messages

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