Uploading big files wit cherrypy

2009-02-10 Thread Farsheed Ashouri
I use this code to upload using cherrypy: #Code Start== class NoteServer(object): _cp_config = { 'tools.sessions.on': True } def index(self): return """ filename: Pars Studios, 200

Re: Local python web server problem

2009-02-10 Thread Farsheed Ashouri
Thanks guys, Really appreciate your help. I am trying to solve the problem and will keep you posted when I found a solution. Farsheed Ashouri, Tehran, Iran -- http://mail.python.org/mailman/listinfo/python-list

Local python web server problem

2009-02-09 Thread Farsheed Ashouri
Hi everyone. I have started to develop a web base software for renderfarm managing. I run the cherrypy hello world! example and when I visit 127.0.0.1:8080 on firefox, a nice "Hello World" appears. I am on ubuntu and my ip in local network is 192.168.100.18 but when I visit 192.168.100.18, there is

wxpython and IEHtmlWindow, Focus Problem.

2008-04-24 Thread Farsheed Ashouri
Hi everyone. I create a little browser with wxpython and IEHtmlWindow. But I have a little problem here. When I press enter in the html page, The focus goes to another panel. Why this happens? I want to load a html page and it have textares and user should able to press enter inside html page. Th

Re: Py2exe and Multi Treading problem.

2008-03-16 Thread Farsheed Ashouri
On Mar 12, 10:35 pm, Thin Myrna <[EMAIL PROTECTED]> wrote: > Farsheed Ashouri wrote: > > NO it dont work. If I remove threading part, it works like a charm. > > Any Idea? > > Of course it does then. Try to join the thread or do something else to > prevent the non-thre

Re: Py2exe and Multi Treading problem.

2008-03-12 Thread Farsheed Ashouri
NO it dont work. If I remove threading part, it works like a charm. Any Idea? -- http://mail.python.org/mailman/listinfo/python-list

Py2exe and Multi Treading problem.

2008-03-11 Thread Farsheed Ashouri
Here is my script #** #** import threading import socket def openSocket(portNum): mySocket = socket.socket ( socket.AF_INET, socket.SOCK_STREAM ) mySocket.

A new group for MAYA - PYTHON lovers.

2007-12-20 Thread Farsheed Ashouri
New mailing list for Maya/Python users. http://groups.google.com/group/python_inside_maya -- http://mail.python.org/mailman/listinfo/python-list

Re: Best way to protect my new commercial software.

2007-12-20 Thread Farsheed Ashouri
Well, I think my question was a programming question not a copyright question. I expect a nice script in 15-35 lines that protects my software from working on another machine. I don't want best protection method available, like flexlm or etc. My software is some kind of business secret and working

Re: Need to open an Url and display it in a window created using Python win extensions

2007-12-20 Thread Farsheed Ashouri
Can you post your basic wx part code? -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython FileDialog, select folder

2007-12-20 Thread farsheed
y() return _userCancel Cheers, Farsheed. -- http://mail.python.org/mailman/listinfo/python-list

Re: Better way to searching.

2007-12-14 Thread farsheed
thanks, I'll try it. -- http://mail.python.org/mailman/listinfo/python-list

Re: Best way to protect my new commercial software.

2007-12-14 Thread farsheed
Let me be clear for you: there are someone in my company who love to use my software in other companies that she works there also. and because it is an inhouse tool, my CEO wanted me to protect it from stealing. and really we havn't time to copyright it. so I want to secure my software from some pe

Better way to searching.

2007-12-13 Thread farsheed
my code is here: _ def Globing(self, dir, extension, nop, inputDepth): 'It creates a basic glob function that needed in other classes' self.exop = '*.' self.opr = '*/'

Re: Best way to protect my new commercial software.

2007-12-13 Thread farsheed
Thank you all. I explain what I did to do it. Very simple but what I want: I find the host id of system (using ipconfig) and create a hash code based on it.(some math, md5 and functions). the code for licensing is about 15 lines and is very fast. I needed 20 licenses and I wrote a keygen for mysel

Re: newbie

2007-12-10 Thread farsheed
On Dec 11, 5:03 am, "Whizzer" <[EMAIL PROTECTED]> wrote: > Is OReilly's Learning Python a good place to start learning to program? > I've been told Python is a good first language. > > Thanks for the advice. I learn it from python own tutorials comes with it's installation. It is so important that

Re: Best way to protect my new commercial software.

2007-12-10 Thread farsheed
So you say there is not any trusted way? -- http://mail.python.org/mailman/listinfo/python-list

Re: Best way to protect my new commercial software.

2007-12-10 Thread farsheed
Thanks. But I ask this question technically, I mean I know nothing is uncrackable and popular softwares are not well protected. But my software is not that type and I don't want this specific software popular. It is some kind of in house tool and I want to copy protect it. this is very complicated

Best way to protect my new commercial software.

2007-12-09 Thread farsheed
I wrote a software and I want to protect it so can not be cracked easily. I wrote it in python and compile it using py2exe. what is the best way in your opinion? -- http://mail.python.org/mailman/listinfo/python-list

Re: "finding hostid with python"

2007-12-09 Thread farsheed
Thanks. -- http://mail.python.org/mailman/listinfo/python-list

"finding hostid with python"

2007-12-07 Thread farsheed
I,m searching for a way to obtain hostid in windows. Any ideas? -- http://mail.python.org/mailman/listinfo/python-list

Re: C++2py

2007-12-03 Thread farsheed
thanks markacy, very thanks for your helpful reply. -- http://mail.python.org/mailman/listinfo/python-list

C++2py

2007-12-02 Thread farsheed
I,m looking for a tool for converting c++ to python. Any Ideas? TIA. -- http://mail.python.org/mailman/listinfo/python-list

Re: "Show this file in explorer"

2007-12-01 Thread farsheed
You are my hero man, Thanks a lot. -- http://mail.python.org/mailman/listinfo/python-list

Re: "Show this file in explorer"

2007-12-01 Thread farsheed
second remains unselected. So I need to close the explorer and run the command again for the second file. this is different from the way iTunes do it. Any Idea? TIA. Farsheed. -- http://mail.python.org/mailman/listinfo/python-list

Re: "Show this file in explorer"

2007-12-01 Thread farsheed
That was great. Thanks so so much. can you tell me where can I find that kind of trips? Thanks Again. -- http://mail.python.org/mailman/listinfo/python-list

Re: 25 MOST FREQUENTLY ASKED QUESTIONS ABOUT ISLAM

2007-12-01 Thread farsheed
No , I tell you in brief what exactlly Islam is. (I know this is now a good location but excuse me this time) I was muslem for 25 years and happily not now. I read quran (muslem's book) every day and it is full of inhuman words. rozbeh(salman) and mohhamad made this book to **ck their people. if y

"Show this file in explorer"

2007-12-01 Thread farsheed
I have a big problem. I have a list of files that my script find and list them in a little gui. I need this function: when i d-click on each item, I want explorer opens and selects that item inside windows explorer. like that beautiful buttom in iTunes. Thanks in advane. Farshid Ashouri. -- htt