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
~10.0K People Reached
Favorite Forums
Favorite Tags
Member Avatar for karmstrong

0 down vote favorite I have created a network scanner, that looks for a specific port on a range of IP's. I would like to thread the application but I am getting and error message ERROR: for worker in range(network.hosts): TypeError: 'method' object cannot be interpreted as an integer Now …

Member Avatar for rproffitt
0
1K
Member Avatar for karmstrong

I am attempting to convert a C application to python. I am having difficultiy on this particular for loop. Any ideas how I might proceede? bool Enigma2C::encrypt(char *inString, char *outString) { int16 csum = 1, checksum = 0; int16 tmpSum = 0; int16 i = 0; strcpy(m_keyCode, inString); // Calculate …

Member Avatar for Leslie_1
0
629
Member Avatar for karmstrong

I have a list in python that I am printing to the screen. The current format is Option Key: [0, 3, 6, 8, 8, 5, 2, 0, 7, 1, 9, 5, 0, 7, 7, 4, 2] I would like it to be Option Key: 0 3688 5207 1950 7742 I …

Member Avatar for vegaseat
0
477
Member Avatar for karmstrong

In python if I know the volume label of a USB mass storage device is there a way to get its. Drive letter Windows Mount Point Linux Mount Point OSX Originally I was thinking either the sys library or the os library. i ahve found another library called PYUSB. Still …

Member Avatar for vegaseat
0
5K
Member Avatar for karmstrong

I'm wondering if anyone has any experiencing getting a python application to authenticate with google docs. I'm not sure how to begin. Goal: To update a google docs spreadsheet based of a CSV file on my local machine. Currently my google account is set for two factor authentication. Perhaps this …

Member Avatar for dashing.adamhughes
0
249
Member Avatar for karmstrong

I'm attempint to write a python application that will open a .csv file and look at comun one for certain string. If the string match print the row to a new .csv file. import csv input_file = csv.DictReader(open("stats.csv")) for row in input_file: print row

Member Avatar for Gribouillis
0
566
Member Avatar for karmstrong

I am having and issue getting my add to list function to work in my data structure list class. I have all functions working except addToPostion. addToHead, addToTail, deleteFromhead, deleteFromTail, and DeleteFromPosistion all work as expected. I'm confused on the addToPosistion. The entire .cpp file is posted. Any and all …

Member Avatar for karmstrong
0
306
Member Avatar for karmstrong

So my code will compile and I do get output but it does not look the way its suppose to. I'm also not certain I am doing the virtual functions properly Expected Output Telephone Number : NPA-NXX-Line Customer: CustomerName Number of Working Lines: NumWorkingTNs Current Output derived class WorkTelephoneNumber constructor …

Member Avatar for mazzica1
0
171
Member Avatar for karmstrong

So I am getting the below error messages with seem to do with vtable. I would assume this is in relation to Virtual functions. I'm not sure what i'm doing wrong here or even the correct corse of action. HELP :-) ? Ld /Users/krisarmstrong/Library/Developer/Xcode/DerivedData/CS215Lab4-cyvyxpagepfuqhdusjdgbpjctcis/Build/Products/Debug/CS215Lab4 normal x86_64 cd /Users/krisarmstrong/Documents/XCodeProjects/CS215Lab4 setenv MACOSX_DEPLOYMENT_TARGET …

Member Avatar for vijayan121
0
693
Member Avatar for karmstrong

I am having a couple of problems. I think I got the formatting down for the most part. I am having issues in a few calculations and how to iterate through them. Basically I need to take the radius and calculate the circumference and the volume. Once I have the …

Member Avatar for raptr_dflo
0
324
Member Avatar for karmstrong

I'm at the very last bit of this project. I think i am confusing myself at this point. I need to do one last function called showCost. The function is to print the total cost and the average cost. I'm at a loss one how to do this. Wonder if …

Member Avatar for MonsieurPointer
0
134
Member Avatar for karmstrong

Please take a look at the following code. When I do not put my pointers in an array the code works. See the commented out section. I thought it would be nice to do an array as I could then have more control over my output. I could also add …

Member Avatar for MonsieurPointer
0
137
Member Avatar for karmstrong

Please see that attached code. My output is as follows Please enter name : dog 0x7fff71771e60 Please Enter Type: Valid Choses Are (Game, Word, Compiler, Spreadsheet, DBase, Presentation : Game 0x7fff71771e60 Please Enter Cost: $ 20 Its like either the pointer or the getline is not clearing out memory properly. …

Member Avatar for karmstrong
0
170
Member Avatar for karmstrong

I need to write a function that will use the delete command on a pointer. I'm in left field. See what I have so far any suggestions. I don't think I'm quite getting what I need to pass to the function and pass back. #include <iostream> #include "cdrom.h" using namespace …

Member Avatar for karmstrong
0
127