So you know the story...you're messing around in the console until you've
got the output you're looking for BUT because it's Python you can't just
copy past the code into a script when you're done...noooo that would be far
too easy. Instead you have to type in P R I then hit tab for the
auto-prompter to generate "print()" and then paste your whatever in there,
or some other convoluted thing. BORING.
Can we please have a keyboard shortcut within spyder IDE that works as
follows...it will be THE BEST thing since sliced python.
1. paste text into Editor
2. select text e.g. "L" + "A" + "Z" + "Y"
3. hit keyboard shortcut
4. text is automatically wrapped in print()...e.g. print("L" + "A" + "Z" +
"Y")
p.s. I realised that executing "L" + "A" + "Z" + "Y" from the editor gives
the same output than if i had entered it in the console, but that is ONLY
the case when i am executing just one command, so no, that does not help
mitigate the agony.
--
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.