Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #4K
~2K People Reached
Favorite Tags
Member Avatar for nephish

Hey there, i have a simple question about getting a script to do two things at once. like this. for i in range(100): print i time.sleep(.2) if i == 15: os.system('python /home/me/ipupdate.py') print 'done' when i run this, it stops at 15 and runs the script called out in the …

Member Avatar for nephish
0
173
Member Avatar for nephish

i have an interesting project at work going on. here is the challenge. i am using the serial module to read data from a serial input. it comes in as a hex. i need to make it a binary and compare it bit by bit to another byte. They have …

Member Avatar for nephish
0
157
Member Avatar for nephish

Hey there, i have been writing python scripts for about 4 months now so i am still very new at programming. that said, i need to build a gui app to handle some data manipulation from a database, set points, etc... what i would like is the easiest to learn …

Member Avatar for nephish
0
205
Member Avatar for nephish

Hey there, i have some python scripts that run with the cgi-module. all named whatever.py the thing is, firefox will open one that has a form on it, but not load the next one in line. it pops up a window that says what do you want me to do …

Member Avatar for nephish
0
169
Member Avatar for nephish

Hey there, i have a table in MySQL that is updated about every 5 minutes with about a hundred new records. For an application i am building, i only need the info from the most recent entry for each specific unit. But, i need all of the info in that …

Member Avatar for nephish
0
157
Member Avatar for Xeys

Hello, I noticed this forum when I was browsing for C++ material on the web. I am going to school and am learning C++, and will try to get through the C++ part 2 in the fall. I'm a Mac user, and would eventually like to write a command line …

Member Avatar for Gr8 '48 bow tie
0
54
Member Avatar for nephish

Hey there all, i have a question about how to point my python install to my sql database. when i enter this:[CODE] db = MySQLdb.connect(user="user", passwd="pass", db="myDB")[/CODE] i get this: [CODE]Traceback (most recent call last): File "<pyshell#1>", line 1, in -toplevel- db = MySQLdb.connect(user="user", passwd="pass", db="MyDB") File "/usr/lib/python2.4/site-packages/MySQLdb/__init__.py", line 66, …

Member Avatar for nephish
0
142
Member Avatar for stupidenator

Hey all, I am very new to python, but I hear that it can be used to handle web forms. Does anybody know of where I can find a good tutorial on how to create something that will handle form input? Thanks in advance. -Nick

Member Avatar for nephish
0
325
Member Avatar for nephish

i have an html form with a drop-down list that lists a bunch of images. how can i get my cgi script to load the image ? i have imported cgi and os text entered from a form and read from a file do ok, but i cant seem to …

Member Avatar for nephish
0
231
Member Avatar for nephish

hey there, i have written a script that gets my email messages, but i need to be able to strip off all of the stuff except the body of the message so i can write that to a text file. is there an easy way to do this ? Edit/Delete …

Member Avatar for nephish
0
212
Member Avatar for nephish

Hey there, i have a python cgi script that prints out html just fine in the Opera browser but doesnt print at all under FireFox. weird, eh? i am getting nothing in the apache logs about any error. perhaps its a firefox issue, but i doubt it. any suggestions. simple …

Member Avatar for nephish
0
156
Member Avatar for nephish

Hey there. Here is the deal.... i have a script that is supposed to open a file based on criteria from a web form. i cant seem to get it to work though. here is the code: [CODE]form = cgi.FieldStorage() DataRecord = form['DataTime'].value Customer = form['CustName'].value # should be automatically …

Member Avatar for nephish
0
165