current location:Home > Technical Articles > Development Tools

  • TinyDB is a lightweight database written purely in Python.
    TinyDB is a lightweight database written purely in Python.
    TinyDB is a lightweight database written in pure Python, with only 1,800 lines of code in total and no external dependencies. The goal of TinyDB is to make it easier for small Python applications to use databases. For some simple programs, it is better to use TinyDB than to use SQL databases because it has the following characteristics: Lightweight: The current source code has 1800 lines of code (about 40% of documentation) and 1,600 lines of test code. Can be migrated at will: The database file is generated in the current folder, does not require any service, and can be migrated at will. Simplicity: TinyDB makes it easy for users to use by providing a simple and clean API. Written in pure Python: Ti
    Python Tutorial . pycharm 1410 2023-05-15 13:19:06
  • golang ide theme settings
    golang ide theme settings
    With the continuous development and popularity of Go language, more and more developers are beginning to use Go language for programming. In order to write code more efficiently, IDE (integrated development environment) is particularly important. In the process of using IDE to write Go language, theme settings can greatly improve the developer's visual experience and operational efficiency. 1. Why set a theme? In the process of writing code, we usually spend a long time, spending most of the time in front of the computer screen and keyboard. A good theme can allow us to maintain a comfortable mind while seeing the computer screen and keyboard.
    Golang . pycharm 1424 2023-05-15 09:28:06
  • How to use the Python file system module pathlib library
    How to use the Python file system module pathlib library
    1. The official definition of pathlib library is that pathlib is a built-in library of Python. The definition given by the Python documentation is Object-oriented file system paths. pathlib provides classes representing file system paths, with semantics applicable to different operating systems. The path classes are divided between pure paths, which provide pure computational operations without I/O, and concrete paths, which inherit pure paths but also provide I/O operations. 2. Pathlib cheats 1. Basic usage Path.iterdir()# Traverse the subdirectories or files of the directory Path.is_dir()# Determine whether it is a directory Path.gl
    Python Tutorial . pycharm 2117 2023-05-13 23:49:04
  • What is the data cleaning method in Python?
    What is the data cleaning method in Python?
    The library needed for data cleaning here is the pandas library. The download method is still running in the terminal: pipinstallpandas. First we need to read the data importpandasaspddata=pd.read_csv(r'E:\PYthon\User Value Analysis RFM Model\data. csv')pd.set_option('display.max_columns',888)# is greater than the total number of columns pd.set_option('display.width&#
    Python Tutorial . pycharm 2118 2023-05-13 16:19:06
  • How to automatically enter ERP system data in Python
    How to automatically enter ERP system data in Python
    Overall project situation Software: Pycharm Environment: Python3.7.9 (taking into account that customers may have different operating systems, for compatibility reasons) Technical libraries: requests, pandas, Pyqt5, etc. (see dependency files for details) Requirements analysis Through analysis of customer requirements documents To communicate with each other, there are roughly the following requirements: Submitting data to three interfaces in batches based on "order number ownership" requires a GUI operation interface to support the login of different salesmen. In general, it is a POST data submission and GUI development. Project implementation 1. Post submission mainly uses crawler technology. The steps that remain unchanged for thousands of years are to analyze the web page first. 1.1 Login found through packet capture that the password is in clear text, which reduces the difficulty by one
    Python Tutorial . pycharm 2281 2023-05-10 12:52:06
  • How to randomly generate arithmetic problems using Python
    How to randomly generate arithmetic problems using Python
    1. The environment is prepared to randomly generate calculation questions, then we need to import the random module. Environment installation: python3.8: interpreter, pycharm: code editor. The content this time is very simple and there is no need to install any modules. You can use it directly after installing Python~ 2. The main program importrandomdefadd(): a=random.randint(0,10)b=random.randint(0,10) print(f"{a}+{b}=?")c=input(">")ifa+b!=int(c):print(&q
    Python Tutorial . pycharm 1671 2023-05-09 23:55:13
  • What are the fundamental concepts of Python functions?
    What are the fundamental concepts of Python functions?
    01. Quick experience of functions 1.1 Quick experience The so-called function is to organize code blocks with independent functions into a small module. The use of calling functions when needed involves two steps: defining functions - encapsulating independent functions and calling functions - —Enjoy the effect of the encapsulated result function. When developing a program, using functions can improve writing efficiency and code reuse. Exercise steps New 04_Function project Copy the previously completed multiplication table file. Modify the file and add function definition multiple_table(): New Another file, use import to import and call function 02. The function basically uses the definition of function 2.1. The format of defining the function is as follows: def function name (): def is English define
    Python Tutorial . pycharm 1261 2023-05-09 23:43:06
  • How to create a simple word game using Python and Pygame
    How to create a simple word game using Python and Pygame
    1. Environment preparation 1) Operating environment environment installation: python3.8: interpreter, pycharm: code editor, pygame, numpy, and some of the built-in modules can be used directly by installing Python. 2) Module installation The installation method of third-party libraries is as follows: General installation: pipinstall+module name Mirror source installation: pipinstall-ipypi.douban.com/simple/+module name (there are many domestic mirror sources, here is Douban’s usage ) 3) Pictures and text materials, etc. 2. Code display main program - importpygameimportsysimp
    Python Tutorial . pycharm 1634 2023-05-09 19:43:06
  • How to use Python for Excel automation?
    How to use Python for Excel automation?
    1. Commonly used libraries for operating Excel with Python. Before you start operating Excel, you need to install Python and some related libraries. You can use pip to install the following libraries, or use the professional python client: pycharm to quickly install python and related libraries. pandas: used to process Excel files and data openpyxl: used to read and write Excel files xlrd: used to read Excel files xlwt: used to write Excel files 1. Use a third-party library openpyxlopenpyxl is a library used to read and write Excel2010xlsx Python library for /xlsm/xltx/xltm files. it
    Python Tutorial . pycharm 2311 2023-05-07 23:04:27
  • How to solve the error when opening terminal using python under linux
    How to solve the error when opening terminal using python under linux
    When using Python to open the terminal under Linux, an error is reported. Scenario 1: Execute automated tasks on Jenkins. Use the Jenkins user (with sudo permissions) when executing the test task. The test script is executed in Linux (background). When the following code is executed, an error is reported: os.system (f"/usr/bin/konsole-e{cmd_orin2_10s}") Scenario 2: There is no problem when the test script is executed locally. When executing locally, using the root user, the command window can be opened normally. Error log: 17:44:03qt.qpa. xcb:couldnotconnecttodisplay
    Python Tutorial . pycharm 1466 2023-05-02 17:43:32
  • How to use Python to discover patterns in data
    How to use Python to discover patterns in data
    1. Before you start, you need to make sure that Python and pip have been successfully installed on your computer. (Optional 1) If you use Python for data analysis, you can install Anaconda directly, which has Python and pip built-in. (Optional 2) In addition, it is recommended that you use the VSCode editor. It has many advantages. Please choose any of the following One way to enter the command to install dependencies: 1. Open Cmd (Start-Run-CMD) in Windows environment. 2. Open Terminal in MacOS environment (command+space and enter Terminal). 3. If you are using VSCode editor or Pycharm, you can directly use Termin at the bottom of the interface
    Python Tutorial . pycharm 1955 2023-04-28 13:43:06
  • 35 Generative AI Tools Businesses Should Use in 2023
    35 Generative AI Tools Businesses Should Use in 2023
    2022 is an important turning point in the development of generative artificial intelligence. In this year, more powerful, more accessible, and more applicable large-scale language models such as ChatGPT were launched. While OpenAI’s ChatGPT is just the beginning, cutting-edge generative AI tools have made it the fastest-growing part of the AI ​​field. Businesses and individuals alike are leveraging generative AI to increase productivity and deliver better customer journeys. Generative AI, which primarily falls under the umbrella of machine learning, can be applied across industries to create exciting new content in different formats, including text, audio, code, images, and videos. In addition to generating content, generative AI can be used to create new products
    AI . pycharm 2381 2023-04-27 23:34:11
  • How to use Python's cv2 library and download the OpenCV library?
    How to use Python's cv2 library and download the OpenCV library?
    The cv2 library is in the opencv library, so you need to download opencv-python1. Open the windows command line: win+Rcmd2. Update the pip version (not necessary): python-mpipinstall--upgradepip3. Use pip to download opencv: It is best before downloading the opencv library. To download the numpy library. The mirror source of the University of Science and Technology of China is used here: https://pypi.mirrors.ustc.edu.cn/simple/pipinstallnumpy-ihttps://pypi.mirrors.ustc.edu.cn/simple/p
    Python Tutorial . pycharm 2117 2023-04-24 21:55:14
  • How to set up python php environment
    How to set up python php environment
    Python and PHP are both popular programming languages ​​that are very common in the world of web development. This article will introduce how to set up a development environment for Python and PHP in Windows systems. 1. Python environment construction 1. Download the Python installation package from the official website: https://www.python.org/downloads/ Download the latest version of the Python installation package from the official website, and download the corresponding version according to your own system. 2. Install Python and run the downloaded installation package, select "Cus
    PHP Problem . pycharm 1319 2023-04-24 09:23:03
  • The founder said that the user base was growing rapidly but the revenue was zero, and the development of 'AI programming artifact' Kite was stopped.
    The founder said that the user base was growing rapidly but the revenue was zero, and the development of 'AI programming artifact' Kite was stopped.
    Can you believe it? Kite, the "AI programming artifact" that once had 500,000 monthly active users, is now saying goodbye to us! Kite is an AI-driven code completion plug-in that helps developers write code faster and stay fluent, and supports 13 languages ​​and 16 editors. In the heyday of Kite, many developers were full of praise for this "programming black technology", including Guido van Rossum, the father of Python: However, after several years of updates and the "big waves" in the technology industry, 11 On March 16, Kite founder Adam Smith stated in the company’s blog: “The development of Kite has been stopped and there will no longer be any further development of Kite software.
    AI . pycharm 1547 2023-04-22 22:37:11

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28