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

2019-01-11 Thread dude . jimbo
sit at groin height on your desk, get really hot at the back. Avoid contact with exposed and/or dangling body parts; 4) there's clearly a reason why I 'gave up on Python' those 10 years ago, and perhaps I'm slowly starting to remember why… :| Jimbo. -- https://mail.python.org/mailman/listinfo/python-list

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

2019-01-11 Thread dude . jimbo
groin height on your desk, get really hot at the back. Avoid contact with exposed body parts; 4) there's clearly a reason why I 'gave up on Python' those 10 years ago, and perhaps I'm slowly starting to remember why… :| Jimbo. -- https://mail.python.org/mailman/listinfo/python-list

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

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,

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
be here then would I?) - there's ~some~ references, but > >usually it's about similar issues on Linux, with solutions that are not > >applicable at all. Except one I thought: I found some link stating that > >_sysconfigdata is part of sysconfig, and that this needed to be > >

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

2019-01-08 Thread dude . jimbo
g that _sysconfigdata is part of sysconfig, and that this needed to be installed with pip, so I used the pip that came with my python distro and did 'pip install [[_]sys]config[data]' (all possible combo's) but pip claims it can't find said module, and TBH, I can't seem to find anything myself a

[issue33129] Add kwarg-only option to dataclass

2018-07-26 Thread Jimbo Jim
Jimbo Jim added the comment: first post in bugs.python.org... are people normally scary around here? Another usecase of keyword-only arguments is that I can mix default and non-default fields in any order. This could be achieved by either marking all fields as read-only, or by implicitly

Re: Import Problem on WIndows py3

2012-09-04 Thread Jimbo Jim
On Tuesday, September 4, 2012 1:45:55 PM UTC-7, Werner Thie wrote: On 9/4/12 9:49 AM, jimmyli1528 wrote: I have a main program and a 3rd party module. Trying to import colorama, where colorama is a folder with files in it, returns an ImportError: No module named colorama. How should I

[WxPython] Advice on Temperature Application Method Structure

2010-05-26 Thread Jimbo
Hello I have made a simple application using WxPython that is a temperature converter. This is my first application made in WxPython, the only other apps I have made were in Win32 c++ so I am new to widgets in general. I am looking for advice criticism on when you should use classes in GUI

Extract all words that begin with x

2010-05-10 Thread Jimbo
Hello I am trying to find if there is a string OR list function that will search a list of strings for all the strings that start with 'a' return a new list containing all the strings that started with 'a'. I have had a search of Python site I could not find what I am looking for, does a

Use Regular Expressions to extract URL's

2010-04-30 Thread Jimbo
Hello I am using regular expressions to grab URL's from a string(of HTML code). I am getting on very well I seem to be grabbing the full URL [b]but[/b] I also get a '' character at the end of it. Do you know how I can get rid of the '' char at the end of my URL [b]Example of problem:[/b]

Fast Efficient way to transfer an object to another list

2010-04-30 Thread Jimbo
Hello I have a relatively simple thing to do; move an object from one to list into another. But I think my solution maybe inefficient slow. Is there a faster better way to move my stock object from one list to another? (IE, without having to use a dictionary instead of a list or is that my only

Print Error Type when I catch it

2010-04-22 Thread Jimbo
Hello I have a relatively simple question. I want to use a try except in a function when an error occurs I want to print the error type name(eg IOError, OSError etc) do you know how I can do this without specifying all possible errors, eg having to do this except (IOError, OSError, IndexError,

Error Occurs: Replace a character in a String

2010-04-10 Thread Jimbo
Hello, I am getting an error in my python script when I try to change a character in a string. [b]But I dont know why or what to do to fix it?[/b] I have commented in my code where the error occurs [code] def format_file(filename): HTML_file = open(filename,'r') HTML_source =

Simple Cookie Script: Not recognising Cookie

2010-04-07 Thread Jimbo
Hi I have a simple Python program that assigns a cookie to a web user when they open the script the 1st time(in an internet browser). If they open the script a second time the script should display the line You have been here 2 times. , if they open the script agai it should show on the webpage

Advice Criticism on Python App

2010-03-23 Thread Jimbo
I have made a Python App(really script) that will check a stocks current values from a website save that data to a SQLite 3 database. I am looking for any suggestions criticisms on what I should do better or anything at all but mainly in these areas: [QUOTE] - Correct Python Layout of code -

Re: Best Way to extract Numbers from String

2010-03-20 Thread Jimbo
On Mar 20, 11:51 pm, Luis M. González luis...@gmail.com wrote: On Mar 20, 12:04 am, Jimbo nill...@yahoo.com wrote: Hello I am trying to grab some numbers from a string containing HTML text. Can you suggest any good functions that I could use to do this? What would be the easiest way

Why this compile error?

2010-03-19 Thread Jimbo
Hello Can you help me figure out why I am getting this compile error with my program. The error occurs right at the bottom of my code I have commented where it occurs. The error is: [QUOTE]Expected an indented block[/QUOTE] [CODE] *Stock Data Builder* Algorithm: - Search website for

Best Way to extract Numbers from String

2010-03-19 Thread Jimbo
Hello I am trying to grab some numbers from a string containing HTML text. Can you suggest any good functions that I could use to do this? What would be the easiest way to extract the following numbers from this string... My String has this layout I have commented what I want to grab: [CODE]

Python Script to get Info from Site not working

2010-03-10 Thread Jimbo
Hello I am asking what is probably a very easy thing to do but I cannot find a tutorial on how to do it anywhere. [b]I want to use a Python script to get information from a webpage. [/b] I found a semi Python internet tutorial here if anyone else would like it

Re: Python Script to get Info from Site not working

2010-03-10 Thread Jimbo
On Mar 11, 12:38 pm, Gabriel Genellina gagsl-...@yahoo.com.ar wrote: En Wed, 10 Mar 2010 20:06:41 -0300, Jimbo nill...@yahoo.com escribió: I found a semi Python internet tutorial here if anyone else would like ithttp://www.upriss.org.uk/python/session6.html My script is meant to find

bdb

2005-01-23 Thread jimbo
Hi, I am trying to sort how to best programmatically run the debugger on a program, and another way that I am trying to explore is by using the bdb module. There isn't any documentation for this and I have tried reading through the source, which includes an example/test at the end of bdb.py on

debugging process

2005-01-22 Thread jimbo
Hi, I am trying to create a separate process that will launch python and then can be used to step through a script programmatically. I have tried something like: (input, output) = os.popen2(cmd=python) Then I expected I could select over the two handles input and output, make sure they aren't