Unable to make ironpython run in browser with silverlight

2011-05-25 Thread ErichCart ErichCart
Basically i am following this tutorial: http://blog.jimmy.schementi.com/2010/03/pycon-2010-python-in-browser.html According to it, this code should run fine: !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; html head script type=text/javascript

Re: Unable to make ironpython run in browser with silverlight

2011-05-25 Thread ErichCart ErichCart
Here is how it looks on free webhosting account: http://silverlighttest.zzl.org/silverlighttest.html It is supposed to show a window with Hello from python, but it shows smth else completely. -- http://mail.python.org/mailman/listinfo/python-list

Re: Unable to make ironpython run in browser with silverlight

2011-05-25 Thread ErichCart ErichCart
On May 26, 9:44 am, Jimmy Schementi jscheme...@gmail.com wrote: You need to run it from a web-server; it doesn't work when running from file:// due to Silverlight's security sandbox. Read the comments on my blog-post, it mentions the web-server there. I see.. But here:

Python sets which support multiple same elements

2011-05-20 Thread ErichCart ErichCart
Many times when I am writing some program in python, I notice that I could transform my list into set, then use the set methods like union, intersection, set equality etc. , and it will solve my problem easily. But then I realize that if I transform my list into set, it will remove duplicates of

Re: Python sets which support multiple same elements

2011-05-20 Thread ErichCart ErichCart
I see! How could I overlook sorting )) It seems that collections.Counter is what I was talking about. It seems to support all the set operations. Also I realized that the data structure which i was describing is called miltiset, and collections.Counter is python implementation of multiset. --

Re: What do I need to know in order to write a web application in python?

2011-03-06 Thread ErichCart ErichCart
QT Designer looks very nice. I hope I can use it with PySide. I would rather use PySide than PyQT, because PyQT is not under LGPL license. -- http://mail.python.org/mailman/listinfo/python-list

Re: What do I need to know in order to write a web application in python?

2011-03-05 Thread ErichCart ErichCart
Visual Python seems to be exactly what I want. But it doesn't seem very popular. Perhaps it means that there are not many people who will be able to help if I have problems with it. Also judging by the amount of ads at visualpython.org, it also doesn't seem very serious. I looked into pyGTK, and

What do I need to know in order to write a web application in python?

2011-03-04 Thread ErichCart ErichCart
I am currently a Computer Science student, I can write in pascal, C, and Java, and recently I learned about Python and fell in love with it. I watched some python programming tutorials on youtube, and now I can write some programs. But what I really want to do is to make a website where people can

Re: What do I need to know in order to write a web application in python?

2011-03-04 Thread ErichCart ErichCart
It is just that I want to better my python skills by doing this. I have heard about Django, can't this be done with Django? -- http://mail.python.org/mailman/listinfo/python-list

Re: What do I need to know in order to write a web application in python?

2011-03-04 Thread ErichCart ErichCart
By real-time, I mean that I want it to be similar to the way instant online chess works. Something like here: instantchess.com, but for RISK. I thought about making such an application, and now that I want to practice python I thought that perhaps it can be done with python. Now after your