Tag:Blackbody

  • Write an office gadget for the girl you like in Python. She said it was great!

    Time:2022-5-2

    from tkinter import *from tkinter import messageboxfrom tkinter import ttkimport osimport webbrowserimport urllib. Request # sends a network request to obtain dataImport gzip # compression and decompression moduleImport JSON # parses the data obtainedimport tkinter as tkimport randomfrom PIL import Image, ImageTkimport globimport shutilTOP6 = Tk()TOP6.geometry(“630×775”)TOP6. Iconbitmap (‘ningning icon tool. ICO ‘) # specifies the […]

  • Built in type of kotlin learning notes (1)

    Time:2022-3-31

    1、 Basic type 1.1 comparison with Java < font face = bold > let’s take a look at the differences between the basic types of kotlin and Java, as shown in the following table: Kotlin Java byte Byte byte/Byte integer Int & Long int/Integer & long/Long float Float & Double float/Float & double/Double character Char […]

  • Built in type of kotlin learning notes (2)

    Time:2022-3-30

    1、 Foreword < font face = bold > inBuilt in type of kotlin learning notes (1)In, we have talked about the functions in kotlin built-in typesBasic type、arrayAnd interval, today we will talk about kotlin’sCollection frameworkandfunction。 2、 Kotlin’s collection framework < font face = bold > kotlin’s set has the following characteristics: < font face = […]

  • Classes and interfaces in kotlin

    Time:2022-3-29

    1、 Foreword < font face = bold > inBuilt in type of kotlin learning notes (1)andBuilt in type of kotlin learning notes (2)In, we have talked about the functions in kotlin built-in typesBasic type、array、section、Collection frameworkandfunction。 2、 Classes and interfaces in kotlin 2.1 definition of class Java: //Simple class public class SimpleClass { } //Classes with […]

  • Kotlin null type safety and intelligent type conversion

    Time:2022-3-28

    1、 Foreword < font face = bold > inClasses and interfaces in kotlinWe have talked about kotlin’sclass、InterfaceandExtension methodToday, let’s talk about kotlinEmpty type securityandSmart type conversion。 2、 Kotlin null type security 2.1. Empty type safety concept < font face = bold > there is no concept of empty type safety in the Java language, so […]

  • Kotlin expressions and operators

    Time:2022-3-19

    1、 Foreword < font face = bold > inClasses and interfaces in kotlinandKotlin null type safety and intelligent type conversionIn, we have put the in kotlinPreliminary typeThat’s it. Today, let’s talk about kotlinexpression。 2、 Branch expression 2.1. If else expression Kotlin: if (a == 3) { c = 4 } else { c = 5 […]

  • Kotlin higher order function and inline function

    Time:2022-3-12

    1、 Foreword < font face = bold > inBuilt in type of kotlin learning notes (2)In, we’ve put the kotlin functionBasic conceptsandBasic Usage That’s it. Let’s talk about it todayFunction advanced order。 2、 Higher order function 2.1 concept of higher order function < font face = bold > higher order function isParameter types contain function […]

  • Transformation and aggregation of kotlin sets

    Time:2022-3-11

    1、 Foreword < font face = bold > inKotlin higher order function and inline functionIn, we have put kotlin’sHigher order functionandInline functionThat’s it. Today we’re going to talk about kotlinSet transformation and aggregation。 2、 Set transformation and aggregation 2.1. Set transformation < font face = bold > the most common way to use a set […]

  • Kotlin generics (Part 1)

    Time:2022-3-3

    1、 Foreword < font face = bold > inTransformation and aggregation of kotlin setsIn, we have put kotlin’sSet transformation and aggregationAfter that, we all know that a lot of generic knowledge is used in the collection source code, so today we’re going to talk about kotlingeneric paradigm。 2、 Generics 2.1 basic concepts of generics < […]

  • Kotlin type advanced

    Time:2022-3-2

    1、 Foreword < font face = bold > inKotlin generics (Part 1)In, we have put kotlin’sGeneric basisAfter that, to learn about advanced generics, we need to understand several classes first. 2、 Data class 2.1 definition of data class < font face = bold > just add a data in front of an ordinary class, and […]

  • Interesting CSS property font family

    Time:2020-9-3

    font-familyIs a website user experience first entrance, it is very necessary to spend time to study. First, we need to understand serif fonts and sans serif fonts, then we need to understand the common Chinese and English fonts and their applicability. Serif font Serif(serif)Each stroke has its own style, the end of the stroke will […]

  • Rodert single row learning redis introduction [black iron]

    Time:2020-7-7

    Introduction to redis [toc] preface Statement: reference source Internet, any dispute can leave a message. Standing on the shoulders of our predecessors, we can see further. This tutorial is hand-held, committed to the most practical tutorial, no reward, just hope to forward more support.Welcome to my official account, I hope I can get to know […]