The problem is simple.
I have 50taxa2HGT_1.txt in the current directory,
and I can open it using any text editor (which indicates there actually
is.)
And I can read it in Python using
>>> fd=open("./50taxa2HGT_1.txt", "r")
, and it actually got opened, because I can do
>>> for line in fd:
...
order to resolve this issue?
Thanks,
Justin.
Justin Park wrote:
> Sometimes when I am working on an already generated package,
> the python shell cannot perceive the presence of an attribute that I
> implemented on top of what was there.
>
> Is there a way to have it perceive newly cre
Sometimes when I am working on an already generated package,
the python shell cannot perceive the presence of an attribute that I
implemented on top of what was there.
Is there a way to have it perceive newly created attributes?
Thanks,
Justin.
--
http://mail.python.org/mailman/listinfo/python-l
Thanks!
It works!
Justin.
Chris Rebert wrote:
> On Tue, Mar 30, 2010 at 2:31 PM, Justin Park wrote:
>
>> Suppose I have a list.
>> a = list()
>> And suppose allowed digits as the element are 1,2,3,4,5.
>>
>> What can I do in order to iterate over all poss
Suppose I have a list.
a = list()
And suppose allowed digits as the element are 1,2,3,4,5.
What can I do in order to iterate over all possible values for each element?
For instance, the sequence of the list I want to have would be
[1,1,1,1,1]
[1,1,1,1,2]
[1,1,1,1,3]
[5,5,5,5,4]
[5,5,5,5,5]