To run Python code in the terminal you first need to run the interpreter. <span></span><div><br></div><div>So if you just do:</div>python<div>print("hello world") </div><div><br></div><div>Then it should work. </div><div><div><br><div>On Monday, June 8, 2015, Atteyet-Alla.Yassin <<a href="mailto:Atteyet-Alla.Yassin@ukb.uni-bonn.de">Atteyet-Alla.Yassin@ukb.uni-bonn.de</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hallo Martin, I got this error when I tried to print Hello world. How I can solve this bash problem.<br>
<br>
ukb03709@zr1005436:~$ cd Dokumente/idiograms/<br>
ukb03709@zr1005436:~/Dokumente/idiograms$ ls *.py<br>
bio_import_seq.py hallo_welt.py my_first_program.py<br>
genbank_to_table.py iterating.py parse-gff3.py<br>
gffexaminer.py limitingfeature.py parse.py<br>
ukb03709@zr1005436:~/Dokumente/idiograms$ print("Hello world")<br>
bash: Syntaxfehler beim unerwarteten Wort `"Hello world"'<br>
ukb03709@zr1005436:~/Dokumente/idiograms$ python print("Hello world")<br>
bash: Syntaxfehler beim unerwarteten Wort `('<br>
ukb03709@zr1005436:~/Dokumente/idiograms$ python my_first_program.py<br>
Hallon world!<br>
ukb03709@zr1005436:~/Dokumente/idiograms$ python print ("Hello world")<br>
bash: Syntaxfehler beim unerwarteten Wort `('<br>
ukb03709@zr1005436:~/Dokumente/idiograms$<br>
_______________________________________________<br>
Biopython mailing list - <a>Biopython@mailman.open-bio.org</a><br>
<a href="http://mailman.open-bio.org/mailman/listinfo/biopython" target="_blank">http://mailman.open-bio.org/mailman/listinfo/biopython</a><br>
</blockquote></div></div></div><br><br>-- <br><div dir="ltr"><div><div dir="ltr"><div><span style="color:rgb(0,0,0)"><span><span>Kevin Li</span></span></span><br><span style="color:rgb(0,0,0)"><span><span><span style="color:rgb(0,0,0)"><span>Computer Science, B.A. Candidate 2017<br></span></span></span>Molecular and Cell Biology, B.A. Candidate 2017<br>University of California, Berkeley<br></span></span></div><div><span style="color:rgb(0,0,0)"><span><a href="mailto:kevinli7@gmail.com" target="_blank">kevinli7@gmail.com</a><br>(224) 475-5486<br></span></span></div></div></div></div><br>