what it needed to do. Just like on my old machine. I even got
the fancy progress popup and the date string in my file names.
(At this point I ~did~ dance in the nude, albeit in front of the PC)
So what lessons did I learn:
1) compile errors apparently mean Sweet-BLEEP-All;
2) close the curtains when dancing naked around the PC;
3) the back of modern day PCs, which typically 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
eded to do. Just like on my old machine. I even got
the fancy progress popup and the date string in my file names.
(At this point I ~did~ dance in the nude, albeit in front of the PC)
So what lessons did I learn:
1) compile errors apparently mean Sweet-BLEEP-All;
2) close the curtains when dancing naked around the PC;
3) the back of modern day PCs, which typically sit at 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
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
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
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
>And yes, I googled, but can't really find anything (well, d'Uh!, I
> >wouldn’t 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
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 installed with pip, so I used the pip that came with
my python distro and did 'pip install [[_]sys]config[data]&
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 sho
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 wid
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 func
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 s
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]
[quo
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,
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 = HTML_file
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
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
- C
On Mar 20, 11:51 pm, Luis M. González wrote:
> On Mar 20, 12:04 am, Jimbo 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
>
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] ""
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 f
On Mar 11, 12:38 pm, "Gabriel Genellina"
wrote:
> En Wed, 10 Mar 2010 20:06:41 -0300, Jimbo 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 mea
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 http://www.upriss.org.uk/python/se
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
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
23 matches
Mail list logo