[Biopython] Python mini-course

Kevin Li kevinli7 at gmail.com
Mon Jun 8 14:31:58 UTC 2015


To run Python code in the terminal you first need to run the interpreter.

So if you just do:
python
print("hello world")

Then it should work.

On Monday, June 8, 2015, Atteyet-Alla.Yassin <
Atteyet-Alla.Yassin at ukb.uni-bonn.de> wrote:

> Hallo Martin, I got this error when I tried to print Hello world. How I
> can solve this bash problem.
>
> ukb03709 at zr1005436:~$ cd Dokumente/idiograms/
> ukb03709 at zr1005436:~/Dokumente/idiograms$ ls *.py
> bio_import_seq.py    hallo_welt.py       my_first_program.py
> genbank_to_table.py  iterating.py        parse-gff3.py
> gffexaminer.py       limitingfeature.py  parse.py
> ukb03709 at zr1005436:~/Dokumente/idiograms$ print("Hello world")
> bash: Syntaxfehler beim unerwarteten Wort `"Hello world"'
> ukb03709 at zr1005436:~/Dokumente/idiograms$ python print("Hello world")
> bash: Syntaxfehler beim unerwarteten Wort `('
> ukb03709 at zr1005436:~/Dokumente/idiograms$ python my_first_program.py
> Hallon world!
> ukb03709 at zr1005436:~/Dokumente/idiograms$ python print ("Hello world")
> bash: Syntaxfehler beim unerwarteten Wort `('
> ukb03709 at zr1005436:~/Dokumente/idiograms$
> _______________________________________________
> Biopython mailing list  -  Biopython at mailman.open-bio.org
> http://mailman.open-bio.org/mailman/listinfo/biopython
>


-- 
Kevin Li
Computer Science, B.A. Candidate 2017
Molecular and Cell Biology, B.A. Candidate 2017
University of California, Berkeley
kevinli7 at gmail.com
(224) 475-5486
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython/attachments/20150608/6ab4ae15/attachment.html>


More information about the Biopython mailing list