Top "Python-3.6" questions

Version of the Python programming language released in December 2016.

How to setup Code Runner in Visual Studio Code for Python

I have installed Visual Studio Code 1.23.1 and added extensions - Python, Code Runner. With Code Runner, now I can see …

visual-studio-code python-3.6 vscode-code-runner
Python3.6 error: ModuleNotFoundError: No module named 'src'

I know similar questions have been asked before... But I had a quick doubt... I have been following this link: …

python-3.6 python-unittest
Rounding floats with f-string

Using %-formatting, I can specify the number of decimal cases in a string: x = 3.14159265 print('pi = %0.2f' %x) This would …

python python-3.6
cannot write mode RGBA as JPEG

I am learning to use 'pillow 5.0' following book 'Automate the boring stuff with python' The info about the image …

python-3.6 pillow
How to compare a string with a python enum?

I just discovered the existence of an Enum base class in python and I'm trying to imagine how it could …

python enums python-3.6
Multiline f-string in Python

I'm trying to write PEP-8 compliant code for a domestic project (I must admit that those are my first steps …

python string python-3.6 f-string
How to set a window icon with PyQt5?

from PyQt5 import QtWidgets, QtGui from PyQt5.QtWidgets import * from PyQt5.QtCore import * class Application(QMainWindow): def __init__(self): super(…

python icons pyqt5 qmainwindow python-3.6
how to get webbrowser module for python 3.6 using pip ?

C:\Users\vipul>pip install webbrowser Collecting webbrowser Could not find a version that satisfies the requirement webbrowser (from …

python-3.x python-3.6 python-webbrowser
Python Pandas: TypeError: unsupported operand type(s) for +: 'datetime.time' and 'Timedelta'

I am attempting to add two series in a dataframe in pandas with the first series being a 24-hr time …

python pandas python-3.6 timedelta python-datetime
ModuleNotFoundError: No module named 'pandas'

I'm following a practical machine learning tutorial and I am already stuck on the second video. https://www.youtube.com/…

python pandas python-3.6 quandl