Search Results

Showing results 1 to 34 of 34
Search took 0.01 seconds.
Search: Posts Made By: msaenz
Forum: Python 11 Days Ago
Replies: 0
Views: 173
Posted By 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
...
Forum: Python 34 Days Ago
Replies: 8
Views: 254
Posted By msaenz
wow thanks for the help i appreciate it... that is exactly what I am looking for
Forum: Python Oct 26th, 2009
Replies: 8
Views: 254
Posted By msaenz
thanks for the suggestion anyways.. i appreciate it
Forum: Python Oct 26th, 2009
Replies: 8
Views: 254
Posted By msaenz
well actually I am outputting it as a json.dump of the dictionary. I do not know if there is another way in JSON, I havent found any to have it output in a sorted way for json. The reason why is b/c...
Forum: Python Oct 26th, 2009
Replies: 8
Views: 254
Posted By msaenz
I have a dicationary

x={'symbol':LTV,'user':derek,'where':home,'time':night}

Obviously when u print it the dictionary doesnt keep the order you put them in. how do i have a dictionary that...
Forum: Python May 29th, 2008
Replies: 1
Views: 1,076
Posted By 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...
Forum: Python Mar 28th, 2008
Replies: 2
Views: 590
Posted By msaenz
Forum: Python Mar 28th, 2008
Replies: 2
Views: 590
Posted By 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...
Forum: C Feb 28th, 2008
Replies: 3
Views: 517
Posted By msaenz
okay thank you any other suggestions......please??
Forum: C Feb 27th, 2008
Replies: 3
Views: 517
Posted By 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...
Forum: C Feb 27th, 2008
Replies: 6
Views: 677
Posted By msaenz
well kinda like in java you have a placeholder in the method in order to call it in the main that is what matrix basically is... and i attempt to use point and it still gives me an issue. i honestly...
Forum: C Feb 27th, 2008
Replies: 6
Views: 677
Posted By msaenz
its been awhile i apologize brain kind of fried tonight..
but than i have it empty and give me an incomplete array type?

int i,j;
int matrix[0][0];
void PrintMatrix(int matrix [i] [j])
{
}
...
Forum: C Feb 27th, 2008
Replies: 6
Views: 677
Posted By 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...
Forum: Python Feb 5th, 2008
Replies: 3
Views: 2,981
Posted By msaenz
thank you both very much for your help. I did not want to treat the whole xml file as a string but attempt to use the module. I guessI just needed it broken down to me a bit more than the effbot site...
Forum: Python Feb 4th, 2008
Replies: 3
Views: 2,981
Posted By msaenz
Greetings I want to take part of a word remove it and then append something new. Here is my xml

<Symbols>

<Item>
...
Forum: Perl Dec 12th, 2007
Replies: 6
Views: 1,620
Posted By msaenz
ahh thanks! I got it to work now..... i had to manipulate my code a little bit but it works...
Forum: Perl Dec 12th, 2007
Replies: 6
Views: 1,620
Posted By msaenz
actually its not for anything....im doing it to learn and doing excercises out of a book from the library and it doesnt have the answers... and its been bugging me on why i cant get it
Forum: Perl Dec 12th, 2007
Replies: 6
Views: 1,620
Posted By 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...
Forum: Perl Dec 11th, 2007
Replies: 5
Views: 1,129
Posted By msaenz
okay shift pops the element that has the lowest index which is zero so if I did $number=shift(@numberarrays) $number will be assigned one. Also it returns Iam for sub3 b/c if thereis not return...
Forum: Perl Dec 10th, 2007
Replies: 5
Views: 1,129
Posted By msaenz
So what I got from it was this.... the variables a,b,c,d do not change from sub1 and sub2 but by subroutine three it only returns the last thing which is 'i am' for each since one subroutine calls...
Forum: Perl Dec 10th, 2007
Replies: 5
Views: 1,129
Posted By msaenz
i havent i will try and see if i can get it.. or at least explain what i am not getting to you thanks will check back in a few.
Forum: Perl Dec 10th, 2007
Replies: 5
Views: 1,129
Posted By 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


#!usr/bin/perl
my $a = "one";
my $b = "two";...
Forum: Python Oct 24th, 2006
Replies: 0
Views: 1,261
Posted By 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...
Forum: Python Sep 23rd, 2006
Replies: 6
Views: 1,528
Posted By msaenz
still can't figure out how to append the last list into a tuple...does anyone stillhave any ideas. i tried popping and appending what was left and so forth. and yeah...still stuck any more ideas...
Forum: Python Sep 22nd, 2006
Replies: 6
Views: 1,528
Posted By msaenz
sorry i just copied it and pasted it from my textedit. i was using the command line in gentoo.... i was working mostly with biopython and zope, never really persay did simple things in python. i just...
Forum: Python Sep 22nd, 2006
Replies: 6
Views: 1,528
Posted By msaenz
class dimensions:
def __init__(self, listofTuples):
self.expr = listofTuples

def sub(self,other):
for value in self.expr:
if not value in other.expr:
return "incompatible"

return self.expr
Forum: Python Sep 21st, 2006
Replies: 6
Views: 1,528
Posted By msaenz
:mrgreen: hi im am tryingto create a dimensional analysis thing going on and so far i have this
def mult(self,other):
tempTuple1=list()
tempTuple2=list()

i=0...
Forum: Python Jul 10th, 2006
Replies: 10
Views: 2,403
Posted By msaenz
Thank for your help actually I am part of a REU from the National Science Foundation grant at my university and my research is consisting of using FASTA files and Plone an open source content...
Forum: Python Jul 10th, 2006
Replies: 1
Views: 1,584
Posted By 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...
Forum: Python Jul 10th, 2006
Replies: 10
Views: 2,403
Posted By msaenz
yes that is exactly what i wanted to do! i wanted to take the numbers after the gi to use as identifiers instead of the the numbers after the ref since some protiens have the same ref numbers since...
Forum: Python Jul 8th, 2006
Replies: 10
Views: 2,403
Posted By msaenz
Pretty decent, i copied and pasted and probabaly messed up how my code looks, the index comes from the
index_file(file_to_index,index_file_to_create,function_to_get_index_key)
if you look at the...
Forum: Python Jul 8th, 2006
Replies: 10
Views: 2,403
Posted By 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...
Forum: Community Introductions Jul 1st, 2006
Replies: 1
Views: 757
Posted By 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...
Forum: Python Jul 1st, 2006
Replies: 1
Views: 2,009
Posted By msaenz
Hi everyone,
I am doing a bioinformatics project and I have this code:

def three2one(prot):
code = {"G" : "6", "A" : "7", "L" : "1", "I" : "4",...
Showing results 1 to 34 of 34

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC