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
~4K People Reached
Favorite Tags
Member Avatar for iwanttolearnc

is it possible for me to use user-uploaded data ,such as tab delimited data in a text file, only in memory? this is because i dont want to save the files in the server.

Member Avatar for pintukennady31
0
121
Member Avatar for iwanttolearnc

From this [article](http://www.daniweb.com/web-development/asp/threads/42314/exporting-asp-pages-to-excel) i found this code snippet that imports html data to excel: <% Response.ContentType = "application/vnd.ms-excel" Response.AddHeader "Content-Disposition", "filename=excelfile.xls" %> <table> <tr> <td>Category Name</td> <td>Category Description</td> </tr> <tr> <td>Software</td> <td>Holds data for software</td> </tr> <tr> <td>Hardware</td> <td>Hardware related data</td> </tr> </table> However, what i want to do is …

Member Avatar for jasonsarino
0
349
Member Avatar for iwanttolearnc

im currently studying having a python program supply data to a website. to do this, i am working with a simple example. as a disclaimer to you guys: im quite new with webservers and websites so please bear with me. 1. the python program simply generates a random number continuously …

Member Avatar for iwanttolearnc
0
174
Member Avatar for iwanttolearnc

basically my application will move in 3d space based on input from the user. the model cannot be a simple shape so using vpython alone is not really possible. any other libraries you might suggest sirs?

0
95
Member Avatar for iwanttolearnc

im trying my hand at calling c functions from python. im reading up the tutorial [URL="http://csl.sublevel3.org/C-functions-from-Python/"]http://csl.sublevel3.org/C-functions-from-Python/[/URL]. however part of the tutorial says that i should [QUOTE]Compiling dynamic libraries on Mac OS X is different from the usual gcc -shared you might be used to: gcc -dynamiclib -I/usr/include/python2.3/ -lpython2.3 -o myModule.dylib …

Member Avatar for gerard4143
0
223
Member Avatar for iwanttolearnc

im trying my hand at reading data via serial communications on a windows 32bit computer. ive accomplished this, extremely crudely and have to some degree been successful. the device i am trying to read sends data in the format $A.B.C$ followed by a '\n' or newline. using the code written …

Member Avatar for Adak
0
203
Member Avatar for iwanttolearnc

im trying my hand at calling c functions from python. im reading up the tutorial [URL="http://csl.sublevel3.org/C-functions-from-Python/"]http://csl.sublevel3.org/C-functions-from-Python/[/URL]. however part of the tutorial says that i should [QUOTE]Compiling dynamic libraries on Mac OS X is different from the usual gcc -shared you might be used to: gcc -dynamiclib -I/usr/include/python2.3/ -lpython2.3 -o myModule.dylib …

Member Avatar for iwanttolearnc
0
230
Member Avatar for iwanttolearnc

hello there guys. im quite confused regarding the use of pyserial classes. ive been reading up on the pyserial documentation. i followed an example and used the code below [CODE]import serial ser = serial.Serial (0 , baudrate = 57600 , timeout = 1) #open serial port (1) - 1 line …

Member Avatar for iwanttolearnc
0
171
Member Avatar for iwanttolearnc

hello sirs. im trying to turn two 8-bit hex characters that represent the lsb and msb of an integer. below is the code i am using. i am getting output though im not sure of the validity. [CODE] char a = 0x01; //msb char b = 0x3D; //lsb short int …

Member Avatar for WaltP
0
116
Member Avatar for iwanttolearnc

im trying to create a program that reads a text file and plots the data using matplotlib. however, what i want to do is subdivide the each major y-axis display into 10 smaller segments. ive tried matplotlib.pyplot.yscale but i cant seem to quite get the hang of it. any help …

Member Avatar for shibby
0
913
Member Avatar for iwanttolearnc

good day and a happy new year to you folks. im trying to copy the contents of one text file to another text file but i cant seem to get it right. written below is the code im using but it does not seem to work. any help please? [CODE]#include …

Member Avatar for iwanttolearnc
0
213
Member Avatar for iwanttolearnc

im reading a text file that contains data in a fashion similar to this $1.2.3.4.5.6$ %7.8.9.10.11.12% *a.b.c.d.e* what i want to do is read only data enclosed by '$' and skip to the next line if the data contained are not. written below is my code. im kind of stuck …

Member Avatar for iwanttolearnc
0
132
Member Avatar for iwanttolearnc

ive been trying my hand on using modules to make my codes cleaner. i started off with a simple case. i created a module, usermodule.py, which i will pass to a main program openme.jpg - 640x480 [CODE] #this is usermodule.py import Image #image = Image.open ('openme.jpg') #imload = image.load() def …

Member Avatar for iwanttolearnc
0
120
Member Avatar for iwanttolearnc

[CODE]im=Image.open ("trial.jpg") a = im.resize((300,300), Image.ANTIALIAS) b = a.save("im.jpg") im1 = Image.open ("im.jpg") loadres = numpy.array(im1)[/CODE] ive resized image trial to 300x300 image and saved it as im.jpg. but once i turn it into an array and check image sizes this is what i get [CODE]>>> im.size (450, 400) >>> …

Member Avatar for iwanttolearnc
0
78
Member Avatar for iwanttolearnc

im quite new to python so forgive my stupidity. ive downloaded numpy and here are a few things i understand regarding images and numpy 1.images are made up of pixels that have coordinates, a 2d array i believe 2.numpy has the ability to handle arrays and split them what i …

Member Avatar for iwanttolearnc
0
201
Member Avatar for iwanttolearnc

the problem is that of a path planning algorithm. the obstacles will be rectangular shaped boxes. what i need to do is detect the rectangular boxes, and then add a black "aura" around these boxes. any ideas on how i go about doing this?

Member Avatar for woooee
0
95
Member Avatar for iwanttolearnc

good day guys. i was studying a particular block of code and came across an operator: ->. im not exactly sure what it does. i found some notes saying that ptr-> is equivalent to(*ptr). for the life of me i just cant see how that applies here. care to help? …

Member Avatar for iwanttolearnc
0
90
Member Avatar for iwanttolearnc

what my code does is it waits for the user to type in "led" and performs the blink function. what i am trying to do is introduce the letter 'p' as a command to stop the blinking. what happens is that blink is only executed once. [CODE]if (!(strcmp(userinput, led))){ //condition …

Member Avatar for iwanttolearnc
0
111
Member Avatar for iwanttolearnc

[CODE]<?php $file = 'GPSserial.txt' or die('could not open file!'); $handle = @fopen($file, "r") or die("could not open file!"); if ($handle) { while (!feof($handle)) { $buffer = fgets($handle, 4096); $GPSstr = $buffer; $GPSarray = explode(',', $GPSstr); if ( $GPSarray[0] == '$GPGGA'){ echo 'congrats'; } else{ // move to the next line …

Member Avatar for iwanttolearnc
0
155
Member Avatar for iwanttolearnc

[CODE]return((int)ADHR << 2);[/CODE] im trying to learn what a certain function does and then i stumble upon this part. i do get that << 2 means shift left by 2. what i do not know is the (int)ADHR part. can anyone help me out with this? thank you

Member Avatar for iwanttolearnc
0
100
Member Avatar for iwanttolearnc

im trying to use c to interface with a zilog microcontroller. the problem is that i cant do much without the library <ez8.h>. ive been searching the web now for any links to download this particular library to no avail. does anyone know where i can get this library? thanks …

Member Avatar for iwanttolearnc
0
151
Member Avatar for iwanttolearnc

Good day to you guys! im having a bit of a problem using strtok. im currently tinkering with extracting gps data, which are separated by commas. ive seen code in several forums but most of them assign the output of strtok to the same char pointer. what i want to …

Member Avatar for jephthah
0
194