Coder Social home page Coder Social logo

Comments (4)

ivanov avatar ivanov commented on September 6, 2024

My question is that could we get the ipython running information, something like --existing --shell=xxx --iopub=xxx --stdin=xxx --hb=xxx, which is required by this plugin(?) without running qtconsole

yes, qtconsole is not required. From vim-ipython README: In the current git trunk of IPython, you can use ipython kernel to create a kernel and get the connection string to use for any frontend (including vim-ipython). If you are still using 0.11, you can launch a regular kernel using python -c "from IPython.zmq.ipkernel import main; main()

As far as implementing this functionality in Django, as far as I know, you can currently do the equivalent of ipython kernel using the python API, and get the connection information to use for vim-ipython - but there isn't currently a way to hook up an old-school terminal-based ipython session to it - I believe this functionality is being worked on in ipython/ipython#708

It's not a stupid question at all - it's just more of a question for IPython itself - so I encourage you to ask it on the IPython-User list

from vim-ipython.

ivanov avatar ivanov commented on September 6, 2024

I'll go ahead and close this issue - please reopen it if you need further changes in vim-ipython to make the Django shell interaction work.

from vim-ipython.

flisky avatar flisky commented on September 6, 2024

Thank you so much. No more questions:)

from vim-ipython.

davnustratbac avatar davnustratbac commented on September 6, 2024

Hi guys, not sure if this is useful or if im out of date here, but ive found a partial solution to this issue, im using django-extensions and ipython installed in the virtualenv. i have then added 'console' to the django extensions params as ...

IPYTHON_ARGUMENTS = [
'console'
]

in django settings.py

after firing up vim and making sure all vim-ipython requiremets were met && i was editing a .py file
i could send to the ipython session and had access to the dynamically loaded ipython session into django, I have not had chance to test all the functionality but it appears to be working in a basic manner. would be interested to hear if this helps
Ipython 3.2.1
django 1.8
django-extensions 1.5.7
vim 7.4.827
Cheers D

from vim-ipython.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.