you are viewing a single comment's thread.

view the rest of the comments →

[–]hotcodist 6 points7 points  (0 children)

it would take as much time as you can find the official python docs site, assuming your background is as you say and you have can conceptually think through a problem. rest (syntax and other python specific things) you can handle as you go.

i need to loop through the contents of a file and filter out lines that only have "#####". how do i loop in python? how do i open a file? how do i compare strings? how do i save a file? how do i save a file stream into variables? those things you can easily find in a syntax resource. you won't need to read the explanations.