Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Searies of questions/issues? #1046

Closed
gigaimage opened this issue Nov 26, 2011 · 3 comments
Closed

Searies of questions/issues? #1046

gigaimage opened this issue Nov 26, 2011 · 3 comments
Milestone

Comments

@gigaimage
Copy link

I am new to IPython. Please let me know If I need to post this type of questions on user list from next time.

My system config:
Windows 7 64 bit, Python 3.2, IPython 0.12 (dev).
Installed all dependencies: PyReadline, PyQT (MSI installer), PyZMQ, pygments as per the instructions on installation web page.

I see following issues. Not sure what's wrong and where.

  1. Installation never install a .bat file or desktop shortcut to launch IPython. So I use ipython3.exe from Scripts folder in PowerShell.

  2. I don't know how QT console (ipython3-qtconsole.exe) looks like because it never worked.

  3. I just want to have a basic understanding on how to use PASTE and CPASTE. Correct me if I am wrong.

    First I copied the following code from python cookbook online to the clipboard.
    random import *
    randBinList = lambda n: [randint(0,1) for b in range(1,n+1)]
    Next, typed %cpaste% on Ipython, so I see a ":" prompt awaits.
    What's next? CTRL+V? shortcut key doesn't work. Do I use PowerShell paste menu item?

  4. Didn't find Store command in %lsmagic% list? No longer there in 0.12?

On a side note: I followed Jeff's tutorial (http://showmedo.com/videotutorials/series?name=CnluURUTV) ,
though its bit old (v0.9), I highly recommend this to new comers, please cite this on IPython doc webpage).

@takluyver
Copy link
Member

  1. I've no idea about shortcuts and installation on Windows. For release, we'll build a binary installer which you download and run, maybe that makes a difference.
  2. Do you get any sort of error message or anything?
  3. %cpaste will let you paste in using the paste option in your terminal (Powershell or whatever). %paste just tries to grab text directly from your clipboard.
  4. It's there, but in an extension. Do %load_ext storemagic, or add 'storemagic' to the extensions list in your ipython_config.py file.

Thanks for the feedback. For future reference, it's a good idea to take questions to the mailing list, and use this system for specific things we need to fix or improve. If in doubt, start on the mailing list, and we might ask you to open an issue about something.

@fperez
Copy link
Member

fperez commented Nov 26, 2011

Hi,

On Fri, Nov 25, 2011 at 4:08 PM, gigaimage
reply@reply.github.com
wrote:

I am new to IPython. Please let me know If I need to post this type of questions on user list from next time.

Yes, questions like this should be posted to the list, to which I'm
cc-ing this reply so you can find it later in the archives.

My system config:
Windows 7 64 bit, Python 3.2, IPython 0.12 (dev).
Installed all dependencies: PyReadline, PyQT (MSI installer), PyZMQ, pygments as per the instructions on installation web page.

I see following issues. Not sure what's wrong and where.

  1. Installation never install a .bat file or desktop shortcut to launch IPython. So I use ipython3.exe from Scripts folder in PowerShell.

Do you have setuptools installed? As you can see on the installation
instructions, on windows setuptools is a requirement:

http://ipython.org/ipython-doc/dev/install/install.html

  1. I don't know how QT console (ipython3-qtconsole.exe) looks like because it never worked.

There's a screenshot of it on the front page of the website, and the
docs describe it in detail:

http://ipython.org/ipython-doc/dev/interactive/qtconsole.html

In order to help you out with why it's not running for you, we'd need
to know what specific errors you are getting.

  1. I just want to have a basic understanding on how to use PASTE and CPASTE.  Correct me if I am wrong.

     First I copied the following code from python cookbook online to the clipboard.
            random import *
            randBinList = lambda n: [randint(0,1) for b in range(1,n+1)]
    Next, typed %cpaste% on Ipython, so I see a ":" prompt awaits.
    What's next? CTRL+V? shortcut key doesn't work. Do I use PowerShell paste menu item?

I don't know why Ctrl-V doesn't work, try the menu item perhaps. Note
that for simple pasting from the clipboard, if you don't need to copy
multiple times, you can use %paste. %cpaste allows you to keep
pasting until you terminate input with a line containing only '--',
but for a one-time paste, you can use %paste.

  1. Didn't find Store command in %lsmagic% list? No longer there in 0.12?

It has just been added back a few days ago, but you need to enable it
in your config file:

A list of dotted module names of IPython extensions to load.

c.InteractiveShellApp.extensions = ['storemagic']

I'm thinking perhaps we should add this one back by default, it's an
extremely useful thing to have in everyday use...

On a side note: I followed Jeff's tutorial (http://showmedo.com/videotutorials/series?name=CnluURUTV) ,
though its bit old (v0.9), I highly recommend this to new comers, please cite this on IPython doc webpage).

Good point, I added more prominent links to the videos in our front page.

Cheers,

f

@fperez
Copy link
Member

fperez commented Nov 26, 2011

Oops, @takluyver, I replied from my email without realizing you'd taken care of it already. Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants