Hi,

You can pass command line arguments to a script that's been developed in Spyder by using our Run dialog. You just need to press F6 (Ctrl+F6 in Spyder 3.0) and then go to

    Command line options

About your question: I don't know about terminal emulators for Windows that we could embed on Spyder, and we don't plan our current terminal, sorry.


Cheers,
Carlos

El 27/02/16 a las 02:38, Ariel Balter escribió:
Hi @Carlos,

If you are developing a python script meant to be run at the command line where you would pass in command line arguments, then you really need a shell to test it. It would be really nice if the integrated Windows command prompt were better equipped. I would like to be able to tab complete directories, and even the name of the python script. Is it difficult to get tab completion? I'm pretty sure there are full-featured terminal emulators out there for linux written in python. None for Windows?

Side note:

@Adrian -- I really think you were less than helpful to the OP. You repeated the same answer over and over, even though the OP said repeatedly you weren't understanding. Looking up how to do things in the native Windows prompt has NOTHING to do with what works in the Spyder implementation. That is a Spyder issue. You acted as though the OP was being either lazy (not wanting to research the Windows shell) or stupid (not simply understanding that it is a property of the Windows shell). In fact, the OP had a very real question, which I also share.

I'm not trying to flame you. But as a community, I think we can take constructive criticism.

On Sunday, April 12, 2015 at 8:50:03 AM UTC-7, Carlos Córdoba wrote:

    Hi,

    @Adrian, we don't embed a system terminal on Linux (under the
    Console pane) because our terminal is very simple and Linux users
    (usually) know how to use it very well. That was a decision taken
    a long time ago :-)

    @Shawn, I think our terminal doesn't do code completion. As I
    said, it just comes in handy to run simple commands but not much
    more than that :-)


    Cheers,
    Carlos

    El 12/04/15 a las 08:30, Adrian Klaver escribió:
    On 04/11/2015 10:09 PM, Yuxiang Wang wrote:
    Hi Adrian,

    Thanks again for your response, but I do think that we are talking
    about different things. I am talking about IN SPYDER. Is it a
    different behavior between Windows and Linux? In Windows, Tools -->
    Open command prompt will open a command console IN SPYDER, in where
    the Python console is (a new tab, just like a second Python
    console).
    You can use ctrl + shift + c to switch into this console.

    To repeat:

    0) Use Windows 7 64 bit, and install Python + spyderlib;
    1) Open Spyder;
    2) Go to Tools --> Open command prompt;
    3) A command window will be launched in Spyder console panel
    (adding a
    new panel to the right of exisiting Python consoles);
    4) Set focus to the console being opened. You can see that
    auto-complete does not work in here.

    On Linux I have Open a terminal which opens an independent
    terminal window for a system shell. There is no option for a
    command prompt. I do not have access to a Windows machine so I
    have no way of testing what you are seeing. That will have to
    wait for someone else on this list that uses Spyder with Windows.

    I am still not sure what you are using the command console for,
    is it a system console or a Python console? The reason I ask is
    that the keyboard shortcut you give, on my machine,  takes you to
    a Python console. If it is a Python console have you gone to
    Preferences --> Console --> Introspection and checked Automatic
    code completion?


    And, of course, if I just open a cmd in Windows, the auto-complete
    will work. It is only IN SPYDER that it won't work.

    Thanks again for your patience in reading through Adrian...
    Appreciate it :)

    Shawn





--
You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to