Re: stdin in embedded python

2009-11-01 Thread KillSwitch
On Nov 1, 5:34 am, Dave Angel wrote: > KillSwitch wrote: > > I have a C++ program, with a GUI, into which I have embedded python. I > > have made several python functions in C++, one of which I use to > > override the normal stdout and stderr so that they print to a text b

stdin in embedded python

2009-11-01 Thread KillSwitch
I have a C++ program, with a GUI, into which I have embedded python. I have made several python functions in C++, one of which I use to override the normal stdout and stderr so that they print to a text box of my GUI. One thing I cannot think of how to do is to redefine stdin so that it pauses the

Embedded python on systems without python installed

2009-10-27 Thread KillSwitch
I have python successfully embedded in a program I wrote. What files do I need and where do I need to put them so that it can run on systems that don't have python installed? -- http://mail.python.org/mailman/listinfo/python-list

Re: C++: Py_CompileString crash

2009-10-26 Thread KillSwitch
On Oct 26, 10:06 am, Christian Heimes wrote: > KillSwitch wrote: > > int main(int argc, char *argv[]) > > { > >    Py_Initialize(); > > >    const char* filename = "asdf.py"; > > >    const char* str = "print('lol')&quo

C++: Py_CompileString crash

2009-10-26 Thread KillSwitch
I run this code in VC++: #include #include #include using namespace std; int main(int argc, char *argv[]) { Py_Initialize(); const char* filename = "asdf.py"; const char* str = "print('lol')"; Py_CompileString(str, filename, 0); Py_Finalize();

Editing a wiki

2009-08-18 Thread KillSwitch
Hey guys, Is it possible to edit a wiki page with python, including logging in to edit the page, and inserting text into the edit box, etc. I was thinking maybe python would be the language to do this in, because I have to iterate through every line in a text file and gather info about what to ente

Re: internet searching program

2008-08-10 Thread KillSwitch
Thanks a lot for all of everyones help, I am really looking forward to learning the ins and ous of python or my first programming language. -- http://mail.python.org/mailman/listinfo/python-list

Re: internet searching program

2008-08-09 Thread KillSwitch
No, I mean to search the internet really fast and display only REALLY SPECIFIC information about certain web pages. Like, stuff Google wouldn't have. For instance, in the youtube example, it would name the names of the videos, the url's of them, and the EMBED information without you having to view