> But I usually prefer to run the programs I write
> in an IDE's shell, unless they are GUI's, of course.
Why? That seems like a real pain to me!
> What are my options for running my
> scripts outside of an IDE?
Double click them in Windows explorer. Put a shortcut on your desktop.
All the
On 6/25/2010 1:33 AM ALAN GAULD said...
Copy and pasting is a PITA.
Why would you want to copy and paste?
Because it makes it easy to work on code. My preferred editor (TextPad)
allows block selection of indented text such that I can copy and paste
functions and methods into the python CLI
On 25-Jun-10 08:23, Emile van Sebille wrote:
On 6/25/2010 1:33 AM ALAN GAULD said...
Copy and pasting is a PITA.
Why would you want to copy and paste?
Because it makes it easy to work on code. My preferred editor (TextPad)
allows block selection of indented text such that I can copy and past
On 6/25/2010 9:08 AM Steve Willoughby said...
On 25-Jun-10 08:23, Emile van Sebille wrote:
On 6/25/2010 1:33 AM ALAN GAULD said...
Copy and pasting is a PITA.
Why would you want to copy and paste?
Because it makes it easy to work on code. My preferred editor (TextPad)
allows block selection
On Fri, Jun 25, 2010 at 09:48, Emile van Sebille wrote:
> On 6/25/2010 9:08 AM Steve Willoughby said...
>>
>> On 25-Jun-10 08:23, Emile van Sebille wrote:
>>>
>>> On 6/25/2010 1:33 AM ALAN GAULD said...
>
> Copy and pasting is a PITA.
Why would you want to copy and paste?
>>>
>>>
Hi all,
I'm a newbie to Python (switching from Perl) and had a question about the
best way to run external commands in Python.
In doing some reading I'm confused about which is the best way to accomplish
this.
With Perl, the way I went about running commands was by opening a filehandle
and parsi
Subprocess module is the preferred strategy when You want to communicate with
the command you're running. If not, you can use os.system.
Sent from my iPhone
On Jun 25, 2010, at 5:46 PM, Randy Kao wrote:
> Hi all,
>
> I'm a newbie to Python (switching from Perl) and had a question about the
>
On Sat, 26 Jun 2010 08:46:17 am Randy Kao wrote:
> Hi all,
>
> I'm a newbie to Python (switching from Perl) and had a question about
> the best way to run external commands in Python.
[...]
> through: os.popen, os.popen2, os.popen3, os.system,
> commands.getoutput()
os.system is the oldest way, a
On Fri, Jun 25, 2010 at 8:16 PM, Steven D'Aprano wrote:
> On Sat, 26 Jun 2010 08:46:17 am Randy Kao wrote:
>> Hi all,
>>
>> I'm a newbie to Python (switching from Perl) and had a question about
>> the best way to run external commands in Python.
> [...]
>> through: os.popen, os.popen2, os.popen3,
On Fri, Jun 25, 2010 at 7:48 PM, David Hutto wrote:
> On Fri, Jun 25, 2010 at 8:16 PM, Steven D'Aprano wrote:
>> On Sat, 26 Jun 2010 08:46:17 am Randy Kao wrote:
>>> Hi all,
>>>
>>> I'm a newbie to Python (switching from Perl) and had a question about
>>> the best way to run external commands in
Thanks for the great and quick feedback from everyone!
That definitely clears things up.
-Randy
On Fri, Jun 25, 2010 at 5:16 PM, Steven D'Aprano wrote:
> On Sat, 26 Jun 2010 08:46:17 am Randy Kao wrote:
> > Hi all,
> >
> > I'm a newbie to Python (switching from Perl) and had a question about
>
On Fri, Jun 25, 2010 at 9:37 PM, Randy Kao wrote:
> Thanks for the great and quick feedback from everyone!
> That definitely clears things up.
> -Randy
> On Fri, Jun 25, 2010 at 5:16 PM, Steven D'Aprano
> wrote:
>>
>> On Sat, 26 Jun 2010 08:46:17 am Randy Kao wrote:
>> > Hi all,
>> >
>> > I'm a n
On Fri, Jun 25, 2010 at 8:43 PM, David Hutto wrote:
> On Fri, Jun 25, 2010 at 9:37 PM, Randy Kao wrote:
>> Thanks for the great and quick feedback from everyone!
>> That definitely clears things up.
>> -Randy
>
> And I was like...me too.
Just to clarify, it looks like subprocess is intended to r
Richard D. Moores wrote:
On Fri, Jun 25, 2010 at 09:48, Emile van Sebille wrote:
On 6/25/2010 9:08 AM Steve Willoughby said...
On 25-Jun-10 08:23, Emile van Sebille wrote:
On 6/25/2010 1:33 AM ALAN GAULD said...
Copy and pasting is a PITA.
Why would you
On Fri, Jun 25, 2010 at 23:08, Dave Angel wrote:
> Do you activate Quick-Edit mode in your DOS box? Once you have that on,
> it's not much of a pain to copy and paste, as long as what you're copying
> fits a rectangle.
Yes, it's on. I agree that copying is easy, but if I can't use Ctrl+V,
pastin
Richard D. Moores wrote:
On Fri, Jun 25, 2010 at 23:08, Dave Angel wrote:
Do you activate Quick-Edit mode in your DOS box? Once you have that on,
it's not much of a pain to copy and paste, as long as what you're copying
fits a rectangle.
Yes, it's on. I agree that copying is easy, bu
16 matches
Mail list logo