[Tutor] automate add-to-cart with python

Marc Tompkins marc.tompkins at gmail.com
Wed Jan 30 06:49:32 CET 2013


On Tue, Jan 29, 2013 at 9:19 PM, Benjamin Fishbein
<bfishbein79 at gmail.com>wrote:Then it said:
>
> You can also use easy_install, or if you have no Python package manager
> available at all, you can just grab the single file virtualenv.py<https://raw.github.com/pypa/virtualenv/master/virtualenv.py> and
> run it with pythonvirtualenv.py.
>

I'm pretty sure that's a typo.  It should say:
python virtualenv.py

In general, to run a Python script, the simplest (and most
usually-expected) way is to start a command prompt (a.k.a. terminal
session) and simply type the word "python", followed by the name of the
script.  IDLE is meant for convenient editing and running - and it's very
far from the best tool even for that - but it is definitely NOT recommended
as a way to run production code; it introduces too much extraneous junk
into the Python environment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130129/01fe000f/attachment.html>


More information about the Tutor mailing list