- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I'm a philosophy lover that likes rock 'n' roll, is a nerd and a cinephile.
Hey ya guys, it's my first topic on DaniWeb, sounds like a good place to find help with programming. :) Today I'm trying to compile a simple code made for PyQt4 using cx_Freeze, but I'm getting an error, I'll show you all the codes: [B]example.pyw[/B] [CODE]import sys from PyQt4 import … |
|
Re:
Hi Friends, (i) I'm very new to python.so i wanna know which version of python is suitable for me.I have [I][B]python 2[/B][/I] and [I][B]python 3[/B][/I] in my choices..which one is best for me??? (ii)Also give me the list of GUI toolkits for respective versions.. (iii)which version has the best library … |
|
Re:
hello friends , i just need to test the Cx_freeze , i have in a folder /home/user/Bureau/testexe/ two files : Hello.py , its code is : [CODE]#!/usr/bin/python # -*- coding: utf-8 -*- myfile = open('testexe.text','a') print >> myfile, "Hello" myfile.close()[/CODE] and a second file : makeexe.py which contain : [CODE]#makeexe.py … |
|
I'm trying to compile the following pygame code: [CODE]import sys, pygame pygame.init() size = width, height = 320, 240 speed = [2, 2] black = 0, 0, 0 screen = pygame.display.set_mode(size) ball = pygame.image.load("ball.gif") ballrect = ball.get_rect() while 1: for event in pygame.event.get(): if event.type == pygame.QUIT: sys.exit() ballrect = … |
|
Re:
Hello everyone, I generate an executable for an application in Python with Tkinter interface , on my machine when I double click on the executable the application execute well. The problem arises when I move the entire file on another machine, while there on a machine that executable runs from … |
|
Re:
Hello people. I learning phyton and have a problem. [CODE]def Cel2Fah(temp): Fahren = str((9.0/5.0)*temp+32); return Fahren;[/CODE] I was asked to write a function which converts celsius to fahrenheit([url]http://www.pyschools.com/quiz/view_question/s2-q5[/url]). It says: "Return a string of 2 decimal places", but i dont know how to. |
|
Re:
Is their any way to make an exe from my python files other that py2exe as am getting some problem.And for the same is their any method for linux also. |
|
Hello friends, I'm developing a small application with PyQt4. [img]http://i41.tinypic.com/2vl1f2t.png[/img] I want to add two spacer between Print and the other icons, just like they did on Notepad, do anyone know how to do it? [img]http://i39.tinypic.com/r87cro.png[/img] |
|
Hey mates, it's me again. I'm trying to develop a small application, but I'm not sure how to put two icons in the same toolbar, probably theres another way of creating toolbars instead of "self.toolbar", I'm not sure. Check my code: [CODE]import sys from PyQt4 import QtGui class Routine(QtGui.QMainWindow): def … |