j'ai beau essaillé mais je n'arrive pas à transformer mes sriptes en executable pour windows
alors voila je vous presente un scripte et est ce que l'un de vous pourait me le compiler et me le renvoyer ??
merci d'avance
voila le scripte
###############################################################Debut
from Tkinter import*
import Pmw
from random import randrange
from math import*
import tkMessageBox
import sys
import os
import pickle
#######################################################
def graphee():
global graphe,graphe1,gg,feb2,rebondinstant
graphe1=int(graphe.get())
if graphe1==1:
if len(rebondinstant)!=0:
gg=1
commentaire.configure(text='graphique créé',bg='blue')
creat_graph()
else:
if len(rebondinstant)!=0:
commentaire.configure(text='pas de graphique',bg='blue')
fen2.destroy()
gg=0
def creat_graph():
global gg,boule,dialogue,diametre,nomboule,var,valuex,valuey,time,fen2,moyene,rebondmax,rebondinstant,timet
if gg==0:
can2.delete(ALL)
if gg==1:
fen2=Tk()
fen2.title('Graphique a t='+str(var-5)+' secondes')
can2=Canvas(fen2,width=500,height=500,bg='black')
gg=2
can2.grid(row=2,column=1,sticky=N)
if gg==2:
hau=0
linered1=0
can2.delete(ALL)
can2.create_line (5,490,5,5,fill='blue')
can2.create_line (5,490,500,490,fill='blue')
for i in range(0,len(rebondinstant)):
linered1=rebondinstant[i]
linered=490/linered1
hau=linered
for i in range(0,linered):
can2.create_line (0,hau,10,hau,fill='red')
hau=hau+linered
lar=0
intercalex=0
linered=500/(len(timet)+1)
lar=linered
for i in range(0,linered+1):
can2.create_line (lar,495,lar,485,fill='red')
lar=lar+linered
gh=0
hau=0
j=len(rebondinstant)-1
while gh=(H-(diametre/2)):vitessex[i],rebondc=-vitessex[i],rebondc+1
if x[i]=(L-(diametre/2)):vitessey[i],rebondc=-vitessey[i],rebondc+1
if y[i]vitessey[h]>0.3:vitessex[h],vitessey[h]=0,0
can.coords(boule[i],x[i],y[i],x[i]+(diametre/2),y[i]+(diametre/2))
elif gravite1==1:
if frot==0:
for i in range(0,len(boule)):
for j in range(0,len(boule)):
if j!=i:
d=sqrt((-x[i]+x[j])**2+(-y[i]+y[j])**2)
f=d
if d>diametre/2:
vitessex[i],vitessey[i]=vitessex[i]-(vitessex[j]/f),vitessey[i]-(vitessey[j]/f)
elif d=(H-(diametre/2)):vitessex[i],rebondc=-vitessex[i],rebondc+1
if x[i]=(L-(diametre/2)):vitessey[i],rebondc=-vitessey[i],rebondc+1
if y[i]diametre/2:
vitessex[i],vitessey[i]=vitessex[i]-(vitessex[j]/f),vitessey[i]-(vitessey[j]/f)
elif d=(H-(diametre/2)):vitessex[i],rebondc=-vitessex[i]*frotvalue,rebondc+1
if
x[i]=(L-(diametre/2)):vitessey[i],rebondc=-vitessey[i]*frotvalue,rebondc+1
if
y[i]
Afficher la suite