Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs1-24fa
project03
Commits
abff1666
Commit
abff1666
authored
5 months ago
by
Antonio Caceres
Browse files
Options
Download
Email Patches
Plain Diff
Add mytyping.py to support and update transfer.py.
parent
c4a9eade
master
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
support/__init__.py
+0
-0
support/__init__.py
support/mytyping.py
+4
-0
support/mytyping.py
transfer.py
+2
-0
transfer.py
with
6 additions
and
0 deletions
+6
-0
support/__init__.py
0 → 100644
View file @
abff1666
This diff is collapsed.
Click to expand it.
support/mytyping.py
0 → 100644
View file @
abff1666
try
:
from
typing
import
NoReturn
except
(
ImportError
,
NameError
):
NoReturn
=
None
This diff is collapsed.
Click to expand it.
transfer.py
View file @
abff1666
...
...
@@ -36,6 +36,8 @@ else:
shutil
.
rmtree
(
os
.
path
.
join
(
disk
,
'src'
),
True
)
shutil
.
rmtree
(
os
.
path
.
join
(
disk
,
'boot_out.txt'
),
True
)
shutil
.
rmtree
(
os
.
path
.
join
(
'src'
,
'__pycache__'
),
True
)
shutil
.
rmtree
(
os
.
path
.
join
(
'support'
,
'__pycache__'
),
True
)
shutil
.
copytree
(
'src'
,
os
.
path
.
join
(
disk
,
'src'
),
dirs_exist_ok
=
True
)
shutil
.
copytree
(
'support'
,
os
.
path
.
join
(
disk
,
'support'
),
dirs_exist_ok
=
True
)
shutil
.
copy
(
'code.py'
,
os
.
path
.
join
(
disk
,
'code.py'
))
print
(
"Done! Switch back to the Serial Monitor!"
)
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help