Re: The following modules appear to be missing ['_sysconfigdata']

2019-01-11 Thread dude . jimbo
OK, stop the presses. Or, rather, refresh your browser, I guess. In a 'what the !@#$ am I doing'-moment (I don't get those often) I uninstalled everything and went gardening. But it was raining so I installed everything again, this time using pip for wxpython. Lo and behond, this time it did not

Re: The following modules appear to be missing ['_sysconfigdata']

2019-01-11 Thread dude . jimbo
OK, stop the presses. Or, rather, refresh your browser, I guess. In a 'what the !@$$ am I doing'-moment (I don't get those often) I uninstalled everything and went gardening. But it was raining so I installed everything again, this time using pip for wxpython. Lo and behond, this time it did not

Re: The following modules appear to be missing ['_sysconfigdata']

2019-01-11 Thread dude . jimbo
Oh, another thing. I installed WX via a windows installer that I found (can't find the link again, but fairly certain it was this one: https://sourceforge.net/projects/wxpython/ (*)), without giving it much thought (yesyes bad mistake). Since I get wx runtime errors, I'm assuming I have the wro

Re: The following modules appear to be missing ['_sysconfigdata']

2019-01-11 Thread dude . jimbo
Really, no-one? OK, more purging then. I ~think~ I need said missing component because the script gets the system date (to run once on a Friday, in automatic mode). But I've never used it in automatic mode (since I came to my senses about having an infinite looping script in my autoexec.bat, do

Re: The following modules appear to be missing ['_sysconfigdata']

2019-01-10 Thread dude . jimbo
Well that escalated quickly :). So, no-one can tell me which component to pip to get rid of "missing ['_sysconfigdata']" error? -- https://mail.python.org/mailman/listinfo/python-list

Re: The following modules appear to be missing ['_sysconfigdata']

2019-01-09 Thread dude . jimbo
On Wednesday, January 9, 2019 at 6:06:35 AM UTC+1, Matthew Lemon wrote: > Hi, > > I would start from scratch with this. > > 1. You have latest Python 2 version. > 2. Use virtualenv to create and activate a new virtual environment. > 3. pip install wxPython and other dependencies. > 4. Get your ap

The following modules appear to be missing ['_sysconfigdata']

2019-01-08 Thread dude . jimbo
Hello, first time using python groups (and long time since using any other group for that matter). This might not be the right group due to wx being involved. Long story as short as possible. I have an old python script that I did ~10 years ago, and have forgotten basically everything about Pyt

Re: Problem configuring apache to run python cgi on Ubuntu 14.04

2015-09-21 Thread tropical . dude . net
On Monday, September 21, 2015 at 10:29:48 PM UTC+2, alister wrote: > On Mon, 21 Sep 2015 12:51:09 -0700, tropical.dude.net wrote: > > > On Monday, September 21, 2015 at 9:47:33 PM UTC+2, tropical...@gmail.com > > wrote: > >> On Monday, September 21, 2015 at 9:41:29 PM UTC+2, John Gordon wrote: > >

Re: Problem configuring apache to run python cgi on Ubuntu 14.04

2015-09-21 Thread tropical . dude . net
On Monday, September 21, 2015 at 9:47:33 PM UTC+2, tropical...@gmail.com wrote: > On Monday, September 21, 2015 at 9:41:29 PM UTC+2, John Gordon wrote: > > In <44e870a7-9567-40ba-8a65-d6b52a8c5...@googlegroups.com> > > tropical.dude@gmail.com writes: > > > > > print("Content-Type: text/html;c

Re: Problem configuring apache to run python cgi on Ubuntu 14.04

2015-09-21 Thread tropical . dude . net
On Monday, September 21, 2015 at 9:41:29 PM UTC+2, John Gordon wrote: > In <44e870a7-9567-40ba-8a65-d6b52a8c5...@googlegroups.com> > tropical.dude@gmail.com writes: > > > print("Content-Type: text/html;charset=utf-8") > > print("Hello World!") > > As I recall, you must have a blank line betw

Re: Problem configuring apache to run python cgi on Ubuntu 14.04

2015-09-21 Thread tropical . dude . net
On Monday, September 21, 2015 at 9:30:11 PM UTC+2, Albert Visser wrote: > On Mon, 21 Sep 2015 20:41:13 +0200, wrote: > > > Hello everybody, > > > (...) > > > > I created index.py: > > #!/usr/bin/env python > > # -*- coding: UTF-8 -*-# enable debugging > > import cgitb > > > > cgitb.enable() > > p

Re: Problem configuring apache to run python cgi on Ubuntu 14.04

2015-09-21 Thread tropical . dude . net
On Monday, September 21, 2015 at 9:20:22 PM UTC+2, sohca...@gmail.com wrote: > On Monday, September 21, 2015 at 11:41:54 AM UTC-7, tropical...@gmail.com > wrote: > > Hello everybody, > > > > I installed the LAMP stack on in Ubuntu, but I am having > > problems configuring Apache to run python CGI

Problem configuring apache to run python cgi on Ubuntu 14.04

2015-09-21 Thread tropical . dude . net
Hello everybody, I installed the LAMP stack on in Ubuntu, but I am having problems configuring Apache to run python CGI scripts. I ran: sudo a2enmod cgi I added to apache2.conf Options +ExecCGI AddHandler cgi-script .py I created index.py: #!/usr/bin/env python # -*- coding: U

Re: Can anyone help me run python scripts with http.server?

2015-09-06 Thread tropical . dude . net
On Sunday, September 6, 2015 at 2:46:42 PM UTC+2, Laura Creighton wrote: > In a message of Sun, 06 Sep 2015 05:38:50 -0700, tropical.dude@gmail.com > wr > ites: > > >> What operating system are you running? It sounds to me as if you haven't > >> configured apache to add a Handler for python

Re: Can anyone help me run python scripts with http.server?

2015-09-06 Thread tropical . dude . net
On Sunday, September 6, 2015 at 1:51:00 PM UTC+2, tropical...@gmail.com wrote: > Hello everyone, > > I want to use python for web development but I > could not configure my Apache server to run python > with the guides I found on the internet. > > Can anyone help me configure http.server > to run

Re: Can anyone help me run python scripts with http.server?

2015-09-06 Thread tropical . dude . net
On Sunday, September 6, 2015 at 2:16:04 PM UTC+2, Laura Creighton wrote: > In a message of Sun, 06 Sep 2015 04:50:23 -0700, wr > ites: > >Hello everyone, > > > >I want to use python for web development but I > >could not configure my Apache server to run python > >with the guides I found on the int

Re: Can anyone help me run python scripts with http.server?

2015-09-06 Thread tropical . dude . net
On Sunday, September 6, 2015 at 2:16:04 PM UTC+2, Laura Creighton wrote: > In a message of Sun, 06 Sep 2015 04:50:23 -0700, tropical.dude@gmail.com > wr > ites: > >Hello everyone, > > > >I want to use python for web development but I > >could not configure my Apache server to run python > >wit

Re: Can anyone help me run python scripts with http.server?

2015-09-06 Thread tropical . dude . net
On Sunday, September 6, 2015 at 2:16:04 PM UTC+2, Laura Creighton wrote: > In a message of Sun, 06 Sep 2015 04:50:23 -0700, tropical.dude@gmail.com > wr > ites: > >Hello everyone, > > > >I want to use python for web development but I > >could not configure my Apache server to run python > >wit

Can anyone help me run python scripts with http.server?

2015-09-06 Thread tropical . dude . net
Hello everyone, I want to use python for web development but I could not configure my Apache server to run python with the guides I found on the internet. Can anyone help me configure http.server to run python scripts? I ran the command python -m http.server --cgi to start the http server, and i

Re: os.path.walk() to get full path of all files

2011-03-16 Thread dude
awesome, that worked. I'm not sure how the magic is working with your underscores there, but it's doing what I need. thanks. -- http://mail.python.org/mailman/listinfo/python-list

os.path.walk() to get full path of all files

2011-03-16 Thread dude
My goal is create a list of absolute paths for all files in a given directory (any number of levels deep). root dir1 file1 file2 dir2 file3 dir3 -dir4 --file4 file5 So the above would return: [root/dir1/file1, root/di

Re: making a class callable

2011-03-03 Thread dude
On Mar 3, 6:07 pm, MRAB wrote: > On 04/03/2011 01:45, dude wrote: > > > > > I've been struggling with getting my class to behave the way I want > > it. > > > I have python module called ohYeah.py, defined as follows... > > #File Begin >

making a class callable

2011-03-03 Thread dude
I've been struggling with getting my class to behave the way I want it. I have python module called ohYeah.py, defined as follows... #File Begin class foo: def __init__(self, arg1): print arg1 self.ohYeah = arg1 def whatwhat(self): return self.ohYeah #EOF My goal

Opening for Python Programmer at Newport Beach

2009-03-03 Thread Cool Dude
Hello , This is Aniket from Techclique, a New Jersey based software development and IT consulting firm providing top quality technical and software professionals on a permanent and contractual basis to Government and commercial customer including fortune 500 companies and most of states and federal

Opening for Python Programmer at Newport Beach

2009-03-03 Thread Cool Dude
Hello , This is Aniket from Techclique, a New Jersey based software development and IT consulting firm providing top quality technical and software professionals on a permanent and contractual basis to Government and commercial customer including fortune 500 companies and most of states and federal

Opening for Python Programmer at Newport Beach

2009-03-03 Thread Cool Dude
Hello , This is Aniket from Techclique, a New Jersey based software development and IT consulting firm providing top quality technical and software professionals on a permanent and contractual basis to Government and commercial customer including fortune 500 companies and most of states and federal

Opening for Python Programmer at Newport Beach

2009-03-03 Thread Cool Dude
Hello , This is Aniket from Techclique, a New Jersey based software development and IT consulting firm providing top quality technical and software professionals on a permanent and contractual basis to Government and commercial customer including fortune 500 companies and most of states and federal

Opening for Python Programmer at Newport Beach

2009-03-03 Thread Cool Dude
Hello , This is Aniket from Techclique, a New Jersey based software development and IT consulting firm providing top quality technical and software professionals on a permanent and contractual basis to Government and commercial customer including fortune 500 companies and most of states and federal

Multiple separate py2exe executables and library.zip

2009-03-01 Thread The Dude
Hello, Each invocation of py2exe creates an executable along with a number of other files which need to be distributed with it, including library.zip. I noticed that compiling different scripts creates different, and incompatible library.zip-s. Suppose I need a directory that contains the resu

Tkinter Label 'justify' Problem

2008-09-17 Thread Dude
Hi All, I am fairly new to Python programming. I am working on a small Tkinter project and I think I am missing something, maybe you can help. The two lines below is all I have related to the Label widget: lblServer = Tkinter.Label(serverFrame, text='Server:', fg='black', justify='left', relief=

maybe a popen question... or something else?

2007-08-06 Thread dude
Working on Windows XP Say I have a Windows executable, foo.exe. foo.exe is a command line tool that can take a number of different arguments and perform corresponding actions. I want to invoke foo.exe from a Python script (using whatever will work best). I want to continuously pass arguments to f

Re: Calling DLL with several data fields in output params

2006-01-28 Thread Java script Dude
>Why wouldn't you just use the target DLL that you already have? Still in the process of getting the software from the vendor. However, I have had luck in playing around with win32 api and am now getting the hang of using ctypes. Looks like I am going down the Python road. Thanks for the info :

Calling DLL with several data fields in output params

2006-01-28 Thread Java script Dude
Hi, I basically need to write a script that will make calls to a DLL and parse the return result for API calls that consist of several data fields in the input and output parameters. [Questions] [q1] Is ctypes the right Python library to use for this interaction. . . . . . I know about calldll bu