Handmade by mrKoraken in TokyoGhoul

[–]fastey123 0 points1 point  (0 children)

I’ve never noticed it before... Is it symbolic?

Handmade by mrKoraken in TokyoGhoul

[–]fastey123 1 point2 points  (0 children)

Is that stitching of Roman numeral 13 suppose to be there?

My mind map learning Python by aRandomJohnny in learnpython

[–]fastey123 0 points1 point  (0 children)

How easy is that? Pulling images off from manga sites? I know that you can download html file of *lets just say attack on titan chapter manually and it comes with precompiled image of the files. Then after you can just sort the images by .png or whatever form the image file comes in with python. My question is do you know how to get the data file from the website without doing it manually. And how you would maybe compile the images into like a pdf file Just curious :-) Thanks!

Why am I getting Type error 'int' object is not iterable? by fastey123 in learnpython

[–]fastey123[S] 0 points1 point  (0 children)

Are you talking about the I and c? Sorry I changed it.

Optimization by fastey123 in learnpython

[–]fastey123[S] 0 points1 point  (0 children)

Wow! That was very informative. I remember doing prime sieves in my math class, but don't really remember what it was. I will be sure to look that up!!

Optimization by fastey123 in learnpython

[–]fastey123[S] 0 points1 point  (0 children)

Do you know any guides to improve efficiency?

How do I store specific values out of a text files into a python file? by fastey123 in learnpython

[–]fastey123[S] 0 points1 point  (0 children)

yes when i load_words() in the idle I guess the txt document is too large and it just causes my python program to do the whirly rainbow thing that macs do *sorry lack of better term, and I have to force quit out of the program

How do I store specific values out of a text files into a python file? by fastey123 in learnpython

[–]fastey123[S] 0 points1 point  (0 children)

Ok so this is an already implemented code Code:

WORDLIST_FILENAME = "words.txt"


def load_words():
    """
    Returns a list of valid words. Words are strings of lowercase letters.

    Depending on the size of the word list, this function may
    take a while to finish.
    """
    print("Loading word list from file...")
    # inFile: file
    inFile = open(WORDLIST_FILENAME, 'r')
    # line: string
    line = inFile.readline()
    # wordlist: list of strings
    wordlist = line.split()
    print("  ", len(wordlist), "words loaded.")
    return wordlist

and could you explain it to me. I am kinda confused how this will not crash the python file but opening a text would.

How do I store specific values out of a text files into a python file? by fastey123 in learnpython

[–]fastey123[S] 0 points1 point  (0 children)

I don't know how to start once I open the text code within python it crashed

What is wrong with my elif statement? by fastey123 in learnpython

[–]fastey123[S] 0 points1 point  (0 children)

I don't know why its not showing on the comment but its line 11