On Tue, Sep 30, 2008 at 10:20 PM, Pierre Dagenais
<[EMAIL PROTECTED]> wrote:
> kayla bishop wrote:
>>
>> I can't figure out how to write a program where you flip a coin 100 times
>> and it keeps track of how many heads and tails you flipped but it has to be
>> random. Can you please help
>> ___
On Tue, Sep 30, 2008 at 9:01 PM, Pierre Dagenais <[EMAIL PROTECTED]> wrote:
> Timothy Grant wrote:
>>
>> On Tue, Sep 30, 2008 at 12:58 PM, Pierre Dagenais
>> <[EMAIL PROTECTED]> wrote:
>>
>>>
>>> The file test.py is in I:\Python25\MyCode,
>>> if I enter:
>>>
>>> C:\>Python25\MyCode\python25 test.p
Arun Tomar wrote:
hi!
I've a list
new_array = ['n1', 'm1', 'p1', 'n2', 'm2', 'p2', 'n3', 'm3', 'p3']
I am trying to convert this to a csv in 3 columns so that the final
output would look something like this
"n1","m1","p1"
"n2","m2","p2"
"n3","m3","p3"
This can easily be done with the "csv"
hi!
I've a list
new_array = ['n1', 'm1', 'p1', 'n2', 'm2', 'p2', 'n3', 'm3', 'p3']
I am trying to convert this to a csv in 3 columns so that the final
output would look something like this
"n1","m1","p1"
"n2","m2","p2"
"n3","m3","p3"
regds,
arun.
kayla bishop wrote:
I can't figure out how to write a program where you flip a coin 100 times and
it keeps track of how many heads and tails you flipped but it has to be random.
Can you please help
_
Get more out of the Web. Learn
Does the DOMImplementation interface support schemas?
I'm tweaking an example from a book to process a flat file registration
database:
from xml.dom import implementation
class RegistrationParser:
def parseFile(self, fileAsString):
# Create DocType Declaration
doctype = implement
kayla bishop wrote:
I can't figure out how to write a program where you flip a coin 100 times and
it keeps track of how many heads and tails you flipped but it has to be random.
Can you please help
_
Get more out of the Web. Learn
Timothy Grant wrote:
On Tue, Sep 30, 2008 at 12:58 PM, Pierre Dagenais
<[EMAIL PROTECTED]> wrote:
The file test.py is in I:\Python25\MyCode,
if I enter:
C:\>Python25\MyCode\python25 test.py at the DOS prompt, everything works as
I would expect.
However when I enter the same command from an
W W wrote:
On Tue, Sep 30, 2008 at 2:58 PM, Pierre Dagenais <[EMAIL PROTECTED]>wrote:
The file test.py is in I:\Python25\MyCode,
if I enter:
C:\>Python25\MyCode\python25 test.py at the DOS prompt, everything works
as I would expect.
However when I enter the same command from any other dir
I can't figure out how to write a program where you flip a coin 100 times and
it keeps track of how many heads and tails you flipped but it has to be random.
Can you please help
_
Get more out of the Web. Learn 10 hidden secrets of
"Danny Yoo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Yup. See:
http://mail.python.org/pipermail/tutor/
for the archive. There's also a searchable interface from GMANE:
http://dir.gmane.org/gmane.comp.python.tutor
And another at ActiveState.com
http://lists.acti
"A. Joseph" <[EMAIL PROTECTED]> wrote
Instead of going to the command line all the time, I want to create
a small
customized cmd.exe of my own,
I'm not sure that I understand what you are trying to do.
But trying to replace cmd.exe is a very very bad idea.
Lots of bits of your operatinfg sys
"Wayne Watson" <[EMAIL PROTECTED]> wrote
Before GUIs, crude scatter plots and histograms on TTYs
and IBM electronic typewriters were used with only the
symbols on the keyboard. Some were pretty decent and
effective.
Basioc charts can be done that way but usually they are
just produceed by
On Tue, Sep 30, 2008 at 12:58 PM, Pierre Dagenais
<[EMAIL PROTECTED]> wrote:
> The file test.py is in I:\Python25\MyCode,
> if I enter:
>
> C:\>Python25\MyCode\python25 test.py at the DOS prompt, everything works as
> I would expect.
>
> However when I enter the same command from any other directo
On Tue, Sep 30, 2008 at 2:58 PM, Pierre Dagenais <[EMAIL PROTECTED]>wrote:
> The file test.py is in I:\Python25\MyCode,
> if I enter:
>
> C:\>Python25\MyCode\python25 test.py at the DOS prompt, everything works
> as I would expect.
>
> However when I enter the same command from any other director
The file test.py is in I:\Python25\MyCode,
if I enter:
C:\>Python25\MyCode\python25 test.py at the DOS prompt, everything
works as I would expect.
However when I enter the same command from any other directory I get
this error:
C:\>python test.py
python: can't open file 'test.py' : [
Yup. See:
http://mail.python.org/pipermail/tutor/
for the archive. There's also a searchable interface from GMANE:
http://dir.gmane.org/gmane.comp.python.tutor
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tu
My Win/PC crashed yesterday and I'm not able to follow my recent posts.
I'm on another computer now. Is there an archive for the tutor list?
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Instead of going to the command line all the time, I want to create a small
customized cmd.exe of my own, how can I get the return value from
os.system() because I was thinking I can do soothing with os.system(), In
case my question is not clear, just like an IDE that plugged in another
.exe appl
I am using Python Image library on windows and it is running well.
I am using RHEL E4 on another machine and when I installed
"python-imaging-1.1.6-2.el4.rf.i386.rpm", still i am not able to call the Image
and ImagOps modules from my application on this Linux machine.
After that --I manually
20 matches
Mail list logo