One way to do it
for a in b:
print(a)
Another one
for a in b:
print(a)
#!/usr/bin/env python3 | |
from functools import lru_cache | |
@lru_cache(maxsize=None) | |
def compute_gray_code(bits:int) -> list: | |
if bits is 1: | |
return [0, 1] | |
else: | |
smaller = compute_gray_code(bits - 1) |
@ECHO OFF | |
REM ----[ This code block detects if the script is being running with admin PRIVILEGES If it isn't it pauses and then quits]------- | |
NET SESSION >nul 2>&1 | |
IF %ERRORLEVEL% EQU 0 ( | |
ECHO. | |
) ELSE ( | |
ECHO [91m | |
ECHO ######## ######## ######## ####### ######## | |
ECHO ## ## ## ## ## ## ## ## ## |
<td-data-table | |
#dataTable | |
[data]="filteredData" | |
[columns]="getAllColumns()" | |
[selectable]="selectable" | |
[clickable]="clickable" | |
[multiple]="multiple" | |
[(ngModel)]="selectedRows" | |
[sortable]="sortable" | |
[sortBy]="sortBy" |
@ECHO off | |
set /p ip="IP : (default=0.0.0.0) :" | |
set /p metaport="META PORT : (default=5006) :" | |
set /p innerport="INNER PORT : (default=5005) :" | |
IF /i "%ip%" == "" set ip="0.0.0.0" | |
IF /i "%metaport%" == "" set metaport="5006" | |
IF /i "%innerport%" == "" set innerport="5005" |
One way to do it
for a in b:
print(a)
Another one
for a in b:
print(a)
This document assumes the use of Linux as the chosen development platform. Items in bold are highly recommended.
It is recommended to use SocketCAN when working with CAN bus on Linux. It is supported by the Linux kernel mainline and follows the Linux interface model, allowing you to use other network tools such as Wireshark. This also allows the creation of virtual CAN interfaces where no physical hardware is required to simulate or replay CAN messages.