[issue29071] IDLE doesn't highlight f-strings properly

2017-01-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The doc appears to be carefully accurate, but the second sentence especially is a bit awkward. I will open a new issue. -- ___ Python tracker

Choosing a Python IDE. what is your Pythonish recommendation? I do not know what to choose.

2017-01-02 Thread Antonio Caminero Garcia
Hello, I am having a hard time deciding what IDE or IDE-like code editor should I use. This can be overwhelming. So far, I have used Vim, Sublime, Atom, Eclipse with PyDev, Pycharm, IntelliJ with Python plugin. The thing with the from-the-scratch full featured IDEs (Eclipse, IntelliJ,

RE: Cleaning up conditionals

2017-01-02 Thread Deborah Swanson
Jussi Piitulainen wrote, on January 02, 2017 1:44 AM > > Deborah Swanson writes: > > Jussi Piitulainen wrote: > > [snip] > > >> With your particular conditions of non-emptiness, which is > taken to > >> be truth, you can achieve variations of this result with > any of the > >> following

Re: Cleaning up conditionals

2017-01-02 Thread Jussi Piitulainen
Deborah Swanson writes: > Jussi Piitulainen wrote: [snip] >> With your particular conditions of non-emptiness, which is taken to >> be truth, you can achieve variations of this result with any of the >> following statements: >> >> w = ( l1[v] if len(l1[v]) > 0 else >> l2[v] if len(l2[v])

RE: Unable to Debug

2017-01-02 Thread Deborah Swanson
Aritra Bhattacharjee wrote, on January 02, 2017 1:05 AM: > I am new to python programming. I wrote a code to search for > the product names on a page of snapdeal.com . > > Code: > import urllib.request > from bs4 import BeautifulSoup as BS > > url = >

Re: Unable to Debug

2017-01-02 Thread David Froger
Hello Aritra, Your standard output and standard error are mixed (I don't know why), so error message is not immediate to read. It is: > Traceback (most recent call last): > File "C:/Users/Aritra Bhattacharjee/PycharmProjects/PythonWebModules/Web > Scraper.py", line 17, in >

Re: Unable to Debug

2017-01-02 Thread rus . cahimb
On Monday, January 2, 2017 at 2:35:22 PM UTC+5:30, Aritra Bhattacharjee wrote: > I am new to python programming. I wrote a code to search for the product > names on a page of snapdeal.com . [RM]: Welcome and have fun. > for i in range(1,21): > print(product_name[i]) > > > Output: >

Re: Unable to Debug

2017-01-02 Thread Vincent Vande Vyvre
Le 02/01/17 à 10:04, Aritra Bhattacharjee a écrit : I am new to python programming. I wrote a code to search for the product names on a page of snapdeal.com . Code: import urllib.request from bs4 import BeautifulSoup as BS url =

Re: Unable to Debug

2017-01-02 Thread Peter Otten
Aritra Bhattacharjee wrote: > I am new to python programming. I wrote a code to search for the product > names on a page of snapdeal.com . > > Code: > import urllib.request > from bs4 import BeautifulSoup as BS > > url = > 'https://www.snapdeal.com/products/electronics-headphones?sort=plrty' >

[issue29006] 2.7.13 _sqlite more prone to "database table is locked"

2017-01-02 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: As general comment, I think you'd have to check which operation modes SQLite supports for the case of a transaction commit/rollback in the light of open cursors. ODBC defines the following cases and each data source can specify a different behavior

Unable to Debug

2017-01-02 Thread Aritra Bhattacharjee
I am new to python programming. I wrote a code to search for the product names on a page of snapdeal.com . Code: import urllib.request from bs4 import BeautifulSoup as BS url = 'https://www.snapdeal.com/products/electronics-headphones?sort=plrty' response = urllib.request.urlopen(url).read()

[issue29128] No way to instsall win32com on python 3.6

2017-01-02 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: https://github.com/pywin32/pypiwin32/pull/2 Anyway this is not a Python issue but pywin32's. -- nosy: +Chi Hsuan Yen ___ Python tracker

[issue29128] No way to instsall win32com on python 3.6

2017-01-02 Thread Evan
Evan added the comment: This package doesn't yet have a wheel for Python 3.6, so it falls back on the source distribution, and the setup.py file doesn't run under Python 3. You can either wait for the maintainer to upload the new wheel to PyPI, or take one of the recently built installers

[issue29013] zipfile: inconsistent doc for ZIP64 file size

2017-01-02 Thread Monte Davidoff
Monte Davidoff added the comment: Serhiy, thank you for the correction and the additional information. I tried reading a zip file larger than 4 GiB with allowZip64=False, and it worked, so it looks like allowZip64 only applies to writing. I suggest we fix the inconsistency in the

[issue24725] test_socket testFDPassEmpty fails on OS X 10.11+ with "Cannot allocate memory"

2017-01-02 Thread Ned Deily
Ned Deily added the comment: This issue slipped off the radar (so to speak) after being closed. For one, the tests also fail on 3.5.x (and probably earlier systems) and fail on macOS 10.12, not just 10.11. And, two, I'm not sure if anyone opened an issue with Apple about it. I'm re-opening

<    1   2