Re: CPU or MB Serial number

2006-07-11 Thread Bayazee
ThanX for your clear answer !
but what we can do in linux ?

-
first iranian python community --> www.python.ir

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


Embedding exe file

2006-07-16 Thread Bayazee
hi
how i can Embed an exe file in python program ?
i want read an exe file then convert it to base64 and store in a string
format and Embedd in python code such this :

Exe='''R0lGODdhFQAVAPMAAAQ2PESapISCBASCBMTCxPxmNCQiJJya/ISChGRmzPz+/PxmzDQyZ
DQyZDQyZDQyZCwAFQAVAAAElJDISau9Vh2WMD0gqHHelJwnsXVloqDd2hrMm8pYYiSHYfMMRm
53ULlQHGFFx1MZCciUiVOsPmEkKNVp3UBhJ4Ohy1UxerSgJGZMMBbcBACQlVhRiHvaUsXHgywTdyc
...'''

then i want execute it without converting and saving it in a separate
exe file . in the other hand i want Embedding exe file ...
how i can do it ??
ThanX for Answers ...!!


First Iranian Python Community --> www.python.ir

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


Re: Embedding exe file

2006-07-17 Thread Bayazee
hi,ThanX
but i dont want to save the exe file in temp file and run it . i want
to run it directly from python . maybe such this :
exec("file("test.exe","rw").read())")
i want write a cd lock with python tp protect an binary file . and so i
dont want save it in other temp file fom max security 

-
Iranian python community --> www.python.ir

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


Converting a web to pdf or ..‍

2006-07-19 Thread Bayazee
Hi ,
I have a web site and i want to write a perogram with python that my
users can convert custom web page of site to pdf (or other type :jpeg,
doc,odt,or...) and download it . i dont want only convert text . it is
be very good to i can don it for both text and images ... similar to
web page ... can i do it with  ReportLab ??

---
Iranian Python Community --> www.python.ir

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


Re: Converting a web to pdf or ..‍

2006-07-25 Thread Bayazee

Colin J. Williams wrote:
> You might consider using OpenOffice and talking to it through PyUno.
>
> Colin W.

Hi
TanX for replies ...
i want to use it in linux server so i havent OOO or ... other X program
. i want a way similer this :
http://www.easysw.com/htmldoc/
u can test it here :
http://www.easysw.com/htmldoc/pdf-o-matic.php

--
Iranian Python Community : www.python.ir

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


hide python code !

2006-08-10 Thread Bayazee
hi
can we hide a python code ?
if i want to write a commercial software can i hide my source code from
users access ?
we can conver it to pyc but this file can decompiled ... so ...!!
do you have any idea about this ...?

---
First Iranian Open Source Community : www.python.ir

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


Re: hide python code !

2006-08-10 Thread Bayazee
hi
in compiled languages when we compile a code to an executable file it
convert to a machine code so now we cant access to source ...
but in python we easily open the program executable(ascii) file and
read source  
i meen than any way to protect my code or convert it to executable
witch can not be decompiled (python code)

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


Re: hide python code !

2006-08-11 Thread Bayazee
Hi,
ThnaX for Your Answers ...
i am an open source programmer ... ! and i never like to write a closed
source app or hide my codes ! it just a question that i must
answer/solve it!
one of site ( www.python.ir ) users asked this question ! but
unfortunately i have't any solution  to it ! so i ask it here to know
your concepts ...
so sorry for my inferior question
but i realy want to know a way to do it(if it possible) ! and it is't
mean that i want to do it !
Best Regard's

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


Re: hide python code !

2006-08-15 Thread Bayazee

Armin Steinhoff wrote:
> Bayazee wrote:
> > hi
> > can we hide a python code ?
> > if i want to write a commercial software can i hide my source code from
> > users access ?
> > we can conver it to pyc but this file can decompiled ... so ...!!
> > do you have any idea about this ...?
>
> Use Pyrex in order to build C-Modules from the critical parts of your
> software.
>
> >
> > ---
> > First Iranian Open Source Community : www.python.ir
>
> Interesting ... but you are not a member of this community. Right?
>
> --Armin


Hi
thanx for your answers . i read all of your replys carefully ...
i am an open source Programmer ! i love to distribute my sources and
use other ideas ! but asking a question is't reason of using it ! i
want to find a way to hide python source codes ! can we do it ? how ?
but i dont want to use it 
this is a question that i must be answer to a friend !

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


comparing of python GUI´s

2006-06-20 Thread Bayazee
Hi
i want some info ...
plz tell me the benefit  (or any data) of each gui (pyqt , pyqtk ,
wxpython , tkinter ..)
in the other hand wich one you offer (and why ?) ?

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


Re: comparing of python GUI´s

2006-06-20 Thread Bayazee
ThanX ...
any idea for choosing one of them ?
best in linux & windows
i must write a cross platform project .
it is a chat server and client with a user end site .
i started by writing a web site and creating a database in MySQL (FC4)
.
now i want to write a client with gui . similir to yahoo messenger or
...
whats your suggest ?

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


reaching to the notification area

2006-06-23 Thread Bayazee
Hi
i want to make an icon in the notification area by python .
how can I make a notification area button likewise windows system tray
and show custem menu on right click or ...
(i want to use pyqt ...)
ThanX

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


Re: reaching to the notification area

2006-06-24 Thread Bayazee
hi
i can fine somethings in google such this :
http://www-128.ibm.com/developerworks/linux/library/l-wrap/
but i can not copmile files !
Any idea !!!???

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


Re: for and while loops

2006-06-28 Thread Bayazee
hi

#Exercise 1 :
s=0
while 1:
  s+=input("Enter a num : ")
  if s>=100:
print "The sum is greater than 100 : ",s
break

#Exercise 1 :
s=0
for i in range(5):
  s+=input("Enter num #%d > "%(i+1))
print "The Sum is : " , s

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


Re: for and while loops

2006-06-28 Thread Bayazee
hi

#Exercise 1 :
s=0
while 1:
  s+=input("Enter a num : ")
  if s>=100:
print "The sum is greater than 100 : ",s
break

#Exercise 2 :
s=0
for i in range(5):
  s+=input("Enter num #%d > "%(i+1))
print "The Sum is : " , s

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


free python hosting !

2006-07-10 Thread Bayazee
hi
i want a free hosting for python .
so i can make my scripts and upload to server .
i want to use mod_python ...

-
www.python.ir --> Persian Python Community !

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


Python for modem App

2006-07-10 Thread Bayazee
hi
i want to write a program with python that can listen to modem and
accept a dial in connection then i can play a sound or send voice to
caller & can assess user enterd keys 
how i can send a voice format via modem that caller can hear it .. !?

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


Re: free python hosting!

2006-07-10 Thread Bayazee
Thanx  !!

-
www.python.ir --> Persian Python Community !

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


Re: Python for modem App

2006-07-11 Thread Bayazee
Any Idea !!!???

---
First Iranian Python & Programming Community --> www.Python.ir

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


CPU or MB Serial number

2006-07-11 Thread Bayazee
Hi,
How can I get CPU Serial number , or motherboard serial number with
python . I need an idetification of a computer 
ThanX

---
iranian python community --> www.python.ir

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