Linux serverNETWORK ADMINISTRATIONS

Python Kurs 8 – Was sind SubStrings?

#MiBaTech #MiBaHealthAndNutrition #MiBaFunAndGames
#MiBaMathematik #MiBaMathematics

Willkommen zum Teil 7 meines Python Kurses.
Heute befassen wir uns mit der math Bibliothek.
=====================================================================
# erstellt einen substring
# indexing[] / slice()
# [start:stop:step]

# name = “Resty MiBaTech”
# [0:5] der erste index ist inklusive : letzter index ist exklusive
# first_name = name[0:4]
# last_name = name[6:] # [6: ende]
# [0:ende:2] wenn ihr keinen start oder end index setzt nimmt python den ganzen string
# funky_name = name[::3]
# reverse_name = name[::-1] # [0:ende:-1]

# print(first_name)
# print(last_name)
# print(funky_name)
# print(reverse_name)

website1 = “http://google.com”
website2 = “http://wikipedia.com”

slice_test = slice(7, -4)

print(website1[slice_test])
print(website2[slice_test])
=====================================================================

Playlist:
=========
Linux Terminal Kurs

Linux Shell Scripting

Linux Terminal Programme

System Management

Rechteverwaltung

shorts

► Literatur etc
ProbTis Linux Commands Line Mauspad, Shortcuts Spickzettel zu Kali/Red Hat/Ubuntu/OpenSUSE/Arch/Debian/Unix Programmierer, erweiterte große Schreibtischmatte, 90 x 40 cm, Schulanfang
https://amzn.to/48O8nFT (Amazon / Affiliate Link)

ATOPNUC Ubuntu Linux Mini PC, AMD A9 9400 8GB RAM 128GB SSD Linux Mini PC Support Extended HDD/SSD,WiFi5/BT5,Dual HDMI for Home Office Use Linux Ubuntu Mini Computer
https://amzn.to/3vz0Ax1 (Amazon / Affiliate Link)

64 GB – 18-in-1, bootfähiges USB-Laufwerk 3.0 für Linux & Windows 10, Mint 21.1 | Kali 2023.1 | Ubuntu 23.04 | OpenSUSE 2023.05 | Tails 5.13 | Debian 11.7 | Centos 9 | WINPE, unterstützt UEFI u. Vermächtnis 1
https://amzn.to/3NSFCQc (Amazon / Affiliate Link)

Lenovo Business 330S Laptop – Linux Mint Cinnamon – Intel i7-8550U, 20 GB RAM, 2 TB PCIe NVMe SSD, 14 Zoll FHD IPS (1920 x 1080) Display, schnelles Aufladen
https://amzn.to/3S8ON1r (Amazon / Affiliate Link)

15-in-1 64 GB 3.0 bootfähiger USB-Stick mit Windows 10/11 | Mint | Kali | Manjaro | Fedora | Arch | OpenSUSE | Pop | Rocky | Major Linux, alle unterstützten UEFI und Legacy…
https://amzn.to/3NWbovz (Amazon / Affiliate Link)

Wenn euch das Video gefällt würde ich mich über einen Like und ein Abo freuen. 🙂 🙂 🙂

MiBaTech,
stat, touch,touch -a,touch -t, Befehle, echo, cat, mkdir, rm, rmdir,
cp,mv,man,more,lees,sudo,chmod,top,htop,btop,which,whatis,version,
Linux-Tutorials,dl,du,free,watch,find,fuzzy finder,fzf,fuzzy finder,
Ubuntu-Anleitung,cal,date, grep, nala,apt,history,shred,useradd,userdel
Linux-Befehle,bash, bash scripting,read,arry,if else,ans,or,case,for loop,
Linux-Terminal,while loop,debug,exit code,read only,python
Linux-Grundlagen,
Linux-Distributionen
Linux-Installation,
Shell-Programmierung,
Open-Source-Software,
Linux-Anfänger,
Terminal-Befehle,
Kommandozeilen-Tutorial,
Shell-Skripting,
Terminal-Tricks,
Befehlszeile für Anfänger,
Terminal-Fehlerbehebung,
Terminal-Hacks,
Linux-Kommandozeile,
Konsole verwenden,
Terminal-Shortcuts,
Audio- und Video-Bearbeitung,
Video schneiden,
Audio bearbeiten,
Videobearbeitungssoftware,
Tonmischung,
Videoeffekte,
Filmbearbeitung,
Videoproduktionstipps,
Audioaufnahme-Tutorial,
Video-Rendering,
Color Grading

source

centos 7