Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Python-SWC Workshop Intern
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Rudolf, Michael
Python-SWC Workshop Intern
Commits
36855992
Commit
36855992
authored
1 year ago
by
Rudolf, Michael
Browse files
Options
Downloads
Patches
Plain Diff
Minor changes and corrections
parent
8fc23fda
No related branches found
No related tags found
No related merge requests found
Pipeline
#316273
passed
1 year ago
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lessons/14-custom-lesson.rst
+4
-4
4 additions, 4 deletions
lessons/14-custom-lesson.rst
with
4 additions
and
4 deletions
lessons/14-custom-lesson.rst
+
4
−
4
View file @
36855992
...
...
@@ -2,8 +2,8 @@
Lesson 12 - Reading and Writing Complex Files
=============================================
Teaching: 5 min
Exercises: 1
0
min
Teaching:
4
5 min
Exercises: 1
5
min
-------------------
...
...
@@ -451,8 +451,8 @@ In a similar manner you can store data using:
with open("output.dat", "wt", encoding="utf-8") as output_file:
output_file.write("Zeitpunkt, Messwert\n")
for
ii in range(len
(data["Zeitpunkt"]
)
):
output_file.write(f
'{data["Zeitpunkt"][ii]},{data["Messwert"][ii]
}\n
'
)
for
tt,mm in zip
(data["Zeitpunkt"]
, data["Messwert"]
):
output_file.write(f
"{tt},{mm
}\n
"
)
.. code-block:: text
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment