From honey33145 at gmail.com Fri Sep 4 13:46:07 2009 From: honey33145 at gmail.com (Navneet Khanna) Date: Fri, 4 Sep 2009 04:46:07 -0700 (PDT) Subject: [Python.NET] Invitation to connect on LinkedIn Message-ID: <804620613.1858665.1252064767185.JavaMail.app@ech3-cdn11.prod> LinkedIn ------------ I'd like to add you to my professional network on LinkedIn. - Navneet Confirm that you know Navneet Khanna https://www.linkedin.com/e/isd/717741405/EUSwjAQx/ Every day, millions of professionals like Navneet Khanna use LinkedIn to connect with colleagues, find experts, and explore opportunities. ------ (c) 2009, LinkedIn Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidgshi at yahoo.co.uk Wed Sep 9 12:53:21 2009 From: davidgshi at yahoo.co.uk (David Shi) Date: Wed, 9 Sep 2009 10:53:21 +0000 (GMT) Subject: [Python.NET] Shortening execution time of Python script Message-ID: <252377.21018.qm@web26307.mail.ukl.yahoo.com> I have a Python script that automatically downloads zip files containing large datasets from another server and then unzips the files to further process the data. ? It has been used as a geoprocessor of ArcGIS Server. ? The script works fine when two datasets each has several kilobytes size, but the script stops half way when datasets were about 11,000KBytes. ? I think that the execution time is too long and ArcGIS Server just simply killed the process. ? What actions can I try to reduce the execution time? ? ArcGIS Server only works on the basis of 32 bits and I was told that the maximum memory it can utilise is 4 MBytes. ? I should be grateful if someone can make suggestions/recommendations. ? Sincerely, ? David -------------- next part -------------- An HTML attachment was scrubbed... URL: From aemphil at gmail.com Wed Sep 9 15:11:45 2009 From: aemphil at gmail.com (Philippe LE GRAND) Date: Wed, 9 Sep 2009 08:11:45 -0500 Subject: [Python.NET] Shortening execution time of Python script In-Reply-To: <252377.21018.qm@web26307.mail.ukl.yahoo.com> References: <252377.21018.qm@web26307.mail.ukl.yahoo.com> Message-ID: <3927aa550909090611l733a54eap7eeb8b299365c259@mail.gmail.com> David, Are you doing this using Python.Net from within an ArcGIS .Net extension? If that is the case, I would suggest you use the standard ArcGIS Python geoprocessor for the task you describe. Either way, I believe you would have more success getting an answer in the ESRI ArcGIS geoprocessing and scripting forum ( http://forums.esri.com/forums.asp?c=93 ) As far as ArcGIS server goes: it is indeed a 32bit application, but the memory limit is close to 4GiB; There should be no problem handling an 11MiB dataset. Philippe On Wed, Sep 9, 2009 at 5:53 AM, David Shi wrote: > I have a Python script that automatically downloads zip files containing > large datasets from another server and then unzips the files to further > process the data. > > It has been used as a geoprocessor of ArcGIS Server. > > The script works fine when two datasets each has several kilobytes size, > but the script stops half way when datasets were about 11,000KBytes. > > I think that the execution time is too long and ArcGIS Server just simply > killed the process. > > What actions can I try to reduce the execution time? > > ArcGIS Server only works on the basis of 32 bits and I was told that the > maximum memory it can utilise is 4 MBytes. > > I should be grateful if someone can make suggestions/recommendations. > > Sincerely, > > David > > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > http://mail.python.org/mailman/listinfo/pythondotnet > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Toga.Hartadinata at ni.com Thu Sep 24 16:50:15 2009 From: Toga.Hartadinata at ni.com (Toga Hartadinata) Date: Thu, 24 Sep 2009 09:50:15 -0500 Subject: [Python.NET] Loading Python.Runtime.dll from a different location? Message-ID: Hi all, I am pretty new with pythondotnet. I have been able to setup the python.exe to run my .net dll. However I would like to use it with PythonWin extension package. I found that I have to put the Python.Runtime.dll next to the Pythonwin.exe in the site-package directory. Is there a way to put the Python.Runtime.dll in one location and make my Pythonwin.exe load the dll from the same location as if I was running it from python ? Thanks Toga Hartadinata -------------- next part -------------- An HTML attachment was scrubbed... URL: From fedry.kemilau at gmail.com Mon Sep 28 07:43:42 2009 From: fedry.kemilau at gmail.com (Fedry Kemilau) Date: Mon, 28 Sep 2009 13:43:42 +0800 Subject: [Python.NET] ByRef argument Message-ID: <2758edf90909272243g52cb9dfm37e4ac0f02c2b970@mail.gmail.com> Hello all, Could someone please help me to show how is it done to call .NET function in Python that accepts ByRef argument? -- Best regards, Fedry -------------- next part -------------- An HTML attachment was scrubbed... URL: