I'm working on a project in Python that I'm having trouble with. I've asked so many people but they seem to not be able to help me :/ I'm coding a little program that executes system commands. The idea is that one machine opens the server and the other one opens the client and connects to the IP / Port. From there they can execute system commands and obtain the output. Only problem is, with the output, I get something like this: [code] Enter a command: ls got: ls received: 2 Enter a command: [/code] I want the output of …

Member Avatar
Member Avatar
+0 forum 11

Hello Please help me to understand the following What are Compilation time Parameters?? Is Excetution time and run time are same?? Please answer above in realtion with web development. Also is this line correct ?? Our thesis Main objective is to use effective web-crawling by the means of cluster analysis and page ranking algorithms to make it enhanced in terms of Execution Time, Compilation Time Parameters.

Member Avatar
+0 forum 0

I have introduced an algebra for a new memory model. Now I need to implement this using Java. Basic step of my program is: Once we need to execute an application program (exe file), My program should accept that and classify it according to its functioning. do you have any suggetions for this in java code?

Member Avatar
Member Avatar
+0 forum 10

i'm using visual studio 2008 implementing a project in vb data base is ms access. its about 500 lines of code. its taking llllllllllllllllllllllot of time for execution. can any one help me please to improve speed...?

Member Avatar
Member Avatar
+0 forum 8

Hi, I am executing below query. db.leads.find(); How to get execution time(in milli seconds) it take.

Member Avatar
Member Avatar
+0 forum 1

hai, i am new to perl programming. Am writing perl script to open an generator.exe file in my system. this generator.exe file when opens asks for arguments to enter one after other how ever the sequence of arguments is always same(eg like 6,172.24.569.25,saw_200.wav,u,0,1) and i am stuck at a point of how to open the generator.exe file from my perl script and send the arguments to the file. please help me.

Member Avatar
Member Avatar
+0 forum 2

Hi all! I just have a quick question about the execution of a copy constructor. This is the code i'm testing my work with as I'm busy learning for a test. Class file: Clock :: Clock (int h, int m, int s) { hr = h; min = m; sec = s; cout << " Default constructor " << endl ; } Clock :: Clock ( const Clock & c) { hr = c.hr; min = c.min ; sec = c.sec ; cout << " Copy constructor " << endl ; } Clock Clock :: LunchTime () { hr = …

Member Avatar
Member Avatar
+0 forum 3

I have three scripts running under crontab and theyre executing perfectly (see the log below): Oct 9 10:40:01 servercharlie CRON[29850]: (root) CMD (php -q /var/www/folder/script-3.php) Oct 9 10:41:01 servercharlie CRON[29861]: (root) CMD (php -q /var/www/tasks/script-1.php) Oct 9 10:42:01 servercharlie CRON[29867]: (root) CMD (php -q /var/www/tasks/script-1.php) Oct 9 10:43:01 servercharlie CRON[29873]: (root) CMD (php -q /var/www/tasks/script-1.php) Oct 9 10:44:01 servercharlie CRON[29879]: (root) CMD (php -q /var/www/tasks/script-1.php) Oct 9 10:45:01 servercharlie CRON[29887]: (root) CMD ( php -q /var/www/script-2.php) Oct 9 10:45:01 servercharlie CRON[29888]: (root) CMD (php -q /var/www/tasks/script-1.php) Oct 9 10:45:01 servercharlie CRON[29889]: (root) CMD (php -q /var/www/folder/script-3.php) Oct 9 10:46:01 servercharlie …

Member Avatar
Member Avatar
+0 forum 7

Hi Everyone. It's been a while since I was on here last, but ran into an interesting problem with a nested for loop that I cannot solve. Hoping someone here will know the answer. I placed breakpoints in my code at the For x=1 to 10 line and after to see where run-time is ending. For some reason VBA is not executing the loop at all. Does anyone know what I'm missing? Thanks in advance. sub help() Dim x As Integer Dim y As Integer Dim lastcell As Long Dim ws As Worksheet Dim wscurr As Worksheet Dim gcounter As …

Member Avatar
Member Avatar
+0 forum 6

# **program editor** # how to create a **program editor** for compiling and executing java programs?i need the codings...

Member Avatar
Member Avatar
+0 forum 5

Well, as you might know, when you are attempting to run a script from poweshell and have not used: Get-ExecutionPolicy You will get File C:\scripts\test.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get- help about_signing" for more details. At line:1 char:19 + c:\scripts\test.ps1 <<<< So i did use this `get-executionpolicy` thing at the end. And i got a lovely message from the console: Restricted So i tried Set-ExecutionPolicy RemoteSigned But then from the console i got another message: Get-ExecutionPolicy : Cannot bind parameter 'Scope'. Cannot convert value "RemoteSigned" to type "Microsoft.PowerShell ExecutionPolicyScope" …

Member Avatar
Member Avatar
+0 forum 5

i am facing difficulty in updating msacess database for several columns with following code [CODE]Public Sub connect() Dim path As String path = App.path & "\chss.mdb" cnn.CursorLocation = adUseClient If rs.State = 1 Then rs.Close cnn.Open "provider = microsoft.jet.oledb.4.0;persist security info=false;data source = " & path End Sub Public Sub SAVEEXPMAIN() cnn.Execute "update EMPCHSS set cccno = '" & Text2 & "', GENDER = '" & Combo4 & "',DOB = '" & DTP1 & "', ben_name = '" & Text3 & _ "', AGE = '" & Label14 & "', rela_ship = '" & Combo1 & "', main_sub = '" …

Member Avatar
Member Avatar
+0 forum 3

firstly, please suggest some tags i should put for this post. onto the problem.. i saw this programming problem on projecteuler.net and wanted to solve it for fun. i solved it, but i tried first till 142857 the output was good, ok, satisfying here's the link where the problem is posted. [URL="http://projecteuler.net/index.php?section=problems&id=168"]http://projecteuler.net/index.php?section=problems&id=168[/URL] but as the problem specifies, we have to calculate the sum of all those kind of numbers, and display the last 5 digits of that sum. now i don't know if that can be done quicker mathematically using some reductions are series stuff. my solution is taking up …

Member Avatar
Member Avatar
+0 forum 10

hello all, i'm new to python programming and i'm facing a problem and need ur help i finished my script and i'm trying to execute it on windows cmd the script takes a file as an argument , when i run the script with the argument it works very well , but what i want to do is : i want the script to take the whole folder containing these files as an argument and calculate the result for them all. i tried the following : [CODE] C:\Python27\mtdb\src\refseq>python ../skew.py -e"A" *.gb [/CODE] but it didn't work thanks in advance.

Member Avatar
Member Avatar
+0 forum 20

Dear Sir/Madam How to check execution time of a procedure with the help of Timer control? How i have tried, i am attaching herewith my test program. Please guide me.

Member Avatar
Member Avatar
+0 forum 7

Dear Sir/Madam, I have two types of procedure for one/same result. No. 1 procedure is very long without loop and no. 2 procedure is sort with many loops. So I want to check those procedure, which one is taking less time than another. Please guide me.

Member Avatar
Member Avatar
+0 forum 10

Hi to all experts in the forum. I know scripts can be executed through the command prompt,but what are other ways to execute it, if the file is on remote server. Please specify if any clarification is needed.

Member Avatar
Member Avatar
+0 forum 7

Hello, I just 'launched' my own SNIP which is supposed to be an advanced online portfolio for artists and photographers. One of the main features is the continuous preloading of all the images so that the artwork enlargements are shown instantly. SNIP is my 'demo' and it seems to be working fined in Mozilla, with IE playing up horribly in one way: there is this lengthy Javascript function (I'm using the good old MM_preloadImages) preloading all the 200-odd photographs of the website. Every page of this website is calling this same function, as I reckoned it would, if the user …

Member Avatar
+0 forum 0

Hello, I have implemented different sorting algorithms (bubble sort, merge sort, heap sort, etc...) and want to calculate the running time for each one on different sets of data. I'm using Visual Studiois but am familiar with Dev C++ and Xcode on Mac. I used C++. Is there some special command or menu option I can click so that I can record the running time and compare results?

Member Avatar
Member Avatar
+0 forum 13

Hi Friends I have two server 1. server 1 2. server 2 I want to execute a shell script in server 2 from server 1. shell script will returns few data i need to check in server 1 Please help me in this

Member Avatar
Member Avatar
+0 forum 9

Hello, Please disregard any small syntax errors I have made in this question, I’m trying to simplify a program that is many pages long. I have a program that has 2 parts, main.cpp and a form GUI.h. Both have functions that pass variables between themselves and I don't want to combine the two due to other aspects of their functionality. The form is loaded from running the main program using the Application::Run command. The idea of the form is that it is constantly open (viewable) and updates the values that it shows based on either: a) algorithm run in main.cpp; …

Member Avatar
Member Avatar
+0 forum 7

Happy new year and peace to you all! Can you please explain to me what is the execution time T(n) of the 2 algorithms? Algorithm 1: for i ← 1 to n do for j ← 1 to i do for k ← j to i+j do a ← a + 1 Algorithm 2: for i ← 1 to n do for j ← 1 to i^2 do for k ← 1 to j do a ← a + 1

Member Avatar
Member Avatar
+0 forum 1

The End.