Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Biopython question
Post: Biopython question

Dear forum members, I am trying to write a script to calculate distances between atoms in two separate collections (collection_AA_atoms & collection_DNA_atoms) using biopython but am not getting ...
Aurimas General Coding Help 1 1,698 Jul-09-2019, 03:50 PM
    Thread: A question about subprocess taking input from command line and returning output!
Post: RE: A question about subprocess taking input from ...

I am tryin to think of how to ask an input to be a text file. It can be any .pdb file like 1abc.pdb, 2abc.pdb, 3drt.pdb, etc. I am working with upgrading the above script to this: from subprocess imp...
Aurimas General Coding Help 8 5,200 May-15-2019, 04:02 PM
    Thread: A question about subprocess taking input from command line and returning output!
Post: RE: A question about subprocess taking input from ...

Installed Python3 but it works with 2.7 as well. How I could write in terminal: python script 1abc.pdb press enter and get: XXXXXX - the sum of third columns values With the written code I get the sum...
Aurimas General Coding Help 8 5,200 May-15-2019, 02:51 PM
    Thread: A question about subprocess taking input from command line and returning output!
Post: RE: A question about subprocess taking input from ...

Thank you. Should the code be run through python3? I have python 2.7 :( My main struggle is to make an input being asked before running the script as in your given example I give an input as a string...
Aurimas General Coding Help 8 5,200 May-15-2019, 11:56 AM
    Thread: A question about subprocess taking input from command line and returning output!
Post: RE: A question about subprocess taking input from ...

Thank you guys, but I want to specify what pdb file I choose to use (like 1abc.pdb, 1fgh.pdb or other) and the output I need isQuote: awk '{sum += $3} END {print sum}' that prints a numerical val...
Aurimas General Coding Help 8 5,200 May-15-2019, 07:35 AM
    Thread: A question about subprocess taking input from command line and returning output!
Post: A question about subprocess taking input from comm...

Dear Python forum members, The script I have written below (the_script.py) works fine with this terminal command at MAC OS Mojave Python 2.7: Quote:python the_script.py < ABC.pdb > ABC.txt ! Ho...
Aurimas General Coding Help 8 5,200 May-10-2019, 04:37 PM
    Thread: How to launch a program through python script - Mac OS Mojave
Post: How to launch a program through python script - Ma...

Dear Python forum members, I am trying to write and launch a python script through terminal at Mac OS Mojave, however I am getting this error: Error:$ python bandom_voronota_paleisti.py > 3dvo.p...
Aurimas General Coding Help 2 2,825 May-06-2019, 01:57 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020