Comments (1)
@kdeu I'm sure there's some way to do this; I just don't know how exactly.
Would you do some research on this?
if '--profile' in s:
k,p = s.split('--profile')
k = k.lstrip().rstrip() # kernel part of the string
p = p.lstrip().rstrip() # profile part of the string
fullpath = find_connection_file(k,p)
else:
fullpath = find_connection_file(s.lstrip().rstrip())
km = KernelManager(connection_file = fullpath)
km.load_connection_file()
kc = km.client()
kc.start_channels()
send = kc.shell_channel.execute
return km
from python.
Related Issues (20)
- from __future__ import print_function breaks with file argument
- Fixing eval support for iPython
- Delete whitespace intelligently or backspace by indentation, e.g. delete four spaces that function as 'a tab' HOT 1
- Python default logging isn't being output to the console
- Implement inline eval
- Multiline comments in Python doesn't compile HOT 2
- Smart-indent not outdenting correctly with Python HOT 9
- Evaluating Python not working consistently
- Eval runs all code instead of just current line
- Eval is not continuous between two executions
- "TypeError: embedded NUL character" evaluating Python file with a path containing spaces on Windows
- it seems lt only applies the system python HOT 3
- Error message does not include the filename
- Doesn't pick up system python HOT 1
- Maintainer proposal HOT 11
- Exception occurs when tring to eval Python code HOT 5
- Exception when running python 3 on windows 7 HOT 5
- Migrate LGTM.com installation from OAuth to GitHub App
- Python Script not executing in Light Table
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python.