This worked like a charm.
http://code.activestate.com/recipes/84317-easy-threading-with-futures/
--
https://mail.python.org/mailman/listinfo/python-list
> This sounds like homework... what have you tried, and what happened?
heheh naaah no cheating here. I just provided the example this way to make as
clear as possible what I want to do. Return the returned value from a threaded
function.
apparently this does not work as I hoped:
return Thread(
Maybe this is pretty simple but seems I am stuck...
def message_function():
return "HelloWorld!"
def thread_maker():
"""
call message_function()
using a new thread
and return it's "HelloWorld!"
"""
pass
Could someone please complete above script so that:
thread_mak
Id like to ask.. do you know any modern looking GUI examples of windows
software written in python? Something like this maybe:
http://techreport.com/r.x/asus-x79deluxe/software-oc.jpg (or hopefully
something like this android look:
http://chromloop.com/wp-content/uploads/2013/07/Skype-4.0-Andro
Somewhere i read..
sys.stdout.flush(): Flush on a file object pushes out all the data that has
been buffered to that point.
Can someone post here a script example with sys.stdout.flush(), where in case i
commented that i could understand what the difference really would be?
Whenever i try to re
This monitors also ip/port of incoming udp packets?
Or just tcp after a connection has been enstablished?
If i dont make any sense, plz correct me. Not much experience with networking
here :)
--
http://mail.python.org/mailman/listinfo/python-list
Or point me the right way in case this is not that simple to do.
--
http://mail.python.org/mailman/listinfo/python-list
Hi there. I have a script-service running on a remote server, listening on a
specific port. What i need here is to make this also maintain a log file of ALL
incoming connections.
Could someone suggest to me a simple codefunction example to implement that on
my main running service?
THX!!
--
h
Im using python 3.3 on win7 64bit and trying to connect to a MySQL database on
a remote server through a putty ssh tunnel.
Running the script below im getting "Physical connection to the database did
not activate!". What im i doing wrong?! I tried to find a working example but
couldnt find one.
What about the security though?
To be specific, i need to create an application (python 3.3 strictly) where
users will save/load their settings online to a remote hosted database. I do
not wish to change the database from listening to any other thing than
localhost for security reasons, so i a
> Alternatively, can you use PostgreSQL instead? :)
Yes there is such an option to be honest.
Would that be helpfull instead of MySQL?
--
http://mail.python.org/mailman/listinfo/python-list
> > HOWTO anyone?
>
> >
>
> > What im trying to succeed here is create one SSH tunnel, so that i can
> > connect from a python script running on my pc, to a remote MySQL database
> > running on my Host and id like to stick with Python 3.3 .
>
> >
>
> > I contacted my host and he informed me
HOWTO anyone?
What im trying to succeed here is create one SSH tunnel, so that i can connect
from a python script running on my pc, to a remote MySQL database running on my
Host and id like to stick with Python 3.3 .
I contacted my host and he informed me that this is the only way.
I tried pyc
Wow thats bad news. Any workaround?
What im trying to succeed here is create one SSH tunnel, so that i can connect
from a python script running on my pc, to a remote MySQL database running on my
Host and id like to stick with Python 3.3 .
Any thoughts?
--
http://mail.python.org/mailman/listinfo
>>> import sys
>>> print (sys.path)
returns:
['C:\\Python33\\Lib\\idlelib',
'C:\\Python33\\lib\\site-packages\\pip-1.4-py3.3.egg',
'C:\\Windows\\system32\\python33.zip', 'C:\\Python33\\DLLs',
'C:\\Python33\\lib', 'C:\\Python33', 'C:\\Python33\\lib\\site-packages']
then if i type:
>>> sys.path
Im having problems using paramiko after installation on my Win7 64bit system.
I can see both paramiko and pycrypto being "there" installed via pip list:
I have tried so many different ways but in the end im always getting the same
error when trying to import paramiko:
(i can import Crypto with no
Any advice?Plz?
--
http://mail.python.org/mailman/listinfo/python-list
Could you help me install PyQt5 properly in my Virtualenv folder and not only
globally?
I tried installing PyQt5 and sip with the use of pip but i was getting errors
all the time (Why is that? Are there any known pip issues along with PyQt5 and
sip?), so in the end i had to install it with the
Answer here:
http://stackoverflow.com/questions/1961997/is-it-possible-to-add-pyqt4-pyside-packages-on-a-virtualenv-sandbox
--
http://mail.python.org/mailman/listinfo/python-list
I tried to install SIP and PyQt5 using the pip install command but it didnt
work on both cases (i was getting errors), so i finally installed them using
the windows installers provided in riverbankcomputing website.
My problem though here is that whenever i try to create a new virtualenv
envirom
Yeah trying to run virtualenv under IDLE was a desperate move as i couldnt make
anything work under cmd.
Apparently my problem was that i did not have correctly setup the new path..
Solution for me was the following from
"http://forums.udacity.com/questions/100064678/pip-installation-instructi
Hi there.
Im using windows 7 64bit
I have installed python 3.3.2 in C:\Python33
and then easy_install , pip, and virtualenv.
But i do not know if the virtualenv installation is correct as i cant seem to
be able to create any virtual enviroment yet.
How can i check if everything is correct? What e
thx solved
--
http://mail.python.org/mailman/listinfo/python-list
Τη Τετάρτη, 3 Απριλίου 2013 12:43:43 μ.μ. UTC+3, ο χρήστης Wolfgang Maier
έγραψε:
> D. Xenakis hotmail.com> writes:
>
>
>
> >
>
> > Hi there, i installed python 2.7 (windows 32bit version) from
>
> > http://www.enthought.com/products/epd_free.php a
I tried to reinstall python 3.3 but there was not change :(.
I selected to run all component from my PC.
I'll give it a try with those registries.
--
http://mail.python.org/mailman/listinfo/python-list
Hi there, i installed python 2.7 (windows 32bit version) from
http://www.enthought.com/products/epd_free.php and after that i installed
official 3.3 version too. So now i got two python folders like this..
c:/Python27 and c:/Python33 .
My problem is that when im trying to execute a .py file, t
Τη Τρίτη, 2 Απριλίου 2013 10:44:43 μ.μ. UTC+3, ο χρήστης Sibylle Koczian έγραψε:
> Am 02.04.2013 18:10, schrieb David Robinow:
>
> >
>
> > 3)Downloaded and installed "PyQt4-4.10-gpl-Py3.3-Qt5.0.1-x64-2.exe"
>
> > from http://www.riverbankcomputing.com/software/pyqt/download ,
>
> >
I had also installed in the past python 2.7 . Now when im trying to run a .py,
interpreter 2.7 is always being called.. (also when im right clicking and
sellecting to run in IDLE, 2.7 is agai
n starting instead of 3.3) so PyQt4 is crashing. Any tip to make 3.3 the
default interpreter plz?
--
ht
Τη Τρίτη, 2 Απριλίου 2013 6:39:07 μ.μ. UTC+3, ο χρήστης D. Xenakis έγραψε:
> Hi there im trying to install PyQT (version
> PyQt4-4.10-gpl-Py3.3-Qt5.0.1-x64-2.exe) but i dont know how to make sure i
> have installed everything correctly. I tried to find documentation about this
> bu
Hi there im trying to install PyQT (version
PyQt4-4.10-gpl-Py3.3-Qt5.0.1-x64-2.exe) but i dont know how to make sure i have
installed everything correctly. I tried to find documentation about this but
most links were very dead..
So far so good.. i have:
1)Downloaded and installed "Python 3.3.0
Τη Τετάρτη, 20 Μαρτίου 2013 2:55:22 π.μ. UTC+2, ο χρήστης Terry Reedy έγραψε:
> On 3/19/2013 8:12 PM, D. Xenakis wrote:
>
> > Hi there, Im searching for an installation guide for PyQt toolkit. To
>
> > be honest im very confused about what steps should i follow for a
>
Hi there,
Im searching for an installation guide for PyQt toolkit.
To be honest im very confused about what steps should i follow for a complete
and clean installation. Should i better choose to install the 32bit or the
64bit windows version? Or maybe both? Any chance one of them is more/less
bu
Please correct me if im wrong..
PySide is LGPL and is free and by using that someone can develop commercial
(and non commercial) software, while being able at the same to choose between
both close and open Source.
PyQT4 Commercial Licence costs more than 300 Euro and by using that someone can
33 matches
Mail list logo