GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — vscode-python/pythonFiles/datascience/dummyJupyter.py at master · Tomeamis/vscode-python

Expand file tree

/

dummyJupyter.py

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
25 lines (21 loc) · 893 Bytes
/

dummyJupyter.py

Copy path

File metadata and controls

25 lines (21 loc) · 893 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# This file can mimic juypter running. Useful for testing jupyter crash handling
import sys
import argparse
import time
def main():
print('hello from dummy jupyter')
parser = argparse.ArgumentParser()
parser.add_argument('--version', type=bool, default=False, const=True, nargs='?')
parser.add_argument('notebook', type=bool, default=False, const=True, nargs='?')
parser.add_argument('--no-browser', type=bool, default=False, const=True, nargs='?')
parser.add_argument('--notebook-dir', default='')
parser.add_argument('--config', default='')
results = parser.parse_args()
if (results.version):
print('1.1.dummy')
else:
print('http://localhost:8888/?token=012f08663a68e279fe0a5335e0b5dfe44759ddcccf0b3a56')
time.sleep(5)
raise Exception('Dummy is dead')
if __name__ == '__main__':
main()
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.