Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~6K People Reached
Favorite Forums
Favorite Tags
Member Avatar for msaenz

I have this program I wrote up and wanted to add signal handler to it. The thing is the example only show how to play with it but no to use in between methods. I tried coding it but it doesnt work [code=python] import sys import signal import operator import …

0
59
Member Avatar for msaenz

I have a dicationary [code=python] x={'symbol':LTV,'user':derek,'where':home,'time':night} [/code] Obviously when u print it the dictionary doesnt keep the order you put them in. how do i have a dictionary that has it the way i input them? I looked online, but not sure to you cmp, lambda, etc? Thanks for the …

Member Avatar for vegaseat
0
162
Member Avatar for msaenz

Greetings, I am trying to do a reconnect type of thing for when sqlserver disconnects me i check and reconnect to execute a query. here is some code that i wrote, I really don't know what to use since there is not isconnected method or reconnect method in pymssql. Any …

Member Avatar for jrcagle
0
2K
Member Avatar for msaenz

Greetings, I have this date string that is given to me from somelses code 20080326 and I want to convert it to be MMddYYYY and I get this error: Caught Exception: ValueError:time data did not match format: data=20080326 fmt=%m%d%Y File "/home/gateway/scripts/python/py-allston.egg/main_template.py", line 91, in decorated_main File "db.py", line 24, in …

Member Avatar for msaenz
0
71
Member Avatar for msaenz

greetings, im writing that program that creates a 2 square matrices that need to be added. but the trick is i need to use pthreads in order to do it... for soem reason my output is just 0. Any help would be appreciated im almost done im just stuck on …

Member Avatar for Dave Sinkula
0
184
Member Avatar for msaenz

Getting this error don't understand really what i need to do to trouble shoot... hw.c: In function ‘PrintMatrix’: hw.c:14: error: subscripted value is neither array nor pointer hw.c: In function ‘main’: hw.c:27: warning: passing argument 1 of ‘PrintMatrix’ makes integer from pointer without a cast [ICODE] #include <stdio.h> #include <pthread.h> …

Member Avatar for WaltP
0
105
Member Avatar for msaenz

Greetings I want to take part of a word remove it and then append something new. Here is my xml [inlinecode] <Symbols> <Item> <Symbol>UPS2008</Symbol> <Order>usg_05Y</Order> </Item> </Symbols> [/inlinecode] My python code should remove the 2008 in UPS and change it to 2009 (basically write to file with elementtree), except I …

Member Avatar for msaenz
0
2K
Member Avatar for msaenz

Greeting I have a program take in a file and lets you add stuff to it after I add some words to it i want to count all the words in the file... I am having trouble with that ...here is my code so far. I looked up stuff online …

Member Avatar for trudge
0
112
Member Avatar for msaenz

Hi I have this code here and I was wondering if anyone can explain to me how it works... I see the output and all but I get lost from sub2 to sub3 [code] #!usr/bin/perl my $a = "one"; my $b = "two"; my $c = "three"; my $d = …

Member Avatar for msaenz
0
80
Member Avatar for msaenz

Hi, I am trying to parse multiple xml files with sax using python but i for some reason i am having an issue: if someone can just help me get through this part, I would greatly appreciate it. It is parsing to get the attributes amount,unit and the ingredient name. …

0
66
Member Avatar for msaenz

:mrgreen: hi im am tryingto create a dimensional analysis thing going on and so far i have this [code] def mult(self,other): tempTuple1=list() tempTuple2=list() i=0 for unit,value in other.expr: for unit2,value2 in self.expr: if unit2 == unit: tempTuple1.append((unit, value+value2)) #self.expr[i]=tempTuple1 ## for unit2,value2 in self.expr: ## for unit,value in other.expr: ## …

Member Avatar for msaenz
0
141
Member Avatar for msaenz

:cheesy: hi all, i do not know how many people have worked in biopython before but, i am soo close to this answer i can feel it! just need a lil help again... basically this takes a FASTA file from NCBI and makes it into a dictionary which is wonderful …

Member Avatar for vegaseat
0
126
Member Avatar for msaenz

:mrgreen: hi guys/gals, thanks for the bioinformatics help, im working on tons of independant projects, it feels like im in summer school and im not even in it! oh well, that is how it is. Python and me are like new friends so I have been needing on this journey …

Member Avatar for Ene Uran
0
114
Member Avatar for msaenz

Hi everyone, I am doing a bioinformatics project and I have this code: [code]def three2one(prot): code = {"G" : "6", "A" : "7", "L" : "1", "I" : "4", "R" : "2", "K" : "3", "M" : "5", "C" : "8", "Y" : "9", "T" : "10", "P" : "11", …

Member Avatar for bumsfeld
0
74
Member Avatar for msaenz

Hi my name is maria and live in (the south side) chicago , illinois. I am a senior compu sci major, just working on my own independant projects for school. i am 21 years old love dancing latino music, and absolutely adore waterpolo! I play on a equal opportunity team …

Member Avatar for Dani
0
49