Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: proper use of 'end' in a 'with' statement
Post: proper use of 'end' in a 'with' statement

Python newbie here. Code snippet: >>> with open('todos.txt') as tasks: for chore in tasks: print(chore, end=' ')SyntaxError: invalid syntax ??? I copied this straight out a text book....
ccrider27 General Coding Help 1 2,070 Mar-18-2020, 09:44 PM
    Thread: Unix problem when installing pytest
Post: RE: Unix problem when adding to site-packages

Sorry, the title is misleading. It should be "Unix problem when installing pytest" I'm a newbie and don't know how to edit the title directly. I tried -H several ways: 1. I tried replacing the -m i...
ccrider27 Homework 3 2,934 Nov-13-2018, 03:34 PM
    Thread: Unix problem when installing pytest
Post: Unix problem when installing pytest

I am self-teaching, using "Head First Python", 2nd Edition, covering Python 3. I'm currently using Python 3.5. I'm not sure if this is a Python question, a Unix question, or a Mac OS question. I am t...
ccrider27 Homework 3 2,934 Nov-13-2018, 02:55 PM

User Panel Messages

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