Python Connecting to SQL Server Database - Pythmssql Usage Base
install
pip install pymssql
Connect to the database
The way pymssql connects databases and uses sqlite is basically the same:
Creating Connection Objects with connect
connect.cursor creates cursor objects, and the execution of SQL statements is basically done on the cursor.
The cursor.executeXXX method executes the SQL statement, ...
Posted by NZ_Kiwi on Tue, 25 Dec 2018 12:30:06 -0800
Ubuntu 16.04 installs TensorFlow (CPU only, Python 3.5) from source code
What a big pit! Run quickly! Let's jump over!
TensorFlow Source Download https://github.com/tensorflow/tensorflow
By the way, poke your hand into the link of the installation guide: https://www.tensorflow.org/install/
Select the corresponding system, using Ubuntu 16.04: https://www.tensorflow.org/install/install_linux
In vi ...
Posted by sy-co on Sun, 16 Dec 2018 19:18:03 -0800
The Python Tutorial#12. Virtual Environments and Packages
The Python Tutorial#Virtual Environments and Packages
12.1 Introduction
Python applications often use packages and modules that do not belong to standard libraries. Sometimes an application needs a specific version of the library, because the application may need a library with a specific bug to be fixed, or an application depends on an obsolet ...
Posted by sjaccaud on Fri, 14 Dec 2018 03:48:07 -0800
Use Qt Designer to create front-end interface, use VS Code to convert. ui created by Qt Designer to. py, and finally use PyQt5 to realize the jump of button-clicking interface.
Simply mention the installation of PyQt5, Qt Designer
python version: 3.6.2
Install using pip:
pip3 install PyQt5
After that, by installing PyQt5-tools, Qt Designer will be installed automatically.
pip install PyQt5-tools
Compared with the installation of this learning, so
Recommended courses: http://code.py40.com/fa ...
Posted by manimoor on Wed, 12 Dec 2018 11:51:08 -0800