Hello,
(Competition language: English)
First round of Python competition at Python Evaluator will be next
Saturday at 17:00 ( UTC ).
If you want to register:
http://evaluator.vdekovic.net/index.php?select=register.php
Rules:
http://evaluator.vdekovic.net/index.php?select=rules.php
Hello,
I have created a Python evaluator - system that evaluates python
scripts.Better explanation (how does it work):
1.) You have to open task that you want to solve from evaluator
task panel
2.) Solve task
3.) Send task on evaluator
4.) After few seconds you get your result
On 17 velj, 00:09, alejandro aleksanda...@brisiovonet.hr wrote:
Provjeri da si nisi stavio ansii kada si instalirao wx.python.
Mozes probat ubacit iznad svega u fajlu komentar u kojem pise da je fajl u
UTF-8 i onda bi ti trebalo sljakat. Nadem sutra pa ti posaljem
Pozdrav / Hello,
It works
Hello,
I have problem with configuring my wxPython script to work with
Croatian characters like: đ,š,ž,č,ć.
Here is my simple script without wxPython (this script works):
# -*- coding: utf-8 -*-
s = hello normal string đšžćč
print s
..here is my snippet with wxPython:
Hello,
When I run following code with os.popen (for this time measure I'm
using python module timeit):
for i in range(50):
print i
I get this result: 0.00246958761519
But when I run same code from IDLE i get this result:
6.4533341528e-005
now, I have two questions:
1)
On 1 velj, 17:42, Steve Holden st...@holdenweb.com wrote:
vedrandeko...@yahoo.com wrote:
Hello,
When I run following code with os.popen (for this time measure I'm
using python module timeit):
for i in range(50):
print i
I get this result: 0.00246958761519
But when I run
On 18 sij, 21:27, Stefan Behnel stefan...@behnel.de wrote:
vedrandeko...@yahoo.com wrote:
and thanks for all previous help.I want to measure memory usage of
executed python script.I'am working on windows XP.
Could you qualify measure? Do you mean:
a) debug (permanently high accuracy,
Hello again,
Thanks for previous help on Start two threads in same time it was
useful,but when I run this
two threads, I think they don't start at the same time, here is my
code snippet:
import threading
class ThreadedClass1(threading.Thread):
def __init__(self):
On 18 sij, 17:48, Diez B. Roggisch de...@nospam.web.de wrote:
vedrandeko...@yahoo.com schrieb:
Hello again,
Thanks for previous help on Start two threads in same time it was
useful,but when I run this
two threads, I think they don't start at the same time, here is my
code snippet:
Hello,
Does anybody know how can I start two threads in same time?
Regards,
John
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
Does anybody know how can I get usage of stack or/heap memory in
Python on Windows XP?
Regards,
Vedran
--
http://mail.python.org/mailman/listinfo/python-list
On 9 kol, 01:27, Carl Banks [EMAIL PROTECTED] wrote:
On Aug 8, 1:11 pm, [EMAIL PROTECTED] wrote:
Thanks for quick reply.Maybe I'm crazy but I did what you said and I
stll get the same error :( :( :( :(.I have boost version 1.34.1 and
I'm
running it on Windows XP SP2.
While you're at
On 9 kol, 13:34, [EMAIL PROTECTED] wrote:
On 9 kol, 01:27, Carl Banks [EMAIL PROTECTED] wrote:
On Aug 8, 1:11 pm, [EMAIL PROTECTED] wrote:
Thanks for quick reply.Maybe I'm crazy but I did what you said and I
stll get the same error :( :( :( :(.I have boost version 1.34.1 and
I'm
On 7 kol, 21:43, Carl Banks [EMAIL PROTECTED] wrote:
On Aug 7, 3:25 am, [EMAIL PROTECTED] wrote:
Hello,
I want to build my C++ (.cpp) script to (.pyd) like this:
http://en.wikibooks.org/wiki/Python_Programming/Extending_with_C%2B%2B
I have installed Microsoft Visual studio .NET 2003
Hello,
I want to build my C++ (.cpp) script to (.pyd) like this:
http://en.wikibooks.org/wiki/Python_Programming/Extending_with_C%2B%2B
I have installed Microsoft Visual studio .NET 2003 and Boost
Python and then after I run my setup script:
python setup.py build
I get this error:
running
On 7 kol, 09:48, Matthieu Brucher [EMAIL PROTECTED]
wrote:
I think that my MS visual studio cannot find boost python, if
that's the problem then can you tell me how can I solve it.
This is very begginer question,but I can't find answer nowhere, and I
don't have any expirience with
On 7 kol, 11:37, Ulrich Eckhardt [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
hellomodule.cpp(9) : fatal error C1083: Cannot open include file:
'boost/python/module.hpp': No such file or directory
You need to tell it where to find the Boost includes. I suggest you first
try to get
Hello,
Is there any example how can I create executable from executable with
py2exe.For example if I create main executable with some TextEntry
( wxpython ) and then when i write this code into this entry:
import os
print os.getcwd()
print ok
...to main executable convert this code into
On 26 ožu, 20:11, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Wed, 26 Mar 2008 15:38:16 -0300, Tzury Bar Yochay
[EMAIL PROTECTED] escribió:
and then when my application execute code how can I set path to
d3dx module to library.zip/d3dx.py.
I'm not sure is this properly set question.
On 27 ožu, 10:44, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Thu, 27 Mar 2008 06:00:26 -0300, [EMAIL PROTECTED] escribió:
I was add this into my application code:
import sys
import os
my_dir=os.getcwd()
sys.path.append(my_dir)
sys.path.append(my_dir+\\libary.zip)
Hello,
Does anybody have any idea how can I embed my modules to libary.zip
and use it from my application.For example if user write this code in
my TextEntry ( or something like that, textentry is created with
wxpython ) :
import d3dx # directpython module
frame=d3dx.Frame(uMy frame) # create
Hello again,
I'am working a simple application with wxpython, py2exe and
directpython.After I write python code in my wxpython textctrl, then
my application must save that code and create ( pgssetup2.py script ),
and then with py2exe create (.exe) of the code. ( my application is
builded with
Hello,
Is there any idea how can i create (.exe) from application (.exe )
with py2exe?
Regards,
Vedran
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
Here is sample of my simple script with wxpython and modules:
subprocess,threading, directpython...
Code sample:
import wx
import wx.aui
app=wx.App()
frame=wx.Frame(None,title=New project)
#There is also part with wx.aui
frame.Show()
app.MainLoop()
After a few minutes wx
On 2 sij, 12:29, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote:
On Wed, 02 Jan 2008 03:24:56 -0800, vedrandekovic wrote:
Here is sample of my simple script with wxpython and modules:
subprocess,threading, directpython...
Are you accessing the GUI from threads?
Ciao,
Marc
Hello,
Here is example of my ListCtrl items with image:
( filebox1 is ListCtrl )
il = wx.ImageList(16,16)
images=[file1.png,folder.png]
for i in images:
il.Add(wx.Bitmap(i))
img_list=filebox1.SetImageList(il, wx.IMAGE_LIST_SMALL)
j=1
Hello,
How can I Insert image with string in ListCtrl with this example:
# Import ftputil module - like ftplib
from ftputil import FTPHost
# Create connection
ftp=FTPHost(ftp.someserver.com,user,password)
# LIST ALL FILES/FOLDERS ON SERVER
for item in ftp._dir(/):
# Now check if item is
Hello,
I am trying to replace some string with list objects:
my_text1=function1 function2
from my_module_with_functions_1 import *
from my_module_with_functions_2 import *
# functions in module my_module_with_functions_1 :
my_func1 it's value function1
my_func2 it's value function2
#
On 22 kol, 21:18, [EMAIL PROTECTED] wrote:
On 22 kol, 16:01, Gabriel Genellina [EMAIL PROTECTED] wrote:
On 22 ago, 10:04, [EMAIL PROTECTED] wrote:
e.g I need run my my_scripts_setup.bat that contain:
python myscript_setup.py py2exe
Can I cover or redirect log of that
Hello,
e.g I need run my my_scripts_setup.bat that contain:
python myscript_setup.py py2exe
Can I cover or redirect log of that process into my wx program?
I'am using Windows XP SP2, and Python 2.5.
Regards,
Vedran
--
http://mail.python.org/mailman/listinfo/python-list
On 22 kol, 09:19, Diez B. Roggisch [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] schrieb:
Hello,
e.g I need run my my_scripts_setup.bat that contain:
python myscript_setup.py py2exe
Can I cover or redirect log of that process into my wx program?
I'am using Windows XP SP2, and Python
On 22 kol, 10:52, Diez B. Roggisch [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
On 22 kol, 09:19, Diez B. Roggisch [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] schrieb:
Hello,
e.g I need run my my_scripts_setup.bat that contain:
python myscript_setup.py py2exe
Can I cover
On 22 kol, 16:01, Gabriel Genellina [EMAIL PROTECTED] wrote:
On 22 ago, 10:04, [EMAIL PROTECTED] wrote:
e.g I need run my my_scripts_setup.bat that contain:
python myscript_setup.py py2exe
Can I cover or redirect log of that process into my wx program?
I'am using Windows
Hello,
Is there any solution for building exe file from python script
something like bbfreeze.When user write some script in
my program, it must compile script into exe without opening console
( cmd ).I'am working on Windows XP SP2 and Python 2.5.
Regards,
Vedran
--
On 19 kol, 19:34, [EMAIL PROTECTED] wrote:
Reviews of latest models of best guitars, fender, gibson, yamaha, and
many more, with pictures and prices.
http://pro-guitars.blogspot.com/
And if you want to win a free guitar go here
http://freeguitars.blogspot.com/
Hello,
This is a newsgroup
Hello,
I'am using DirectPython 0.8, wxPython 2.8.4.2 (ansi) for Python 2.5
and I'm running it on windows XP SP2.
When I run my wx program, and this program run directpython code:
(I run it under wx frame)
example code:
import d3dx
fr=d3dx.Frame(unicode(My frame))
fr.mainloop()
.this code
On 18 kol, 05:01, math2life [EMAIL PROTECTED] wrote:
On Aug 17, 5:55 pm, DavidM [EMAIL PROTECTED] wrote:
Hi,
Does anyone know of any python or python-wrapped libs for video editing?
My requirements:
- open video files in any of the popular containers (avi, mov, ogg, flv
etc)
On 18 kol, 15:35, [EMAIL PROTECTED] wrote:
On Aug 18, 8:08 am, [EMAIL PROTECTED] wrote:
Hello,
I'am using DirectPython 0.8, wxPython 2.8.4.2 (ansi) for Python 2.5
and I'm running it on windows XP SP2.
When I run my wx program, and this program run directpython code:
(I run it
Hello,
Why this wx example don't return \nHELLO WORLD and other text in same
window:
import wx
import logging
import sys
def nekaj():
print \nHELLO WORLD
class WxLog(logging.Handler):
def __init__(self, ctrl):
logging.Handler.__init__(self)
self.ctrl = ctrl
def
Hello,
I was install Python 2.5 and uninstall Python 2.4 now I cannot run my
scripts, only from idle
What should I do?
Regards,
Vedran
--
http://mail.python.org/mailman/listinfo/python-list
On 11 kol, 11:59, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote:
On Sat, 11 Aug 2007 02:41:26 -0700, vedrandekovic wrote:
I was install Python 2.5 and uninstall Python 2.4 now I cannot run my
scripts, only from idle
What should I do?
Install 2.4 again. Both can be installed
On 11 kol, 20:58, Thorsten Kampe [EMAIL PROTECTED] wrote:
* Laurent Pointal (Sat, 11 Aug 2007 20:09:03 +0200)
[EMAIL PROTECTED] wrote:
On 11 kol, 11:59, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote:
On Sat, 11 Aug 2007 02:41:26 -0700, vedrandekovic wrote:
I was install Python
Hello,
Now,I was install python 2.5 and remove python 2.4 completely.After I
write:
$ python mysetup.py py2exe
...
import py2exe_ util
ImportError: Module use of conflicts with this version of Python
...ok, I know what is a problem, I haven't remove python completely,
in my computer is
On 10 kol, 14:38, Ant [EMAIL PROTECTED] wrote:
On Aug 10, 11:47 am, [EMAIL PROTECTED] wrote:
On 10 kol, 11:02, Ant [EMAIL PROTECTED] wrote:
...
yes,Python 2.5 is on the path, but how can I remove panda3d from that
path?
Hit Win - Break to bring up the System Properties dialog (you can
On 10 kol, 11:02, Ant [EMAIL PROTECTED] wrote:
On Aug 10, 8:39 am, [EMAIL PROTECTED] wrote:
Hello,
Now,I was install python 2.5 and remove python 2.4 completely.After I
write:
$ python mysetup.py py2exe
...
import py2exe_ util
ImportError: Module use of conflicts with
Hello,
If anybody have experiences with setuptools, I was download
bbfreeze-0.95.2-py2.4-win32.egg and when I run installation with cmd:
$ easy_install bbfreeze-0.95.2-py2.4-win32.egg
Processing bbfreeze-0.95.2-py2.4-win32.egg
Removing
Hi,
I have one more question about installation.
After installation my program that uses tokenize module,when I run
myprogram.exe (vgsveki.exe):
Traceback (most recent call last):
File vgsveki.py, line 307, in kompajlati
File vgsveki.py, line 302, in kompajlati_proces
File vgsveki.py,
Hello,
I was download egg file bbfreeze-0.95.2-py2.4-win32.egg ( for windows
of course ),and I have setuptools
version 0.6c6 after I try install this with setuptools:
$ ez_setup bbfreeze-0.95.2-py2.4-win32.egg
Traceback (most recent call last):
File C:\Python24\Lib\site-packages\ez_setup.py,
Hello again,
Is there any patch for python distutils, for this
from distutils import log,dir_util
ImportError: cannot import name log
Regards,
Vedran
--
http://mail.python.org/mailman/listinfo/python-list
On 7 kol, 14:53, Steve Holden [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Hello again,
Is there any patch for python distutils, for this
from distutils import log,dir_util
ImportError: cannot import name log
What version of Python are you running with? It looks as though there
On 7 kol, 18:00, Steve Holden [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
On 7 kol, 14:53, Steve Holden [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Hello again,
Is there any patch for python distutils, for this
from distutils import log,dir_util
ImportError: cannot import
On 7 kol, 19:37, Irmen de Jong [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Hello again,
Is there any patch for python distutils, for this
from distutils import log,dir_util
ImportError: cannot import name log
Regards,
Vedran
Are you sure you haven't written a module
Hello,
Does anybody know how can I insert os.listdir items in wx python
TreeCtrl and every item assign adequately
icon on this example
import wx
class TestFrame(wx.Frame):
def __init__(self):
wx.Frame.__init__(self, None, title=simple tree with icons,
size=(400,500))
il =
Hello
Here is my simple listdir example:
import os
os.listdir(C:\Python24\) # This directory relly exists
Here is my error:
WindowsError: [Errno 3] The system cannot find the path specified: 'l/
*.*'
Regards,
Vedran
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I have one simple string, backspace character question.Here is my
example:
text=Hello\bworld
print text
HelloBSworld
Should this character \b (backspace) in this text return this:
Helloworld?
Regards,
Vedran
--
http://mail.python.org/mailman/listinfo/python-list
On 31 srp, 11:44, [EMAIL PROTECTED] wrote:
Hello,
I have one simple string, backspace character question.Here is my
example:
text=Hello\bworld
print text
HelloBSworld
Should this character \b (backspace) in this text return this:
Helloworld?
Regards,
Vedran
Hi,
If you mean on
On 31 srp, 12:03, [EMAIL PROTECTED] (Lawrence Oluyede) wrote:
[EMAIL PROTECTED] wrote:
If you mean on operating system then unfortunately Windows XP.
I don't know for sure but maybe it doesn't support all ASCII escapes
codes.
Why do you care about \b anyway :-) ?
--
Lawrence,
On 28 srp, 07:05, Zentrader [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
NEW TEXT : Hello world;\nHello:\n\t\t\n\n\n\n\n\nHello2
If you are doing all of this to format the output into columns,
Python's print() or write() will do this, and is easier as well. Some
more info on what
On 28 srp, 14:15, Steve Holden [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
On 28 srp, 07:05, Zentrader [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
NEW TEXT : Hello world;\nHello:\n\t\t\n\n\n\n\n\nHello2
If you are doing all of this to format the output into columns,
Hello,
I have one question about string.I am trying to make an function to
analyze line of some text, this is my example: HELLO;HELLO2:WORLD:,
if that function in this text find ; and : ( in this example will
find both)
e.g that function must return this:
On 27 srp, 19:29, Wildemar Wildenburger [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
I have one question about string.I am trying to make an function to
analyze line of some text, this is my example: HELLO;HELLO2:WORLD:,
if that function in this text find ; and : ( in this example
On 26 srp, 13:43, Steve Holden [EMAIL PROTECTED] wrote:
Thorsten Kampe wrote:
* (Wed, 25 Jul 2007 11:22:03 -0700)
On 25 srp, 17:31, Wildemar Wildenburger [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
And while we're on the topic of communication: The original poster
would do well
On 25 srp, 01:07, Ben Finney [EMAIL PROTECTED]
wrote:
Steve Holden [EMAIL PROTECTED] writes:
[EMAIL PROTECTED] wrote:
On 24 srp, 05:20, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Mon, 23 Jul 2007 16:53:01 -0300, ...:::JA:::...
[EMAIL PROTECTED] escribió:
So..how can I do
On 25 srp, 17:31, Wildemar Wildenburger [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
And while we're on the topic of communication: The original poster
would do well to learn that increasing the number of consecutive
punctuation marks (!!!, ???) is a sure way to turn away many people
On 24 srp, 05:20, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Mon, 23 Jul 2007 16:53:01 -0300, ...:::JA:::...
[EMAIL PROTECTED] escribió:
If you are using the tokenize module as suggested some time ago, try to
analyze the token sequence you get using { } (or perhaps begin/end pairs
in
On 23 srp, 09:19, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Sun, 22 Jul 2007 10:36:59 -0300, [EMAIL PROTECTED]
escribió:
Since the application is transforming
its input, it could transform braces into indentation. Of course
*Python*
doesn't use braces, but the question was how to
On 21 srp, 22:31, Steve Holden [EMAIL PROTECTED] wrote:
...:::JA:::... wrote:
Hello,
After my program read and translate this code:
koristi os,sys;
ispisi 'bok kaj ima';
into the:
import os,sys;
print 'bok kaj ima';
and when it run this code with exec, I always get error like
I wasn't playing silly games at all, and I did prefix that part ofmy
answer with I'm afraid I don't understand this question. The OP is
writing a program to translate a Python-like language that uses
non-English keywords into Python. Since the application is transforming
its input, it could
Hi,
I have already install Microsoft visual studio .NET 2003 and MinGw,
when I try to build a extension:
python my_extension_setup.py build ( or install ) , I get an error:
LINK : fatal error LNK1141: failure during build of exports file
error: command 'C:\Program Files\Microsoft Visual Studio
Drex je napisao/la:
Hi,
I have been looking on the internet for some info about sending files
from PC to a mobile phone (I have a nokia 6288) but I was not able to
find anything.
there is a lot of info how to transfer files from a symbian phone to a
pc, but nothing about sending them in
[EMAIL PROTECTED] je napisao/la:
Drex je napisao/la:
Hi,
I have been looking on the internet for some info about sending files
from PC to a mobile phone (I have a nokia 6288) but I was not able to
find anything.
there is a lot of info how to transfer files from a symbian phone to a
Danyelle Gragsone je napisao/la:
Hi,
Yeah .. if its ubuntu then you have python already installed. I would
suggest that you start reading the documentation on your distro. How
did you get your distro if you don't know what it is? That concerns
me a bit. Ubuntu has alot of documentation
Hello,
No. The only way to change the keywords would be to edit the
Python source and re-compile it.
This was very helpful information , I already know that but I don't
know how
to that.PLEASE HELP ME ABOUT THIS, I WILL BE VERY GRATEFUL TO YOU.
( IF you can please step by step how to I install
Hello,
I have problem with installing Python on the Linux platform.Can you
tell me step by step how can I install
python on linux ( please detailed ) , because I don't know anything
about linux and I really don't understand
python documentation about installing python on linux.
Thanks!!!
--
Danyelle Gragsone je napisao/la:
Greetings,
Python is usally already installed on most distros. In a terminal
window type python to see if something happens. Also please provide
what distro you are running.
Danyelle
On 6/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello,
I
Hello,
I on working on windows and Python 2.4. Where can I find and CHANGE
python
grammar. ( I just want to change the keywords )
PLEASE HELP ME
SOMEBODY!!
THANKS!
--
Hello AGAIN,
I on working on windows and Python 2.4. Where can I find and CHANGE
python
grammar. ( I just want to change the keywords )
PLEASE HELP ME
SOMEBODY!!
THANKS!
--
Hello again,
Thanks for everything previously, I was change the grammar and Lib/
keyword.py, now
Python recognize koristiti as a keyword, but that is not enough:
when I write in my python shell:
koristiti os # koristiti get keyword color, but I get
error:
File input, line
Ognjen Bezanov je napisao/la:
[EMAIL PROTECTED] escribió:
Hello again,
Thanks for everything previously, I was change the grammar and Lib/
keyword.py, now
Python recognize koristiti as a keyword, but that is not enough:
when I write in my python shell:
koristiti os
Hello,
I am trying to make a program for 3D modelling with programming.And
I want make my own program commands,
for example when user type code in my program:
koristiti OS- (THIS IS MY IMAGINARY EXAMPLE OF KEYWORD),
my program must write this code in some user file, but my
program must read
[EMAIL PROTECTED] je napisao/la:
I'm not quite clear on what you are asking, but
you can use the __import__() function to import modules by name.
I want to invent something like my programming language like Python
with the same keywords just changed,
for example if user type in my
81 matches
Mail list logo