Re: Python is cool!!

2010-05-10 Thread lkcl
On Mar 23, 4:55 pm, Jose Manuel  wrote:
> I have been learning Python, and it is amazing  I am using the
> tutorial that comes with the official distribution.
>
> At the end my goal is to develop applied mathematic in engineering
> applications to be published on the Web, specially on app. oriented to
> simulations and control systems, I was about to start learning Java
> but I found Python which seems easier to learn that Java.
>
> Would it be easy to integrate Python in Web pages with HTML? I have
> read many info on Internet saying it is, and I hope so 

 jose, hi,

 perhaps it should be pointed out that there are four completely
different types of answers, as outlined here:
http://www.advogato.org/article/993.html

 python can be involved in absolutely every single one of those four
separate types of answers.

 you should ideally read that article to determine which of the four
approaches is most appropriate for you, and let people here know; and
then people here will be able to respond accordingly and advise you
accurately and with less time spent on their part, in guessing what it
is that you want to do.

 l.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python is cool!!

2010-05-09 Thread Michael Foord
On 9 May 2010 20:36, Godson Gera  wrote:

>
>
> On Sun, May 9, 2010 at 6:24 PM, Fuzzyman  wrote:
>
>> On Mar 23, 10:04 pm, geremy condra  wrote:
>> > On Tue, Mar 23, 2010 at 1:07 PM, Tim Golden 
>> wrote:
>> > > On 23/03/2010 16:55, Jose Manuel wrote:
>> >
>>
>> The closest is Skulpt which is very much an incomplete implementation
>> of Python that runs in the browser.
>>
>
> Since you have mentioned Skulpt, take a look at much better pyjamas
> http://pyjs.org/ demos are awesome.
>
>
I'm aware of Pyjamas. It is a Python to Javascript translator and *not* (as
far as I know) capable of running an interpreter in the browser.

Michael



> --
> Thanks & Regards,
> Godson Gera
> IVRS India 
>



-- 
http://www.ironpythoninaction.com/
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python is cool!!

2010-05-09 Thread Godson Gera
On Sun, May 9, 2010 at 6:24 PM, Fuzzyman  wrote:

> On Mar 23, 10:04 pm, geremy condra  wrote:
> > On Tue, Mar 23, 2010 at 1:07 PM, Tim Golden 
> wrote:
> > > On 23/03/2010 16:55, Jose Manuel wrote:
> >
>
> The closest is Skulpt which is very much an incomplete implementation
> of Python that runs in the browser.
>

Since you have mentioned Skulpt, take a look at much better pyjamas
http://pyjs.org/ demos are awesome.

-- 
Thanks & Regards,
Godson Gera
IVRS India 
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python is cool!!

2010-05-09 Thread André
On Mar 23, 1:55 pm, Jose Manuel  wrote:
> I have been learning Python, and it is amazing  I am using the
> tutorial that comes with the official distribution.
>
> At the end my goal is to develop applied mathematic in engineering
> applications to be published on the Web, specially on app. oriented to
> simulations and control systems, I was about to start learning Java
> but I found Python which seems easier to learn that Java.
>
> Would it be easy to integrate Python in Web pages with HTML? I have
> read many info on Internet saying it is, and I hope so 
>

An alternative approach to those already mentioned is to use Crunchy
(http://code.google.com/p/crunchy) as a local app in combination with
a browser.

André


> Any opinion

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


Re: Python is cool!!

2010-05-09 Thread Fuzzyman
On Mar 23, 10:04 pm, geremy condra  wrote:
> On Tue, Mar 23, 2010 at 1:07 PM, Tim Golden  wrote:
> > On 23/03/2010 16:55, Jose Manuel wrote:
>
> >> I have been learning Python, and it is amazing  I am using the
> >> tutorial that comes with the official distribution.
>
> >> At the end my goal is to develop applied mathematic in engineering
> >> applications to be published on the Web, specially on app. oriented to
> >> simulations and control systems, I was about to start learning Java
> >> but I found Python which seems easier to learn that Java.
>
> >> Would it be easy to integrate Python in Web pages with HTML? I have
> >> read many info on Internet saying it is, and I hope so 
>
> > You probably want to be looking at IronPython and Silverlight.
> > In fact, the prolific Michael Foord has already produced an
> > example of this, which gives you the Python tutorial online!
>
> >  http://trypython.org
>
> > TJG
>
> Granted that I know next to nothing about webwork, but
> is there a reason why you recommended a competing,
> nonstandard technology rather than simply pointing him
> towards more standards compliant tools that exist to do
> exactly what he asked for? Seems a bit dodgy to
> advocate a closed solution when the alternative has 100%
> market share.
>


Maybe because it is a good tool and for the specific task it achieves
there is nothing close...

The closest is Skulpt which is very much an incomplete implementation
of Python that runs in the browser.

Michael Foord

--
http://voidspace.org.uk/blog
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python is cool!!

2010-05-08 Thread lkcl
On Mar 25, 3:01 pm, Bruno Desthuilliers  wrote:
> Jose Manuel a écrit :
>
> > I have been learning Python, and it is amazing  I am using the
> > tutorial that comes with the official distribution.
>
> > At the end my goal is to develop applied mathematic in engineering
> > applications to be published on the Web, specially on app. oriented to
> > simulations and control systems, I was about to start learning Java
> > but I found Python which seems easier to learn that Java.
>
> Python is indeed quite lightweight when compared to Java. But it has
> it's share of non-obvious features, dark corners, gotchas, and plain
> warts too.

 good god. it does?? :) that's news to me, bruno! where? i haven't
found _any_ of those things - it's aaalll been blindingly obvious
and... ok maybe not metaclasses i alllmost grok those :)

 l.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python is cool!!

2010-03-25 Thread Bruno Desthuilliers

Jose Manuel a écrit :

I have been learning Python, and it is amazing  I am using the
tutorial that comes with the official distribution.

At the end my goal is to develop applied mathematic in engineering
applications to be published on the Web, specially on app. oriented to
simulations and control systems, I was about to start learning Java
but I found Python which seems easier to learn that Java.


Python is indeed quite lightweight when compared to Java. But it has 
it's share of non-obvious features, dark corners, gotchas, and plain 
warts too.



Would it be easy to integrate Python in Web pages with HTML? I have
read many info on Internet saying it is, and I hope so 


If you think of some server-page PHP-like solution, you won't find much 
usable stuff. There are quite a few Python web development toolkits / 
frameworks, but Django is becoming the de facto standard. Arguably not 
the "best" framework (depending on your definition of "best"), but 
certainly one of the most pythonic and well documented around.

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


Re: Python is cool!!

2010-03-25 Thread bobicanprogram
On Mar 23, 11:55 am, Jose Manuel  wrote:
> I have been learning Python, and it is amazing  I am using the
> tutorial that comes with the official distribution.
>
> At the end my goal is to develop applied mathematic in engineering
> applications to be published on the Web, specially on app. oriented to
> simulations and control systems, I was about to start learning Java
> but I found Python which seems easier to learn that Java.
>
> Would it be easy to integrate Python in Web pages with HTML? I have
> read many info on Internet saying it is, and I hope so 
>
> Any opinion


You probably want to take a look at this tutorial as well:

http://www.icanprogram.com/06py/lesson1/lesson1.html

The SIMPL toolkit will give you added flexibility to choose the
language for some of your more computationally intensive simulations
and still present a unified Python interface to the whole thing.

bob
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python is cool!!

2010-03-24 Thread Stef Mientki

On 23-03-2010 17:55, Jose Manuel wrote:

I have been learning Python, and it is amazing  I am using the
tutorial that comes with the official distribution.

At the end my goal is to develop applied mathematic in engineering
applications to be published on the Web, specially on app. oriented to
simulations and control systems, I was about to start learning Java
but I found Python which seems easier to learn that Java.

Would it be easy to integrate Python in Web pages with HTML? I have
read many info on Internet saying it is, and I hope so 

Any opinion
   

you might take a look at http://www.sagemath.org/
cheers,
Stef
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python is cool!!

2010-03-24 Thread Parker
On Mar 23, 4:55 pm, Jose Manuel  wrote:
> I have been learning Python, and it is amazing  I am using the
> tutorial that comes with the official distribution.
>
> At the end my goal is to develop applied mathematic in engineering
> applications to be published on the Web, specially on app. oriented to
> simulations and control systems, I was about to start learning Java
> but I found Python which seems easier to learn that Java.
>
> Would it be easy to integrate Python in Web pages with HTML? I have
> read many info on Internet saying it is, and I hope so 
>
> Any opinion

this must be the one you want
http://web2py.com/
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python is cool!!

2010-03-23 Thread Patrick Maupin
On Tue, Mar 23, 2010 at 4:50 PM, Shashwat Anand
 wrote:
> There is a project PyWhip (renamed as PyKata) which aims for the same
> purpose. Google AppEmgine + Django does the trick for that. May be you can
> take an inspiration or two from there especially because all code is open
> to/for you.

But, if I understand PyWhip/PyKata after glancing at the project page,
it doesn't actually run code in the browser...

Regards,
Pat
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python is cool!!

2010-03-23 Thread Shashwat Anand
There is a project PyWhip (renamed as PyKata) which aims for the same
purpose. Google AppEmgine + Django does the trick for that. May be you can
take an inspiration or two from there especially because all code is open
to/for you.

~l0nwlf

On Wed, Mar 24, 2010 at 2:54 AM, Patrick Maupin  wrote:

> On Mar 23, 3:12 pm, Tim Golden  wrote:
> > I can't say I thought *very* hard before sending that but...
> > The OP asked for "integrate Python in Web Pages with HTML"
> > which I understood -- perhaps wrongly -- to mean: run Python
> > in the browser. The only two ways I'm aware of doing that
> > in Python are the undersupported Python-as-IE-scripting-language
> > and IronPython/Silverlight.
>
> If I had to run Python in a browser, the first thing I would do is
> turn to Pyjamas:  http://pyjs.org/
>
> Regards,
> Pat
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python is cool!!

2010-03-23 Thread Patrick Maupin
On Mar 23, 3:12 pm, Tim Golden  wrote:
> I can't say I thought *very* hard before sending that but...
> The OP asked for "integrate Python in Web Pages with HTML"
> which I understood -- perhaps wrongly -- to mean: run Python
> in the browser. The only two ways I'm aware of doing that
> in Python are the undersupported Python-as-IE-scripting-language
> and IronPython/Silverlight.

If I had to run Python in a browser, the first thing I would do is
turn to Pyjamas:  http://pyjs.org/

Regards,
Pat
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python is cool!!

2010-03-23 Thread Michael Torrie
Jose Manuel wrote:
> Would it be easy to integrate Python in Web pages with HTML? I have
> read many info on Internet saying it is, and I hope so 

Django is, among several other similar projects and frameworks, very
popular for generating web apps in Python.  I have only used Django and
it works very well.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python is cool!!

2010-03-23 Thread Tim Golden

On 23/03/2010 20:04, geremy condra wrote:

On Tue, Mar 23, 2010 at 1:07 PM, Tim Golden  wrote:

On 23/03/2010 16:55, Jose Manuel wrote:

Would it be easy to integrate Python in Web pages with HTML? I have
read many info on Internet saying it is, and I hope so 


You probably want to be looking at IronPython and Silverlight.
In fact, the prolific Michael Foord has already produced an
example of this, which gives you the Python tutorial online!

  http://trypython.org

TJG


Granted that I know next to nothing about webwork, but
is there a reason why you recommended a competing,
nonstandard technology rather than simply pointing him
towards more standards compliant tools that exist to do
exactly what he asked for? Seems a bit dodgy to
advocate a closed solution when the alternative has 100%
market share.


I can't say I thought *very* hard before sending that but...
The OP asked for "integrate Python in Web Pages with HTML"
which I understood -- perhaps wrongly -- to mean: run Python
in the browser. The only two ways I'm aware of doing that
in Python are the undersupported Python-as-IE-scripting-language
and IronPython/Silverlight.

Now I look again, I realise that he may have meant simply:
Python as a server-side toolset with possible support for
Javascript. In which case, of course, my answer was not
so applicable.

TJG
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python is cool!!

2010-03-23 Thread geremy condra
On Tue, Mar 23, 2010 at 1:07 PM, Tim Golden  wrote:
> On 23/03/2010 16:55, Jose Manuel wrote:
>>
>> I have been learning Python, and it is amazing  I am using the
>> tutorial that comes with the official distribution.
>>
>> At the end my goal is to develop applied mathematic in engineering
>> applications to be published on the Web, specially on app. oriented to
>> simulations and control systems, I was about to start learning Java
>> but I found Python which seems easier to learn that Java.
>>
>> Would it be easy to integrate Python in Web pages with HTML? I have
>> read many info on Internet saying it is, and I hope so 
>
> You probably want to be looking at IronPython and Silverlight.
> In fact, the prolific Michael Foord has already produced an
> example of this, which gives you the Python tutorial online!
>
>  http://trypython.org
>
> TJG

Granted that I know next to nothing about webwork, but
is there a reason why you recommended a competing,
nonstandard technology rather than simply pointing him
towards more standards compliant tools that exist to do
exactly what he asked for? Seems a bit dodgy to
advocate a closed solution when the alternative has 100%
market share.

Geremy Condra
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python is cool!!

2010-03-23 Thread Tim Golden

On 23/03/2010 16:55, Jose Manuel wrote:

I have been learning Python, and it is amazing  I am using the
tutorial that comes with the official distribution.

At the end my goal is to develop applied mathematic in engineering
applications to be published on the Web, specially on app. oriented to
simulations and control systems, I was about to start learning Java
but I found Python which seems easier to learn that Java.

Would it be easy to integrate Python in Web pages with HTML? I have
read many info on Internet saying it is, and I hope so 


You probably want to be looking at IronPython and Silverlight.
In fact, the prolific Michael Foord has already produced an
example of this, which gives you the Python tutorial online!

  http://trypython.org

TJG
--
http://mail.python.org/mailman/listinfo/python-list