Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WSRT data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Felix Semler
WSRT data
Commits
50edf5a4
Commit
50edf5a4
authored
3 years ago
by
Felix Semler
Browse files
Options
Downloads
Patches
Plain Diff
Cleaned up
parent
ee65fa64
No related branches found
No related tags found
1 merge request
!2
Merge Master
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
test
+0
-0
0 additions, 0 deletions
test
test.ipynb
+0
-67
0 additions, 67 deletions
test.ipynb
with
0 additions
and
67 deletions
test
deleted
100644 → 0
+
0
−
0
View file @
ee65fa64
This diff is collapsed.
Click to expand it.
test.ipynb
deleted
100644 → 0
+
0
−
67
View file @
ee65fa64
{
"cells": [
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Reading_MT/F000001.MT\n",
"Reading_MT/wsrtobs.csv\n",
"Reading_MT/read_headers.py\n",
"Reading_MT/3/34\n",
"Reading_MT/3/33\n",
"Reading_MT/1/11\n",
"Reading_MT/2/23\n",
"Reading_MT/2/22\n"
]
}
],
"source": [
"import os\n",
"\n",
"for subdir, dirs, files in os.walk('Reading_MT'):\n",
" for file in files:\n",
" print(os.path.join(subdir, file))\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"file_ = 'sometext.MT'\n",
"file_[-3::]"
]
}
],
"metadata": {
"interpreter": {
"hash": "5072ffb4707905e9ac3e5bc077411b5debabf54916eb21a5fb84af926c735de7"
},
"kernelspec": {
"display_name": "Python 3.8.8 64-bit ('base': conda)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
},
"orig_nbformat": 4
},
"nbformat": 4,
"nbformat_minor": 2
}
%% Cell type:code id: tags:
```
python
import
os
for
subdir
,
dirs
,
files
in
os
.
walk
(
'
Reading_MT
'
):
for
file
in
files
:
print
(
os
.
path
.
join
(
subdir
,
file
))
```
%% Output
Reading_MT/F000001.MT
Reading_MT/wsrtobs.csv
Reading_MT/read_headers.py
Reading_MT/3/34
Reading_MT/3/33
Reading_MT/1/11
Reading_MT/2/23
Reading_MT/2/22
%% Cell type:code id: tags:
```
python
file_
=
'
sometext.MT
'
file_
[
-
3
::]
```
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