Hi;
I have a file that looks like this:
>title 1
AAATTTGGGCCCATA...
TTAACAAGTTAAAT…
>title 2
AAATTTAAACCC…
ATATATATA…
…
I wrote the following to count the As, Cs, Gs anTs for each title I wrote the
following
import sys
file = open('file.fna')
data=file.readlines()
for line in data:
li
Please help. I have been search the internet to understand how to write a
simple program/script with python, and I did not do anything.
I have a file that look like this
>ID 1
agtcgtacgt…
>ID 2
acccttcc
.
.
.
in other words, it contains several IDs each one has a sequence of 'acgt'
le
how can i make odbc connection language and i wanna make gui project after
connecting database anyone has document ?
--
Mustafa Akkoc
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Hello ,
- In python shell , i can only write one line of code when I go to next
line this sign appears >>> how can write the code like in script mode and
run
thanks
--
Mustafa Akkoc
___
Tutor maillist - Tutor@python.org
http://mail.p
I have question if we make if statement inside if like cprogramming below
how to do in python
int x-1 , y=2;
if (x==1)
{
printf(" inside first if ");
if (y==2)
{
printf ("inside second if ");
}
}
it gives this message socket error
--
Mustafa Akkoc
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
nning = False # this causes the while loop to stop
elif guess < number:
print('No, it is a little higher than that.')
else:
print('No, it is a little lower than that.')
else:
print('The while loop is over.')
# Do anything else
i start learning pyton language i want to print some thing but when i type :
print "hello world" but it give an error like this SyntaxError: invalid
syntax (, line 1)
i am using python shell version 3.0.1
--
Mustafa Akkoc
___
Tuto
i hav just finished learning pythob from "A byte of python"(an online
book) so i wanted to apply my new skills. to learn and to have some fun.
is there any place which lists jobs to be done...you know minor jobs and
requests thats nobody has found time to do.
i would point out that i am not looki
i want to create a simple page which has a form
and takes in persons date of birth and give out exact age.
how do i add python codeto an html page.
i don't have any dreamweaver or frontpage.
this is basically cuz some freinds advised me to create this isnce i am learning programming python..
so ple
is there an online exam or coarse i can take to get a certificate in python.
preferrably cheap and online because i live in pakistan and online exams are my only hope.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
11 matches
Mail list logo