py4e icon indicating copy to clipboard operation
py4e copied to clipboard

Web site for www.py4e.com and source to the Python 3.0 textbook

Results 83 py4e issues
Sort by recently updated
recently updated
newest added

For those of us without PowerPoint it would be nice to get PDFs for https://www.py4e.com/lectures3/

Dear Prof Sev, The code for twspider.py shows that the database created is 'spider.sqlite'. In the chapter text immediately below the code, the file is described as 'spider.sqlite3'. I expect...

Dear Prof Sev, The code in party5.py on the Chapter 14 page initiates 'Sally' and 'Jim' but then shows the code as printing out Sally, then Sally-Party, then Jim and...

Exercises Exercise 2: Write a program that categorizes each mail message by which day of the week the **commit** was done. To do this look for lines that start with...

In [PY4E - Chapter 13](https://www.py4e.com/html3/13-web), there are two "phone" node in the the picuture of "A Tree Representation of XML", the last "phone" node should be "email" node.

"The first five locations are already in the database and so they are skipped." => "The first six locations are already in the database and so they are skipped."

![Relationships Between Tables](height=3.5in@figs2/twitter)" ![Connecting Tables Using JOIN](height=3.5in@figs2/join)

Please correct me if I'm missing something, but I think some code examples in chapter 14 is not accurate. e.g. in party5.py the "x = 0" and "name = """...

I assume the data should mimic the one in xml2.py, so the suggestion is for the 2nd item, make the name tag "Brent"

Under: Multiple assignment with dictionaries Can drop the "list" in: for key, val in list(d.items()): print(val, key) suggested form: for key, val in d.items(): print(val, key)