import opencv error (DLL load failed)

2016-04-06 Thread Xristos Xristoou
hi i have windows 10 and python 3.5.1 and i want to install open cv. first i go to http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv and download the opencv_python-3.1.0-cp35-none-win_amd64.whl from command prompt i install with pip. pip install \opencv_python-3.1.0-cp35-none-win_amd64.whl and

Re: install open cv on windows 10 and python 3.5

2016-04-01 Thread Xristos Xristoou
Τη Παρασκευή, 1 Απριλίου 2016 - 1:56:52 μ.μ. UTC+3, ο χρήστης Xristos Xristoou έγραψε: > hello, > > i have windows 10 and python 3.5 and i want to use > open cv but i think so opencv work only on python 2.7 ? > and i install this http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv

Re: install open cv on windows 10 and python 3.5

2016-04-02 Thread Xristos Xristoou
Τη Παρασκευή, 1 Απριλίου 2016 - 1:56:52 μ.μ. UTC+3, ο χρήστης Xristos Xristoou έγραψε: > hello, > > i have windows 10 and python 3.5 and i want to use > open cv but i think so opencv work only on python 2.7 ? > and i install this http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv

testing python program,project and django site

2016-04-04 Thread Xristos Xristoou
hello, i am python user and i have some projects,programs and sites with django in python. i want one more step deeper,i want to test my programs for bugs,weaknesses,vulnerability,security or penetration test,on my sites for crashes(because use python apps).because the user i am now on the

python for complte program ?

2016-05-20 Thread Xristos Xristoou
hello i want to ask if a python is a good for to do it a complete program(.exe)? with user interface,module interface,background scripts where compile if the users calls some scripts,windows with interaction with the users? how can i do that with the python? how can libs need for this ? some

errors with QGIS API USING PYTHON

2016-05-20 Thread Xristos Xristoou
i want to use python API from the QGIS in my python idle out from QGIS program , but i have some errors if i try to import qgis.core in my idle. i have python 2.7 64 bit (my version) and i install QGIS via OSGeo4W64. first i try to set two PATHS PYTHONPATH =

Re: Python packages for hydrology and DEM

2016-04-19 Thread Xristos Xristoou
Τη Τρίτη, 19 Απριλίου 2016 - 9:19:33 π.μ. UTC+3, ο χρήστης Xristos Xristoou έγραψε: > I want to ask for hydrology python packages with complete function to > calculate hydrology tasks like fill,flow direction,flow accumulator and > more?or how can i find genetic algorithms for to do t

Python packages for hydrology and DEM

2016-04-19 Thread Xristos Xristoou
I want to ask for hydrology python packages with complete function to calculate hydrology tasks like fill,flow direction,flow accumulator and more?or how can i find genetic algorithms for to do this tasks to finaly create a complete hydro model with python. can someone tell me some

Re: scipy install error,need help its important

2016-04-17 Thread Xristos Xristoou
Τη Δευτέρα, 18 Απριλίου 2016 - 6:53:30 π.μ. UTC+3, ο χρήστης Xristos Xristoou έγραψε: after google search to many post propose install lapack and atla bt=ut i dont know > guys i have big proplem i want to install scipy > but all time show me error > i have python 2.7 and windows 1

scipy install error,need help its important

2016-04-17 Thread Xristos Xristoou
guys i have big proplem i want to install scipy but all time show me error i have python 2.7 and windows 10 i try to use pip install scipy and i take that error raise NotFoundError('no lapack/blas resources found') numpy.distutils.system_info.NotFoundError: no lapack/blas resources found

Re: scipy install error,need help its important

2016-04-17 Thread Xristos Xristoou
Τη Δευτέρα, 18 Απριλίου 2016 - 6:53:30 π.μ. UTC+3, ο χρήστης Xristos Xristoou έγραψε: > guys i have big proplem i want to install scipy > but all time show me error > i have python 2.7 and windows 10 > i try to use pip install scipy and i take that error > > raise NotFoundErr

Re: scipy install error,need help its important

2016-04-18 Thread Xristos Xristoou
Τη Δευτέρα, 18 Απριλίου 2016 - 6:53:30 π.μ. UTC+3, ο χρήστης Xristos Xristoou έγραψε: > guys i have big proplem i want to install scipy > but all time show me error > i have python 2.7 and windows 10 > i try to use pip install scipy and i take that error > > raise NotFoundErr

batch files and path in python (subprocess | sys)

2016-05-24 Thread Xristos Xristoou
hello i use some programs where support python api. but to can use that api from programs need to define some paths(pythonpath program and more) and call some batch files(if i not do that i cant access api support).create an .bat file where if i run i can use api. mybatch.bat set

.bat files and path in python(subprocess | sys)

2016-05-24 Thread Xristos Xristoou
hello i use some programs where support python api. but to can use that api from programs need to define some paths(pythonpath program and more) and call some batch files(if i not do that i cant access api support).create an .bat file where if i run i can use api. mybatch.bat set

image handling(donwloading/display) in django using html and form

2017-02-04 Thread Xristos Xristoou
i want to do some image processing using Django and now work and on the image handling(donwloading/display) using Django. first on my task i dont want to store that images on my server. but i have some problems. that my code : urls.py from django.conf.urls import url from . import views

DJANGO IMAGES QUESTION

2017-01-31 Thread Xristos Xristoou
who is the better method to take images from uses(visitors) on my web site and to return the new images(processing) back to users using DJANGO? i am new i dont know how to connect my python script with the html templetes to take the images and how to return? for example my script take images

Re: count points where is within the polygons using shapely and fiona

2017-01-30 Thread Xristos Xristoou
tell your proposal to count -- https://mail.python.org/mailman/listinfo/python-list

count points where is within the polygons using shapely and fiona

2017-01-29 Thread Xristos Xristoou
i tried to count points from the point shapefile where is within in the polygon shapefile but i fail.Maybe my code is complete wrong but i tried. any idea how to fix my code ? i want fast method because i have big data features from shapely.geometry import shape import fiona filepath1 =

DJANGO image processing

2017-02-11 Thread Xristos Xristoou
I want to create a django app with the base64 help where the users can upload images(specific ".tiff" ext) using DJANGO forms without model and without that images store in my server. and i will the users can be get back new processing image. i have success with encode/decode image with base64

python corrupted double-linked list error

2017-01-19 Thread Xristos Xristoou
i am a python 2.7 and ubuntu 16.04 user and i have unexpected error when try to excute some python scripts . i use pycharm and i have the some error when i try to run python script from the ubuntu terminal. the error : *** Error in `/usr/bin/python2.7': corrupted double-linked list: 0x0b83c880

Re: python corrupted double-linked list error

2017-01-19 Thread Xristos Xristoou
how to understand that ?solution ? -- https://mail.python.org/mailman/listinfo/python-list

python and dos files question

2016-10-05 Thread Xristos Xristoou
hello some programs allow to export tools to dos .bat files for running from command line. my question is how can i do to running .bat files and how can i do to define some variables from the .bat file before the running. for example i want to define 4 variable and run this .bat file with the

define variables in the txt file using python

2016-10-07 Thread Xristos Xristoou
hello i have one .txt file and i want to create python script with sys.argv or argparse or other package to define some variables in the txt file and i take some result. txt file maybe like this : input number 1= %var1% input number 2= %var2% result = %vresult(var1-var2)% how can i write

Re: define variables in the txt file using python

2016-10-08 Thread Xristos Xristoou
Τη Σάββατο, 8 Οκτωβρίου 2016 - 12:25:28 π.μ. UTC+3, ο χρήστης Xristos Xristoou έγραψε: > hello > > > i have one .txt file and i want to create python script with sys.argv or > argparse or other package to define some variables in the txt file and i take > some result. &

scipy tutorial question

2016-10-02 Thread Xristos Xristoou
hello i want to follow this scipy tutorial http://www2.geog.ucl.ac.uk/~plewis/geogg122-2011-12/dem2.html to calculate slope/aspect and more. first question,this is a good way to calculate slope/aspect with scipy ? can i find more easy way for this calculate ? second question and most

RASTER analysis(slope)

2016-10-01 Thread Xristos Xristoou
hello team i want to calculate slope and aspect from some RASTER IMAGE(.grid,tiff,geotiff) who is the better method to can i do this ? with numpy and scipy or with some package? thnx you team -- https://mail.python.org/mailman/listinfo/python-list

Re: RASTER analysis(slope)

2016-10-02 Thread Xristos Xristoou
Τη Σάββατο, 1 Οκτωβρίου 2016 - 8:52:13 μ.μ. UTC+3, ο χρήστης Xristos Xristoou έγραψε: > hello team > > i want to calculate slope and aspect from some RASTER > IMAGE(.grid,tiff,geotiff) > who is the better method to can i do this ? > with numpy and scipy or with some package

Couldn't load SIP module.

2016-11-19 Thread Xristos Xristoou
hello i using python 2.7.12 on ubuntu 16.04 and i have that error with SIP : Couldn't load SIP module. Traceback (most recent call last): File "", line 1, in ImportError: /usr/local/lib/python2.7/site-packages/sip.so: undefined symbol: PyUnicodeUCS2_AsUTF8String ('Qt version:', '4.8.7')

Re: Couldn't load SIP module.

2016-11-20 Thread Xristos Xristoou
Τη Σάββατο, 19 Νοεμβρίου 2016 - 10:45:16 μ.μ. UTC+2, ο χρήστης Xristos Xristoou έγραψε: > hello > i using python 2.7.12 on ubuntu 16.04 and i have that error with SIP : > > Couldn't load SIP module. > > > Traceback (most recent call last): > File "", line 1,

Raster top and lowe x,y how ca i get

2016-10-10 Thread Xristos Xristoou
How can i get left lower X,Y left top X,Y right lower X,Y and right Top X,Y from a raster image like dem(digital elevation model). I am nembie sorry if i have stupid quest -- https://mail.python.org/mailman/listinfo/python-list

SIP install error on windows

2016-12-12 Thread Xristos Xristoou
hello i want to install sip on windows bit using python 32 bit. i download sip from this link https://www.riverbankcomputing.com i try to install from cmd line : C:\WINDOWS\system32>cd C:\Users\username\Desktop\sip-4.17 C:\Users\username\Desktop\sip-4.17>python configure.py install and take

Re: SIP install error on windows

2016-12-12 Thread Xristos Xristoou
Τη Δευτέρα, 12 Δεκεμβρίου 2016 - 9:29:38 μ.μ. UTC+2, ο χρήστης Xristos Xristoou έγραψε: > hello i want to install sip on windows bit using python > 32 bit. > i download sip from this link https://www.riverbankcomputing.com > i try to install from cmd line : > > C:\WINDOWS\sy

geopandas bug ?

2017-01-14 Thread Xristos Xristoou
i want to create a simple spatial joing using geopandas but i thing so geopandas has bug ? geopandas code : from geopandas import gpd import geopandas points = geopandas.GeoDataFrame.from_file('points.shp') # or geojson etc polys = geopandas.GeoDataFrame.from_file('polygons.shp') pointInPoly

geopandas bug ?

2017-01-14 Thread Xristos Xristoou
i want to create a simple spatial joing using geopandas but i thing so geopandas has bug ? geopandas code : from geopandas import gpd import geopandas points = geopandas.GeoDataFrame.from_file('points.shp') # or geojson etc polys = geopandas.GeoDataFrame.from_file('polygons.shp') pointInPoly

Re: geopandas bug ?

2017-01-14 Thread Xristos Xristoou
Τη Σάββατο, 14 Ιανουαρίου 2017 - 3:43:10 μ.μ. UTC+2, ο χρήστης Peter Otten έγραψε: > Xristos Xristoou wrote: > > > i want to create a simple spatial joing using geopandas but i thing so > > geopandas has bug ? > > Have you tried the examples on <http://geopandas.

Re: geopandas bug ?

2017-01-14 Thread Xristos Xristoou
Τη Σάββατο, 14 Ιανουαρίου 2017 - 4:30:48 μ.μ. UTC+2, ο χρήστης Peter Otten έγραψε: > Xristos Xristoou wrote: > > > Τη Σάββατο, 14 Ιανουαρίου 2017 - 3:43:10 μ.μ. UTC+2, ο χρήστης Peter Otten > > έγραψε: > >> Xristos Xristoou wrote: > >> > >> >

Re: geopandas bug ?

2017-01-14 Thread Xristos Xristoou
Τη Σάββατο, 14 Ιανουαρίου 2017 - 4:30:48 μ.μ. UTC+2, ο χρήστης Peter Otten έγραψε: > Xristos Xristoou wrote: > > > Τη Σάββατο, 14 Ιανουαρίου 2017 - 3:43:10 μ.μ. UTC+2, ο χρήστης Peter Otten > > έγραψε: > >> Xristos Xristoou wrote: > >> > >> >

Re: geopandas bug ?

2017-01-14 Thread Xristos Xristoou
Τη Σάββατο, 14 Ιανουαρίου 2017 - 4:38:39 μ.μ. UTC+2, ο χρήστης duncan smith έγραψε: > On 14/01/17 11:18, Xristos Xristoou wrote: > > i want to create a simple spatial joing using geopandas but i thing so > > geopandas has bug ? > > > > > > > > geopanda

Re: geopandas bug ?

2017-01-14 Thread Xristos Xristoou
Τη Σάββατο, 14 Ιανουαρίου 2017 - 6:01:39 μ.μ. UTC+2, ο χρήστης Peter Otten έγραψε: > Xristos Xristoou wrote: > > > Τη Σάββατο, 14 Ιανουαρίου 2017 - 4:30:48 μ.μ. UTC+2, ο χρήστης Peter Otten > > έγραψε: > >> Xristos Xristoou wrote: > >> > >> > Τη

Re: geopandas bug ?

2017-01-14 Thread Xristos Xristoou
Τη Σάββατο, 14 Ιανουαρίου 2017 - 6:33:54 μ.μ. UTC+2, ο χρήστης Peter Otten έγραψε: > Xristos Xristoou wrote: > > >> I suggest that you file a bug report. > > > > Mr.Peter Otten do you see my shapefiles ?have instersection 100 to 100 i > > use instersection

Re: geopandas bug ?

2017-01-14 Thread Xristos Xristoou
Τη Σάββατο, 14 Ιανουαρίου 2017 - 8:09:53 μ.μ. UTC+2, ο χρήστης duncan smith έγραψε: > On 14/01/17 14:59, Xristos Xristoou wrote: > > Τη Σάββατο, 14 Ιανουαρίου 2017 - 4:38:39 μ.μ. UTC+2, ο χρήστης duncan smith > > έγραψε: > >> On 14/01/17 11:18, Xristos Xristoou wrote:

topology rules in python

2016-12-20 Thread Xristos Xristoou
I have a PostGIS database with shapefiles lines, polygons and points and I want to create a topology rules with python. Any idea how to do that ?some packages ? I like some easy way to do that because I am newbie but its OK. Some topology rules when I want. shapefile must not have gaps

add processing images in the model.py using django

2017-03-30 Thread Xristos Xristoou
want to create a simple image processing using Django. my tasks is easy I have some user a simple model and that user can upload images in my project using html form or django form and then that images saves to upload_to='mypath' in upload from my model. but I have some questions : I have a

django authentication multi upload files

2017-03-30 Thread Xristos Xristoou
I have create I simple Django auth project and I need to add the user to can upload some images. multi upload images from internet views.py from django.shortcuts import render from django.http import HttpResponse def Form(request): return render(request, "index/form.html", {}) def

python script Non-ASCII character

2017-03-19 Thread Xristos Xristoou
hello i have create a python script when read some files using paths and do something with that files. if that paths for files is in english likes this "c:/my_path/english " then python script working but if that paths is in my main language or the path have some blank character then not

Re: python script Non-ASCII character

2017-03-19 Thread Xristos Xristoou
Τη Κυριακή, 19 Μαρτίου 2017 - 7:38:19 μ.μ. UTC+2, ο χρήστης Xristos Xristoou έγραψε: yes that i know but i need python 2.7 for my task -- https://mail.python.org/mailman/listinfo/python-list

Re: python script Non-ASCII character

2017-03-19 Thread Xristos Xristoou
Τη Κυριακή, 19 Μαρτίου 2017 - 7:38:19 μ.μ. UTC+2, ο χρήστης Xristos Xristoou έγραψε: how to define my script with encoding of ISO-8859-7 or UTF-8?and for the blanks ? -- https://mail.python.org/mailman/listinfo/python-list

Re: python script Non-ASCII character

2017-03-19 Thread Xristos Xristoou
Τη Κυριακή, 19 Μαρτίου 2017 - 7:38:19 μ.μ. UTC+2, ο χρήστης Xristos Xristoou έγραψε: @Terry non-ascii in pathnames i need for ex :var1="C:\Users\username\Desktop\my language\mylanguage\myfile" and for the blank ? -- https://mail.python.org/mailman/listinfo/python-list

Re: python and databases

2017-03-15 Thread Xristos Xristoou
Τη Τρίτη, 14 Μαρτίου 2017 - 9:59:42 μ.μ. UTC+2, ο χρήστης Xristos Xristoou έγραψε: first thx for response second i cant use additional packate because i build tool for other python program and that use standar python only, sqlite is in standar python 2.7 @Irmen de Jong ? can use quyries in CSV

python and pyqt4

2017-03-14 Thread Xristos Xristoou
i will want to create a simple python script with pyqt4 and Q designer where the user put a number (line_edit) and if that number is something the user take back three new codes(lineEdit_2,lineEdit_3,lineEdit_4) and if user press ok(buttonBox) then plugin do something else in the some GUI. for

python and databases

2017-03-14 Thread Xristos Xristoou
I have a database in microsoft ACCESS with about 150 records.. if I want to get some data from this database using a query in python and i want to store in some variables in python that will do this ? to avoid the 150 if ...: Using the standard library the python? know easily put it an SQL

relative paths connect using python

2017-03-20 Thread Xristos Xristoou
i have a little confused problem. i want to store some paths from images using python 2.7 in windows 10. i have some relative path like this var1='C:/my/store/path' and in the final folder where in my example is the name 'path' inside that folder i have some images like this : -path

Re: relative paths connect using python

2017-03-20 Thread Xristos Xristoou
Τη Δευτέρα, 20 Μαρτίου 2017 - 7:05:33 μ.μ. UTC+2, ο χρήστης Xristos Xristoou έγραψε: > i have a little confused problem. i want to store some paths from images > using python 2.7 in windows 10. > i have some relative path like this var1='C:/my/store/path' and in the final > folder

auth select chooses in forms.py

2017-04-09 Thread Xristos Xristoou
I have read this code in this question and look nice. but if I have user auth and I want user select only your odjects how to change that code ?for ex chooses your personal upload images. from django.forms.widgets import Select class ProvinceForm(ModelForm): class Meta:

django user images

2017-04-11 Thread Xristos Xristoou
hello if i want to create a query in django with to take all images and preview that list in html like easy work. but if want in html page preview only the personal images where login user what changes i need in my code ? model.py class MyModel(models.Model): user =

how to get image url from django form

2017-04-15 Thread Xristos Xristoou
i have create a simple django form where the authentication user can select one of personal images where have upload before and i want do something with that request in my views.py. but i dont know how to take the image url from that request in my view because first i using request.user in the

take select request from django from

2017-04-16 Thread Xristos Xristoou
hello i have create a select django form with list of images for per user. How to take that select request in my views.py ? i have success only to create correct that select list but i need take that select request but i dont know how. models.py class MyModel(models.Model): user =

python/gui question

2017-03-09 Thread Xristos Xristoou
i want to create a very simple python plugin using QT designer but i an not sure how to connect my variable from gui to my python script. my gui is simple have only one lineEdit and ok or cancel. in the gui (widget): 20 90 171 31 def run(self):

django add images to models.py from views.py

2017-04-01 Thread Xristos Xristoou
I create a simple Django authentication app and work fine. now I want to add a python script where to can do some simple image processing. my python script for processing work fine and I put in the views.py. my question is the new image created from the script how to can add back to image from

DJANGO cannot import name _compare_digest

2017-06-28 Thread Xristos Xristoou
hello i have python 7.13 DJANGO 1.11.2 version django-crypto 0.20 version on windows 10. i want to create a DJANGO app but anytime to try to migrate i take that error : from django.utils.crypto import get_random_string File "C:\Python27\lib\site-packages\django\utils\crypto.py", line

Re: DJANGO cannot import name _compare_digest

2017-06-28 Thread Xristos Xristoou
i dont have 'operator.py' in my system only 'test_operator.py' and 'fix_operator.py' if : import sys print sys.modules['operator'] i get this : that say me how to rename it? -- https://mail.python.org/mailman/listinfo/python-list

Re: python script is slowly after use multiprocessing

2017-07-04 Thread Xristos Xristoou
@MRAB tell me your proposal for this ? @Ben Bacarisse i dont get some error,i have wrong map ? -- https://mail.python.org/mailman/listinfo/python-list

python script is slowly after use multiprocessing

2017-07-03 Thread Xristos Xristoou
i have create an image processing python function. my system have 4 cores + 4 threads. i want to use multiprocessing to speed up my function,but anytime to use multiprocessing packages my function is not faster and is 1 minute slowly. any idea why ?first time use multiprocessing packages.

How to decompile an exe file compiled by py2exe?

2017-06-13 Thread Xristos Xristoou
hello How to decompile an exe file compiled by py2exe? in my file i have a library.zip file i dont if that help this work. i need some easy because i am very new i try some programs but without results. -- https://mail.python.org/mailman/listinfo/python-list

python and post gis question

2017-06-16 Thread Xristos Xristoou
I have create a python script where use post gis queries to automate some intersection tasks using postgis database. in my database I have polygons,points and lines. here my snippet code of my script : try: if str(geomtype) == 'point': geomtype = 1 elif

Re: python and post gis question

2017-06-17 Thread Xristos Xristoou
Τη Παρασκευή, 16 Ιουνίου 2017 - 10:59:10 μ.μ. UTC+3, ο χρήστης Xristos Xristoou έγραψε: > I have create a python script where use post gis queries to automate some > intersection tasks using postgis database. > > in my database I have polygons,points and lines. > > here my

Re: python and post gis question

2017-06-18 Thread Xristos Xristoou
Τη Παρασκευή, 16 Ιουνίου 2017 - 10:59:10 μ.μ. UTC+3, ο χρήστης Xristos Xristoou έγραψε: > I have create a python script where use post gis queries to automate some > intersection tasks using postgis database. > > in my database I have polygons,points and lines. > > here my

dont exetute my exe after decompile and change code

2017-06-14 Thread Xristos Xristoou
i have an .exe file where file compiled by py2exe in my .exe folder i have some .dll files one .exe file and library.zip file and inside this zip i have to many .pyccombile files. i have decompile this files from library.zip using this program and that program create me new file where i can

json to access using python

2017-06-18 Thread Xristos Xristoou
hello I have a json url and i want from this url to update my table in microsoft access,how to do that using python or some tool of microsoft access ? -- https://mail.python.org/mailman/listinfo/python-list

Re: django project avoid reload page where work algorithm

2017-10-08 Thread Xristos Xristoou
> You can use the smtplib module to send an email. ok but how to avoid pong reload on page ?can you help me ? -- https://mail.python.org/mailman/listinfo/python-list

Re: django project avoid reload page where work algorithm

2017-10-08 Thread Xristos Xristoou
> You mentioned email, so why not just ask for an email address to which > you will send the result? i have user email from register i need to do all automate,how to use celery for this ? -- https://mail.python.org/mailman/listinfo/python-list

django project avoid reload page where work algorithm

2017-10-07 Thread Xristos Xristoou
I have a website where the user can be put three numbers on my html template and get some results from my personal mathematical algorithm. the result save at user personal table on my database and can see in specific tab in my website. my problem is where the algorithm to calculate result maybe

Re: django project avoid reload page where work algorithm

2017-10-08 Thread Xristos Xristoou
Τη Κυριακή, 8 Οκτωβρίου 2017 - 6:35:28 μ.μ. UTC+3, ο χρήστης MRAB έγραψε: > On 2017-10-08 15:27, Xristos Xristoou wrote: > Do you mean "long reload"? user can put some numbers in my html template and i take that numbers and i sue it in specific mathematical algorithm that alg

Re: django project avoid reload page where work algorithm

2017-10-08 Thread Xristos Xristoou
Τη Κυριακή, 8 Οκτωβρίου 2017 - 10:48:38 μ.μ. UTC+3, ο χρήστης Richard Damon έγραψε: > On 10/8/17 11:58 AM, Xristos Xristoou wrote: > > Τη Κυριακή, 8 Οκτωβρίου 2017 - 6:35:28 μ.μ. UTC+3, ο χρήστης MRAB έγραψε: > >> On 2017-10-08 15:27, Xristos Xristoou wrote: > > >

automatically set field values in django using function

2017-08-29 Thread Xristos Xristoou
I need t define some values of fields automatically in my model using function. my function get input image path and calculate and I need that calculation results to define my database fields in Django. but first the upload image need to get the path in server and after i can to define the

python multiprocessing question

2017-09-03 Thread Xristos Xristoou
hello i have create a 4 function using python(f1,f2,f3,f4) and i have 4 cores in my system. def f1() ... ... def f2() ... ... def f3() ... ... def f4() ...

python multiprocessing

2017-10-07 Thread Xristos Xristoou
I have three functions in the python that each one puts an image (image path) as input and makes a simple image processing and creates a new image (image path) as output. in the example below, one function depends on the other, ie: the function of alg2 takes as input the image that generates

DJANGO app loose path from batch file

2017-11-06 Thread Xristos Xristoou
I try to learn more about Django celery and rabbitmq to create some async tasks and I have some question. Some programs can provide PYTHON API to can some development to use modules from this program in python. one most way to take that PYTHON API from this program is to use batch file like

django celery delay function dont exetute

2017-10-29 Thread Xristos Xristoou
hello I want to use celery tasks in my Django project and I try to follow this very good tutorial from Mr.Vitor Freitas. but in my case and if try to run it that tutorial project i don't get results back the functions don't execute and in my case and in tutorial(i take message to wait and

file download using django and javascript

2018-05-17 Thread Xristos Xristoou
i have create a django app with REST JSON API and i fill html table in web page from my JSON. here some examples javascript snippets : var field22=document.getElementById('f22'); field22.innerHTML=e.target.feature.properties.id; var field23=document.getElementById('f23');

django-raster rendering raster url

2018-07-03 Thread Xristos Xristoou
i want to add raster functionality in django using postgis database using django-raster package and this docs http://django-raster.readthedocs.io/en/latest/tms.html here my code : models.py from django.contrib.gis.db import models class RasterWithName(models.Model): raster =

PyQt4 QWebView cant load google maps markers

2018-03-22 Thread Xristos Xristoou
I want to create a simple python app using pyqt,QWebView and google maps with markers. The problem is that,the markers does not load inside the QWebView, as you can see they load just fine in the browser. here the simple code : import sys from PyQt4.QtCore import * from PyQt4.QtGui

PyQt4 QWebView cant load google maps markers

2018-03-22 Thread Xristos Xristoou
I want to create a simple python app using pyqt,QWebView and google maps with markers. The problem is that,the markers does not load inside the QWebView, as you can see they load just fine in the browser. here the simple code : import sys from PyQt4.QtCore import * from PyQt4.QtGui

Re: PyQt4 QWebView cant load google maps markers

2018-03-23 Thread Xristos Xristoou
tell some solution ?yes you are correct for some seconds show me the mark but only for some seconds.can i update my pyqt4 to show me the mark ? -- https://mail.python.org/mailman/listinfo/python-list