Re: [Tutor] Logical Structure of Snippet

2011-05-23 Thread Steven D'Aprano
On Tue, 24 May 2011 06:53:30 am Spyros Charonis wrote: > Hello List, > > I'm trying to read some sequence files and modify them to a > particular [...] You should almost never modify files in place, especially if you need to insert text. It *might*, sometimes, be acceptable to modify files in pl

Re: [Tutor] Logical Structure of Snippet

2011-05-23 Thread Alan Gauld
"Spyros Charonis" wrote P1; ICA1_HUMAN AAEVDTG. (A very long sequence of letters) I must extract one of the data fields from the database (done this) and place it in the sequence file (structure shown above). The relevant database fields go like: tt; ICA1_HUMAN Description tt; I

[Tutor] how are you?

2011-05-23 Thread michael . miesner
hello its insane how different my life is now http://careersindemand.com/redirect.php?to=aHR0cDovL3d3dy5jbmJjNy5jb20vP3BpZD0yOTcwODY= ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/l

[Tutor] Logical Structure of Snippet

2011-05-23 Thread Spyros Charonis
Hello List, I'm trying to read some sequence files and modify them to a particular format. These files are structured something like: >P1; ICA1_HUMAN AAEVDTG. (A very long sequence of letters) >P1;ICA1_BOVIN TRETG(A very long sequence of letters) >P1;ICA2_HUMAN WKH.(another sequence)

[Tutor] module/package search

2011-05-23 Thread spir
Hello, I'm developing a package. I need user/test/special modules (inside or outside the package) to import given modules from the package, or the whole package or a sub-package. I'm looking for a general solution for this. For an importing module located inside the package, the obvious solut