Create on Win and run on Win or Mac

2015-06-01 Thread Bret Edwards via Python-list

I would like to create a Python (stand-alone executable) program on a Windows 
machine and deploy the finished product on other Windows machines (of varying 
Windows OS versions) and 
also on Mac machines (of varying Mac OS versions.) The program would present a 
GUI that the user would interact with and would only have simple computations. 

I looks like I could do the creation work twice (once for Windows and once for 
Mac) and then also create separate install packages. However, I would like to 
only do the creation 
work once and do it on a Windows machine and then be able to deploy to either 
Win or Mac. I understand that will mean separate intstallation packages due to 
the different 
environments. 

Is this possible? I do not think that it is, but asking just to be sure.

If so, what tools do I use to do the packaging? Do I use py2app for the Mac?
Thanks,
Bret

-- 
https://mail.python.org/mailman/listinfo/python-list


Create Web app on Win and run on Win or Mac

2015-06-01 Thread Bret Edwards via Python-list
I took a look at Ren'Py as suggested by a reply to my previous post entitled 
"Create on Win and run on Win or Mac." Thanks for your suggestion. Ren'Py looks 
pretty amazing!

Not sure that is a good route since my primary reason for this endeavor is 
learning Python scripting (secondarily to create the game) and Ren'Py uses it's 
own scripting language. 
Also not sure that Ren'Py supports Win 64-bit machines. 

Now I am switching course slightly and would like to write a Python based web 
app on a Windows machine, have it run locally and display the app in the 
browser. The finished product 
would be run on other Windows machines (of varying Windows OS versions) and 
also on Mac machines (of varying Mac OS versions.) The program would present a 
browser based GUI that the 
user would interact with (keying in integer data and clicking buttons) and 
would only have simple computations behind the scenes.

I would like to only do the creation work once and do it on a Windows machine 
(I do not have access to a Mac.) Then be able to run on both other Win machines 
and Mac machines with 
only doing a simple (or not any) installation and without requiring an existing 
Python installation. Also, I do not want the user to need to remain connected 
to the I-net to use the 
app. If they need to connect to the I-net initially to download it that would 
be OK, as long as they could disconnect immediately afterwards and still use 
the app. 

I am sure that I could do something in JavaScript and/or AngularJS, maybe a 
single page app, but I want to do it in Python since that is what I am trying 
to learn. It would be OK if 
it had a small amount of JavaScript, but most of it needs to Python. 

Is this possible? If so, what tools do I use? Can I still use Tkinter for a web 
app? Do I need to do (use) anything to create cross platform executables or 
would running in a 
browser make that step not required?

Sorry for the newbie question, but I am obviously looking for a light switch.
Thanks,Bret

-- 
https://mail.python.org/mailman/listinfo/python-list