Python split string, filter function usage, pythonsplit
For an existing string, you need to extract the first segment separated by spaces. The operation is as follows:
>>> Product_model = 'ws-C2960G-24TC-L-Fixed Module 0 ′>>> Product_model.split ('') [0]'Ws-C2960G-24TC-L'
Split () without parameters, all spaces (space characters, tabs, line breaks) are used as separators. If these spaces exist, you can w
An existing string, you need to remove the first paragraph separated by a space, as follows
>>> Product_model = ' ws-c2960g-24tc-l–fixed Module 0′>>> product_model.split (") [0]' Ws-c2960g-24tc-l '
Split () with no parameters takes all spaces (spaces, tabs, newline characters) as delimiters, and if these are "spaces," you can write
>>> Product_model = ' ws-c2960g
begins to enter the focal plane signal processing era.
Direct Injection of siccd-MUX can be used in high-Background scenarios that require strong Background Suppression capabilities, such as tactical guidance and tracking systems. Therefore, the direct injection siccd-MUX design is more complex than the AC lily-type siccd-MUX design in the optical system. Its input structure should have the functions such as injection and charge halo, division, skimming and elimination background. Figure 2 show
Cisco switch Product Name Description Catalyst nn xx [-C] [-M] [-A/-EN] NN is the serial number of the switch XX for A fixed configuration switch is the number of ports, for A modular switch, the number of slots C indicates that the fiber-optic interface M indicates that the modular www.2cto.com A and-EN respectively refer to the switch software as the standard board or Enterprise Edition. The WS-C2960-48PST-L structure is as follows: WS-C 2960-48 PST-LWS-C description this product is vswitch 29
User Access Verification
Password:
Idc-3750g-12s-01>ping 192.168.50.47
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.50.47, timeout is 2 seconds:
!!!!!
Success rate is percent (5/5), round-trip Min/avg/max = 1/1/1 ms
Hc-3750g-12s-01>sh ARP | In 192.168.50.47
Internet 192.168.50.47 2 0030.4825.4441 ARPA Vlan50
Idc-3750g-12s-01>sh mac address-table Dynamic address 0030.4825.4441
Mac Address Table
-------------------------------------------
Vlan Mac Address Ty
Catalyst NN XX [-c] [-m] [-a/-en]
NN is the serial number of the switchXX is the number of ports for a fixed-configured switch, which is the number of slots for a modular switchC logo indicates a fiber-optic interface withM-representation of modularityA and-en respectively refer to the switch software as either a standard board or an Enterprise edition.
The WS-C2960-48PST-L structure is as follows:
Ws-c 2960-48 Pst-l
Ws-c that this type of product
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.