Re: Python scripting as side job

2017-09-26 Thread Neil Cerutti
On 2017-09-26, Chris Angelico wrote: > On Tue, Sep 26, 2017 at 10:51 PM, gvim wrote: >> Has anyone had any success using Python scripting to automate >> processes for small businesses as a side job? I'd like to use >> my Python skills to supplement my income with abo

Re: Python scripting as side job

2017-09-26 Thread Chris Angelico
On Tue, Sep 26, 2017 at 10:51 PM, gvim wrote: > Has anyone had any success using Python scripting to automate processes for > small businesses as a side job? I'd like to use my Python skills to > supplement my income with about 4 hours' work a week. Python scripting for autom

Python scripting as side job

2017-09-26 Thread gvim
Has anyone had any success using Python scripting to automate processes for small businesses as a side job? I'd like to use my Python skills to supplement my income with about 4 hours' work a week. gvim -- https://mail.python.org/mailman/listinfo/python-list

Re: Embedded python 'scripting engine' inside Python app

2014-11-24 Thread Chris Angelico
On Tue, Nov 25, 2014 at 6:38 PM, Patrick Stinson wrote: > Thanks for the stories in this and the other thread. I love these interesting > problems that push the limits :) I agree. How boring is life when we never push the limits! ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: Embedded python 'scripting engine' inside Python app

2014-11-24 Thread Patrick Stinson
> On Nov 23, 2014, at 4:57 AM, Chris Angelico wrote: > > On Mon, Nov 24, 2014 at 12:20 AM, Patrick Stinson > wrote: >> I think this is the way I’ll take it, and for all the same reasons. The only >> way they can break it is if they really want to. I guess anything other >> Franken-apps would

Re: Embedded python 'scripting engine' inside Python app

2014-11-24 Thread Patrick Stinson
I think this is the way I’ll take it, and for all the same reasons. The only way they can break it is if they really want to. I guess anything other Franken-apps would be interesting to hear about too. And I’ll still stick it on the app store. > On Nov 23, 2014, at 1:35 AM, Chris Angelico wro

Re: Embedded python 'scripting engine' inside Python app

2014-11-24 Thread Patrick Stinson
Thanks for your great reply. I even augmented the reloading with the same dict by clearing all of the non-standard symbols from the dict. This effectively resets the dict: # try to clear out the module by deleting all global refs

Re: Embedded python 'scripting engine' inside Python app

2014-11-23 Thread Chris Angelico
On Mon, Nov 24, 2014 at 12:20 AM, Patrick Stinson wrote: > I think this is the way I’ll take it, and for all the same reasons. The only > way they can break it is if they really want to. I guess anything other > Franken-apps would be interesting to hear about too. And I’ll still stick it > on t

Re: Embedded python 'scripting engine' inside Python app

2014-11-23 Thread Stefan Behnel
Chris Angelico schrieb am 23.11.2014 um 11:35: > On Sun, Nov 23, 2014 at 9:28 PM, Patrick Stinson wrote: >> Is there a better and more secure way to do the python-within-python in >> order allow users to automate your app? > > More secure? Basically no. You could push the inner script into a > sep

Re: Embedded python 'scripting engine' inside Python app

2014-11-23 Thread Chris Angelico
On Sun, Nov 23, 2014 at 9:28 PM, Patrick Stinson wrote: > Thanks for your great reply. I even augmented the reloading with the same > dict by clearing all of the non-standard symbols from the dict. This > effectively resets the dict: You may as well start with an empty dict and then pick up the f

Re: Embedded python 'scripting engine' inside Python app

2014-11-23 Thread Chris Angelico
On Sun, Nov 23, 2014 at 4:48 PM, Patrick Stinson wrote: > I am writing a python app (using PyQt, but that’s not important here), and > want my users to be able to write their own scripts to automate the app’s > functioning using an engine API hat I expose. I have extensive experience > doing th

Embedded python 'scripting engine' inside Python app

2014-11-23 Thread Patrick Stinson
I am writing a python app (using PyQt, but that’s not important here), and want my users to be able to write their own scripts to automate the app’s functioning using an engine API hat I expose. I have extensive experience doing this in a C++ app with the CPython api, but have no idea how to do

ANN: Leo 4.11 final released: Python scripting IDE

2013-11-12 Thread edreamleo
Leo 4.11 final is now available at: http://sourceforge.net/projects/leo/files/Leo/ Leo 4.11 contains over a year's work on Leo. Leo is a PIM, an IDE and an outliner for programmers, authors and web designers. Leo's unique features organize data in a revolutionary way. Python scripts can easily a

Python scripting in Ultraspider web crawler?

2010-06-09 Thread Mickel Grönroos
Hi there! Does anybody on the list have experience on processing output from the Ultraspider web crawler with Python? I am using the Ultraspider web crawler to crawl a web site and then send the web pages' content and metadata to an Autonomy IDOL search engine. However, I want to do some processi

Re: strange python scripting error

2009-07-25 Thread Dave Angel
Dennis Lee Bieber wrote: On Sat, 25 Jul 2009 07:18:58 -0400, Dave Angel declaimed the following in gmane.comp.python.general: Another thing I'd point out is that some ftp programs will do this conversion as the file is being sent between a local DOS machine and a Unix machine on the inte

Re: strange python scripting error

2009-07-25 Thread Dave Angel
Mark Tarver wrote: Use dos2unix for conversion of the longer file and try again: http://linux.about.com/od/commands/l/blcmdl1_dos2uni.htm-Hide quoted text - - Show quoted text - That sounds the ticket - but is there anything that runs under Windows to do the trick? M

Re: strange python scripting error

2009-07-25 Thread Mark Tarver
On 25 July, 10:30, Mark Tarver wrote: > On 24 July, 15:45, nn wrote: > > > > > > > On Jul 23, 7:03 pm, Dave Angel wrote: > > > > Mark Tarver wrote: > > > > I have a very strange error.  I have two test python files test.py and > > > > python.py which contain the following code > > > > > #!/usr/b

Re: strange python scripting error

2009-07-25 Thread Mark Tarver
On 24 July, 15:45, nn wrote: > On Jul 23, 7:03 pm, Dave Angel wrote: > > > > > > > Mark Tarver wrote: > > > I have a very strange error.  I have two test python files test.py and > > > python.py which contain the following code > > > > #!/usr/bin/python > > > print "Content-type: text/html" > > >

Re: strange python scripting error

2009-07-24 Thread nn
On Jul 23, 7:03 pm, Dave Angel wrote: > Mark Tarver wrote: > > I have a very strange error.  I have two test python files test.py and > > python.py which contain the following code > > > #!/usr/bin/python > > print "Content-type: text/html" > > print > > print "" > > print "Hello, Linux.com!" > >

Re: strange python scripting error

2009-07-23 Thread Dave Angel
Mark Tarver wrote: I have a very strange error. I have two test python files test.py and python.py which contain the following code #!/usr/bin/python print "Content-type: text/html" print print "" print "Hello, Linux.com!" print "" One file (test.py) works; you call it up and it shows a web pa

Re: strange python scripting error

2009-07-23 Thread Peter Otten
Mark Tarver wrote: > On 23 July, 18:01, Dennis Lee Bieber wrote: >> On Thu, 23 Jul 2009 08:48:46 -0700 (PDT), Mark Tarver >> declaimed the following in >> gmane.comp.python.general: >> >> > The only hint at a difference I can see is that my ftp program says >> > the files are of unequal lengths.

Re: strange python scripting error

2009-07-23 Thread Mark Tarver
On 23 July, 18:01, Dennis Lee Bieber wrote: > On Thu, 23 Jul 2009 08:48:46 -0700 (PDT), Mark Tarver > declaimed the following in > gmane.comp.python.general: > > > The only hint at a difference I can see is that my ftp program says > > the files are of unequal lengths.  test.py is 129 bytes long.

Re: strange python scripting error

2009-07-23 Thread Mark Tarver
On 23 July, 18:01, Dennis Lee Bieber wrote: > On Thu, 23 Jul 2009 08:48:46 -0700 (PDT), Mark Tarver > declaimed the following in > gmane.comp.python.general: > > > I have a very strange error.  I have two test python files test.py and > > python.py which contain the following code > >         >

Re: strange python scripting error

2009-07-23 Thread Peter Otten
Diez B. Roggisch wrote: > Mark Tarver wrote: > >> I have a very strange error. I have two test python files test.py and >> python.py which contain the following code >> >> #!/usr/bin/python >> print "Content-type: text/html" >> print >> print "" >> print "Hello, Linux.com!" >> print "" >> >> O

Re: strange python scripting error

2009-07-23 Thread Richard Brodie
"Diez B. Roggisch" wrote in message news:7crfjof29e4g...@mid.uni-berlin.de... > They have different line-ending-conventions. Not sure if and why that makes > a difference. Depends on your setup. Shells can be a bit dumb about it, so it will likely break simple cgi-style hosting. -bash: ./pyth

Re: strange python scripting error

2009-07-23 Thread Diez B. Roggisch
Mark Tarver wrote: > I have a very strange error. I have two test python files test.py and > python.py which contain the following code > > #!/usr/bin/python > print "Content-type: text/html" > print > print "" > print "Hello, Linux.com!" > print "" > > One file (test.py) works; you call it up

strange python scripting error

2009-07-23 Thread Mark Tarver
I have a very strange error. I have two test python files test.py and python.py which contain the following code #!/usr/bin/python print "Content-type: text/html" print print "" print "Hello, Linux.com!" print "" One file (test.py) works; you call it up and it shows a web page with Hello, Linux

Extending C++ with Python scripting: "twin objects" or "proxy objects"?

2008-03-18 Thread jdetaeye
Hi, I would like to use Python as a scripting language for a C++ framework I am working on. The most common approach for this seems to be a "twin objects": the python and the C++ object have the same lifespan and are always linked to each other. My initial thinking was to use a "proxy approach"

Re: creating simple Python scripting interfaces via C++

2007-01-11 Thread David Boddie
Ben Sizer wrote: > And is there anywhere else more appropriate that I should be asking > this question, given the lack of responses to this and my other embedding > topic so far? You could try asking on the C++ SIG mailing list at python.org: http://mail.python.org/mailman/listinfo/c++-sig David

Re: creating simple Python scripting interfaces via C++

2007-01-11 Thread Ben Sizer
Ok, my first attempt at this creates proxy objects in Python, and stores a pointer to the C++ instance in the Python object. I cast that pointer to an int and pass it as a single parameter to the object's __init__ function. static PyObject* Actor_init(PyObject *self, PyObject *args) { PyObject

creating simple Python scripting interfaces via C++

2007-01-08 Thread Ben Sizer
I have Python embedded in a C++ application (yes, yes, I know, I'd prefer it the other way around too) and essentially need to expose some read-only values and functions to Python so it can be used to script the host application. When scripting a similar app in TCL, it's possible to associate each

Re: Tools for Java/Python scripting

2006-12-02 Thread skip
steve> http://wiki.python.org/moin/Java_Scripting >> >> Renamed to "JavaScripting". >> >> Skip Rob> So nobody around here has heared of that other language called Rob> JavaScript then ? Rob> Perhaps "Scripting_Java" might be better. That would be JavaScriptScri

Re: adding python scripting to my application

2006-11-13 Thread Julian
"martdi" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jerry wrote: >> I am not a Python guru by any means, but I believe that when an >> application says that you can "script" their application with Python, >> it means that you can actually write Python code to interact with the

Re: adding python scripting to my application

2006-11-06 Thread John Henry
find out? > another fea application called OOF2 > (http://www.ctcms.nist.gov/oof/oof2/#features) says "OOF2 is completely > scriptable in Python". and I don't really understand what that means... > maybe I haven't grasped the full potential of what python scripting > could do for

Re: adding python scripting to my application

2006-11-06 Thread martdi
Jerry wrote: > I am not a Python guru by any means, but I believe that when an > application says that you can "script" their application with Python, > it means that you can actually write Python code to interact with the > application. Embedding may be the same thing. Extending (as I read > it)

Re: adding python scripting to my application

2006-11-06 Thread Jerry
I am not a Python guru by any means, but I believe that when an application says that you can "script" their application with Python, it means that you can actually write Python code to interact with the application. Embedding may be the same thing. Extending (as I read it) involves writing porti

adding python scripting to my application

2006-11-05 Thread Julian
iptable in Python". and I don't really understand what that means... maybe I haven't grasped the full potential of what python scripting could do for an fea program. can you tell me how to decide what path I should take - embed or extend ? or maybe some one could point me to some documen

Re: Tools for Java/Python scripting

2006-11-03 Thread Steve
The URL is now: http://wiki.python.org/moin/JavaScripting -- http://mail.python.org/mailman/listinfo/python-list

Re: Tools for Java/Python scripting

2006-11-03 Thread Rob Williscroft
wrote in news:[EMAIL PROTECTED] in comp.lang.python: > > steve> http://wiki.python.org/moin/Java_Scripting > > Renamed to "JavaScripting". > > Skip So nobody around here has heared of that other language called JavaScript then ? Perhaps "Scripting_Java" might be better. Pythoning-ly y

Re: Tools for Java/Python scripting

2006-11-03 Thread Paul Boddie
[EMAIL PROTECTED] wrote: > steve> http://wiki.python.org/moin/Java_Scripting > > Renamed to "JavaScripting". You might want to coordinate this amongst yourselves: the original page is still being edited whilst the new one remains as a snapshot of the original page at the point of renaming. Paul

Re: Tools for Java/Python scripting

2006-11-03 Thread skip
steve> http://wiki.python.org/moin/Java_Scripting Renamed to "JavaScripting". Skip -- http://mail.python.org/mailman/listinfo/python-list

Tools for Java/Python scripting

2006-11-03 Thread Steve
I have added a page to the wiki, listing tools for Java-Python scripting (Java-Python interoperability). http://wiki.python.org/moin/Java_Scripting I have included information about all of the tools that I could find. If you know others, please add information about them to the page. -- http

python scripting for eggdrop?

2006-08-05 Thread sleem
Can it be done? I hate tcl. Is there someway I could parse all irc events so they can be handled by python's irclib? -- http://mail.python.org/mailman/listinfo/python-list

Re: Spreadsheet with Python scripting and database interface?

2005-08-15 Thread Wolfgang Keller
> o The Python plugin > o The Python plugin loader > o Additional Python functions Do these provide the possibility to use Python as macro/scripting language from within Gnumeric? TIA, Sincerely, Wolfgang Keller -- http://mail.python.org/mailman/listinfo/python-list

Re: Spreadsheet with Python scripting and database interface?

2005-08-12 Thread Wolfgang Keller
Hello, and thanks for your reply. > One thing that's not clear from your question is whether you want to > script the office from within using a macro or from the outside via > "remote control". What I basically dream of is using Python as THE embedded macro language of the spreadsheet. Becaus

Re: Spreadsheet with Python scripting and database interface?

2005-08-11 Thread Carsten Haese
On Fri, 2005-07-29 at 04:21, Wolfgang Keller wrote: > Hello, > > I'm looking for a spreadsheet application (MacOS X prefered, but > Windows, Linux ar available as well) with support for Python scripting > (third-party "plug-ins" are ok) and a database interface. &g

Re: Spreadsheet with Python scripting and database interface?

2005-08-11 Thread Florian Diesch
Wolfgang Keller <[EMAIL PROTECTED]> wrote: > I'm looking for a spreadsheet application (MacOS X prefered, but > Windows, Linux ar available as well) with support for Python scripting > (third-party "plug-ins" are ok) and a database interface. > > Applications

Re: Spreadsheet with Python scripting and database interface?

2005-07-30 Thread Calvin Spealman
You might want to look at kexi. It is KOffice's answer to MS Access, and long a awaited contender it is. It has python scripting support and works with databases natively. On 29 Jul 2005 08:21:48 GMT, Wolfgang Keller <[EMAIL PROTECTED]> wrote: > Hello, > > I'm

Re: Spreadsheet with Python scripting and database interface?

2005-07-29 Thread has
Wolfgang Keller wrote: > Excel: I know of a module that allows to script Excel in Python from > outside (COM scripting on Windows and Applescript on MacOS are know as > well), but I don't know of any possibility to do Python scripting with > Excel itself? For scripting Mac

Spreadsheet with Python scripting and database interface?

2005-07-29 Thread Wolfgang Keller
Hello, I'm looking for a spreadsheet application (MacOS X prefered, but Windows, Linux ar available as well) with support for Python scripting (third-party "plug-ins" are ok) and a database interface. Applications that I know of (that they exist) are: MS Excel Quattro Lotus O

C++ app. with python scripting IDE ?

2005-04-25 Thread Gonzalo
Hi everyone! I want to develop a C++ application, which must be scriptable (I'm considering to use Python or Lua). The end users should develop and run their scripts in an IDE, and the scripting language must be extended with specific functions related to my application. The IDE should have debuggi

RE: Python Scripting

2005-01-22 Thread Robert Brewer
Ali Polatel wrote: > I want to ask you a question about python scripting. > I want to know if I can design web-pages with python Yes. > or at least write html files with python. Yes. > and if I write html files with python and some CGI scripts > and upload them to the web-p

Python Scripting

2005-01-22 Thread Ali Polatel
  Hi Dear Python programmers,   I want to ask you a question about python scripting.I want to know if I can design web-pages with python or at least write html files with python. and if I write html files with python and some CGI scripts and upload them to the web-page .. does the people who view t