Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
third_party
skia
experimental
bazel_test
print_os.py
Go to the documentation of this file.
1
#!/usr/bin/python3
2
3
'''
4
Copyright 2022 Google LLC
5
6
Use of this source code is governed by a BSD-style license that can be
7
found in the LICENSE file.
8
'''
9
10
import
os
11
import
platform
12
import
sys
13
14
def
main
():
15
print
(
"hello"
, sys.argv)
16
print
(os.name, platform.system(), platform.release())
17
if
len(sys.argv) > 1:
18
with
open(sys.argv[1],
"w"
)
as
f:
19
f.write(
"created"
)
20
21
22
if
__name__ ==
"__main__"
:
23
main
()
print
void print(void *str)
Definition
bridge.cpp:126
main
Definition
main.py:1
print_os.main
main()
Definition
print_os.py:14
Generated on Fri Apr 26 2024 06:15:58 for Flutter Engine by
1.9.8