Top "Python-3.6" questions

Version of the Python programming language released in December 2016.

How to use type hints in python 3.6?

I noticed python 3.5 and python 3.6 added a lot of features about static type checking, so I tried with the following …

python python-3.x type-hinting python-3.6 mypy
How do you have a Discord bot read DMs sent to it? (discord.py)

I've come up with a way to DM people, but I want to know what they say back to the …

python-3.6 discord.py dm
How to postpone/defer the evaluation of f-strings?

I am using template strings to generate some files and I love the conciseness of the new f-strings for this …

python python-3.x string-interpolation python-3.6 f-string
How to install pymssql module in Python 3.6?

I have been through a couple of documentations involving FreeTDS, Wheel, git and github but nothing was working on my …

python-3.x python-3.6 pymssql
Postgres Psycopg2 Create Table

i´m new to Postgres and Python. I´m trying to create a simple user table but i don´t …

python database postgresql python-3.6 postgresql-10
problems with installation pycrypto in python 3.6

I've tried to install pysnmp (which uses pycrypto) on python 3.6.0 using pip, but I've got an error: Command ""c:\program …

pycrypto pysnmp python-3.6
Cassandra: "cqlsh" line 145 except ImportError, e: ^ SyntaxError: invalid syntax

Installed cassandra 3.11.1 version in Windows 10 with jdk 1.8.0_151 and python 3.6. All paths available in environment variables. When I run cqlsh in …

python-3.6 cassandra-3.0
Python 3 Boto 3, AWS S3: Get object URL

I need to retrieve an public object URL directly after uploading a file, this to be able to store it …

python amazon-web-services amazon-s3 python-3.6 boto3
Handling Exceptions in Python 3.6

I am trying to handle exceptions in Python 3.6. I want to handle every possible exception and print the exception. When …

python exception python-3.6 try-except
Python Asyncio - RuntimeError: Cannot close a running event loop

I'm trying to resolve this error: RuntimeError: Cannot close a running event loop in my asyncio process. I believe it's …

python python-3.6 python-asyncio aiohttp