Search
Display results as :
Advanced Search
Keywords

Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

View the whole list

RSS feeds

Yahoo! 
MSN 
AOL 
Netvibes 
Bloglines 
Consuming Python COM Server from .NET
Thu Dec 14, 2017 3:29 pmAdmin
I wanted to implement python com server using win32com extensions. Then consume the server from within the .NET. I used the following example to implement the com server and it runs without a problem but when I try to consume it using C# I got FileNotFoundException with the following message "Retrieving the COM class factory for component with CLSID {676E38A6-7FA7-4BFF-9179-AE959734DEBB} …
How to decide when to use Node.js?
Thu Dec 14, 2017 12:11 pmAdmin
I am new to this kind of stuff, but lately I've been hearing a lot about how good Node.js is. Considering how much I love working with jQuery and JavaScript in general, I can't help but wonder how to decide when to use Node.js. The web application I have in mind is something like Bitly - takes some content, archives it.

From all the homework I have been doing in the last few days, I …
How do I unload (reload) a Python module?
Thu Dec 14, 2017 12:09 pmAdmin
I have a long-running Python server and would like to be able to upgrade a service without restarting the server. What's the best way do do this?
Code:
if foo.py has changed:
    unimport foo  <-- How do I do this?
    import foo
    myfoo = foo.Foo()


Answers
You can reload a module when it has already been imported by using the reload builtin function in Python 2:
Code:
import foo

while …
httpd mod_wsgi for python3.4 not working in centos7
Thu Dec 14, 2017 12:00 pmAdmin
I've Django application running in centos7 using python3.4. I'm using apache for webserver. BUt i'm getting following errors:

[Tue Dec 05 09:48:17.048763 2017] [:error] [pid 8470] [remote 103.194.69.2:100] mod_wsgi (pid=8470): Target WSGI script '/var/www/hello_world_django/hello_world_django/wsgi.py' cannot be loaded as Python module. [Tue Dec 05 09:48:17.049021 2017] [:error] [pid 8470] [remote 103.194.69.2:100] mod_wsgi (pid=8470): Exception occurred processing WSGI script '/var/www/hello_world_django/hello_world_django/wsgi.py'. [Tue Dec 05 09:48:17.049272 2017] [:error] …
Pyvmomi - Assign VM to specific folder with non-unique name
Thu Dec 14, 2017 10:58 amAdmin
I'm trying to figure out how to assign a VM to a folder that does not contain a unique name. I'm currently testing with the clone_vm.py template. With the sample, I have the ability to set the folder, but it does not work correctly if there's nested folders with the same name (example below). I would like to make sure the folder assigned is the "Linux/Dev" folder, but I can only pass …
how solving Problem Gdal_rasterize nodata_value does not work ’
Thu Dec 14, 2017 10:54 amAdmin
I want to rasterize a source layer made of polygons. No matter what value I assign to "NoData_value", the outcome in my array is always = 0. I am using python 3.4. Can anyone help me understand please ?
Code:
source_srs = source_layer.GetSpatialRef()
x_min, x_max, y_min, y_max = source_layer.GetExtent()

# parameters of output file
xSize = math.ceil((x_max - x_min) …
Social bookmarking
Social bookmarking digg  Social bookmarking delicious  Social bookmarking reddit  Social bookmarking stumbleupon  Social bookmarking slashdot  Social bookmarking yahoo  Social bookmarking google  Social bookmarking blogmarks  Social bookmarking live      

Bookmark and share the address of net media on your social bookmarking website
Top posters
155 Posts - 100%
January 2018
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
293031    

Calendar

Most active topic starters
Shopmotion


Statistics
We have 1 registered userThe newest registered user is AdminOur users have posted a total of 123 messagesin 123 subjects