On 7/15/23 12:56, MRAB via Python-list wrote:
On 2023-07-15 07:12, YOUSEF EZZAT via Python-list wrote:
Hey!. i face a problem when i get setup packages by pip
when i code this : "pip install numpy" in my command line it gives me
error
"ModuleNotFoundError: No module named 'distutils'"
ple
On 2023-07-15 07:12, YOUSEF EZZAT via Python-list wrote:
Hey!. i face a problem when i get setup packages by pip
when i code this : "pip install numpy" in my command line it gives me error
"ModuleNotFoundError: No module named 'distutils'"
please, i need help for solving this problem
On Sat, Mar 26, 2016 at 6:20 PM, Joel Goldstick
wrote:
> I'm guessing you are on windows and you could google the error code, but
> also search the list because this question has been asked and answered I
> believe
A little knowledge helps. An upper word of 0x8007 indicates a COM
HRESULT error (0
On Sat, Mar 26, 2016 at 6:52 PM, Youssef Ghorab
wrote:
> dear python,i'm having a problem when i'm setting up the program
> 0x80070570 problem
> if you please could give me any advice will be cool.
> thanks in advance
> --
> https://mail.python.org/mailman/listinfo/python-list
>
I'm guessing you
On Monday, February 8, 2016 at 10:50:19 AM UTC, Mark Summerfield wrote:
> If you need 32-bit Python on Windows my advice is to install 3.4. If you need
> 32-bit and 64-bit Python on Windows, then I think it will only work with 3.4
> (or older), but not with 3.5's new installer.
>
> I have tried
If you need 32-bit Python on Windows my advice is to install 3.4. If you need
32-bit and 64-bit Python on Windows, then I think it will only work with 3.4
(or older), but not with 3.5's new installer.
I have tried installing 3.5.0 and 3.5.1 on several machines both 32- and 64-bit
Windows. The 3
On 2/4/2016 4:39 AM, Prince Thomas wrote:
Hi
I am an computer science engineer. I downloaded the python version 3.5.1.amd64
and just python 3.5.1.
The problem is when I install the program setup is failed and showing
0*80070570-The file or directory is
corrupted and unreadable. I install the n
On Mon, 28 May 2012 06:20:06 -0700, cate wrote:
> setup(**config)
>
> What is the construct **?
It expands the dict "config" into keyword arguments. A single * expands
to positional arguments.
A simple example:
args = [1, 2, 3]
kwargs = {'x': 4, 'y': 5}
somefunc(*args, **kwargs)
is expande
cate wrote:
I going thru a 101 and came upon this (http://
learnpythonthehardway.org/book/ex46.html)
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'My Project',
'author': 'My Name',
'url': 'URL to get it at.'
In article
,
cate wrote:
> I going thru a 101 and came upon this (http://
> learnpythonthehardway.org/book/ex46.html)
>
> try:
> from setuptools import setup
> except ImportError:
> from distutils.core import setup
>
> config = {
> 'description': 'My Project',
> 'author': 'My
Hi Kruptein,
Kruptein wrote:
> I think that apache and mod_python are good enough, but I'm not an
> expert.
>
> but I think that the security aspect for a large part depends on how
> secure your code is.
>
> You can have a very secure server setting, but somewhere a bug in your
> code that makes
News123 wrote:
> Hi,
>
>
> So far I never really had to ask this question and this is also, why I
> am stil a little shaky on this topic:
>
> So far the typical LAMP server existed already and contained already a
> lot of existing PHP web applications, which I couldn't remove.
> Therefore I just us
> I will only have one IP address and only port 443.
>
> 1.) What alternatives would exist compared to apache / mod_python
You can use a combination of mod_proxy and mod_rewrite to set up a
forwarding proxy in your Apache server. Let Apache deal with SSL,
virtual hosting etc. Then bind your appli
News123 a écrit :
Hi,
So far I never really had to ask this question and this is also, why I
am stil a little shaky on this topic:
So far the typical LAMP server existed already and contained already a
lot of existing PHP web applications, which I couldn't remove.
Therefore I just used mod_pyt
News123, 20.06.2010 13:12:
Now I have the opportunity to setup a server from scratch.
90% of the content will be non visual content over https with client AND
server certificates.
Access privileges will depend on the client certificate.
I will only have one IP address and only port 443.
1.) Wha
Paul Rubin wrote:
> mod_python is pretty dead.
It's now totally dead[1]. (Not pining for the fjords, either.)
1: http://blog.dscpl.com.au/2010/06/modpython-project-is-now-officially.html
--
http://mail.python.org/mailman/listinfo/python-list
News123 writes:
> 1.) What alternatives would exist compared to apache / mod_python
I think you could use stunnel to listen on port 443 and forward it to a
local port, where you'd have a python httpd, perhaps using the
SimpleHTTPServer module. Stunnel uses OpenSSL which handles client
certificat
I think that apache and mod_python are good enough, but I'm not an
expert.
but I think that the security aspect for a large part depends on how
secure your code is.
You can have a very secure server setting, but somewhere a bug in your
code that makes it insecure.
--
http://mail.python.org/mailm
On Fri, May 14, 2010 at 7:32 AM, AON LAZIO wrote:
> Hi,
> Say I have an application which requires a global settings for the user.
> When the user finishes setting those global variables for the app. Any class
> can use that variables (which are the same for all), something like that.
> What is
On Jan 20, 9:57 am, Roy Smith wrote:
> In article
> <45b0bf56-673c-40cd-a27a-62f9943d9...@r41g2000prr.googlegroups.com>,
> Georg Schmid wrote:
>
> > I've just started working with unittests and already hit a snag. I
> > couldn't find out how to implement a setup function, that is executed
> > on
Roy Smith wrote:
> You might have your setUp() method re-assign the global to an instance
> variable and then your test cases can access it via self.whatever.
> The reason for that is if at some point in the future you change your
> mind and decide to re-build the database in setUp() for each te
On Jan 20, 3:57 pm, Roy Smith wrote:
> In article
> <45b0bf56-673c-40cd-a27a-62f9943d9...@r41g2000prr.googlegroups.com>,
> Georg Schmid wrote:
>
> > I've just started working with unittests and already hit a snag. I
> > couldn't find out how to implement a setup function, that is executed
> > on
In article
<45b0bf56-673c-40cd-a27a-62f9943d9...@r41g2000prr.googlegroups.com>,
Georg Schmid wrote:
> I've just started working with unittests and already hit a snag. I
> couldn't find out how to implement a setup function, that is executed
> only _once_ before all of the tests. Specifically, I
Georg Schmid wrote:
> I've just started working with unittests and already hit a snag. I
> couldn't find out how to implement a setup function, that is executed
> only _once_ before all of the tests. Specifically, I need this for
> testing my database interface, and naturally I don't want to creat
On Mon, 2007-04-09 at 23:35 -0700, 7stud wrote:
> 2) When returning None, why use the idiom:
>
> Py_INCREF(Py_None);
> return Py_None;
>
> instead of:
>
> return Py_BuildValue("");
>
As Gabriel said, the preferred idiom is faster and clearer. Sufficiently
recent Pythons define the macro Py_RET
En Tue, 10 Apr 2007 03:35:35 -0300, 7stud <[EMAIL PROTECTED]>
escribió:
> 1) When you create a C array to map python names to the C functions
> that you defined:
>
> static PyMethodDef MyFunctions[] =
> {
> {"my_calc", (PyCFunction)my_func, METH_VARARGS, "my very speedy c
> function"},
>
En Tue, 10 Apr 2007 03:02:22 -0300, 7stud <[EMAIL PROTECTED]>
escribió:
> I can't find any documentation on the setup() function in the
> distutils.core module; specifically I want to know what the 'name'
> argument does. In some examples in the python docs, they use the name
> argument like th
Also:
1) When you create a C array to map python names to the C functions
that you defined:
static PyMethodDef MyFunctions[] =
{
{"my_calc", (PyCFunction)my_func, METH_VARARGS, "my very speedy c
function"},
{NULL, NULL, 0, NULL}
};
Why do you need to cast my_func to PyCFunction?
2) Whe
Ilias Lazaridis wrote:
> If I understood things right, setuptools extends the functionality of
> distutils
>
> Thus replacing within a setup.py:
>
> from distutils.core import setup
>
> with
>
> try:
> from setuptools import setup
> except ImportError:
> from distutils.core import setup
>
>
Am Dienstag, 5. April 2005 11:22 schrieb Irmen de Jong:
> > Python Remote Objects
>
> ^^^ what Heiko said :)
*biggrin*
--
--- Heiko.
listening to: Tool - Lateralus - 1 The Grudge.mp3
see you at: http://www.stud.mh-hannover.de/~hwundram/wordpress/
pgpKv3ALoPbZi.pgp
Description: PGP signature
Heiko Wundram wrote:
Am Montag, 4. April 2005 21:27 schrieb [EMAIL PROTECTED]:
Google for:
Python Remote Objects
^^^ what Heiko said :)
This is, assuming that the 'function' on the other computer
is implemented in Python too.
--Irmen
--
http://mail.python.org/mailman/listinfo/python-list
Am Montag, 4. April 2005 21:27 schrieb [EMAIL PROTECTED]:
>
Google for:
Python Remote Objects
or
Python XMLRPC
--
--- Heiko.
listening to: Nine Inch Nails - The Downward Spiral
see you at: http://www.stud.mh-hannover.de/~hwundram/wordpress/
pgpbsPKhjKOEY.pgp
Description: PGP signature
--
Hello,
There are two computer.
For example one computer ask other computer to run function, procedure
or object then receive the result.
I want to know about what should I do to setup such system and what
software I need to implement it.
Sincerely Yours,
Pujo
--
http://mail.python.org/mailman/
[EMAIL PROTECTED] wrote:
> Is there any one who has experiance about how to setup distributed
> computing for 2 computer only. I really want to know from the start.
> Any suggestion appreciated.
Please be more specific about "distributed computing"...
--Irmen
--
http://mail.python.org/mailman/li
34 matches
Mail list logo