« first day (3235 days earlier)      last day (867 days later) » 

 
3 hours later…
7:44 AM
0
Q: UnicodeEncodeError: 'ascii' codec can't encode character '\xf6'

DaveMier88I'm currently playing around with the smtp module and I got a strange Error and I can't find a solution that I can comprehend. This is the Code that raises the Error: with smtplib.SMTP("smtp.gmail.com") as connection: connection.starttls() connection.login(my_email, my_password) conne...

 
 
3 hours later…
10:33 AM
0
Q: Insert text from variable in file

daviI have two files, my_file.txt and config.txt. In config.txt I have some text like: Hej, My name is Jan. $my_file.txt - im too young.. my_file.txt contains: I'm 18yo. I want to have this output: Hej, My name is Jan. I'm 18yo. - im too young.. Is there any sed command or something similar to i...

 
 
2 hours later…
12:55 PM
0
Q: Python: reading unspecified FASTA files

Aiden HendrickxFor a project, I need to read a fasta file. I know that I can do this with Seq.IO in Biopython, for example: seq_records = SeqIO.parse("short.fasta", "fasta") seq_record_list = list(seq_records) for seq_rec in seq_record_list: print(f'{seq_rec.id}') However, reading fasta files this way implies ...

 
 
2 hours later…
 
2 hours later…
 
4 hours later…
 
2 hours later…

« first day (3235 days earlier)      last day (867 days later) »