14,948 Topics

Member Avatar for
Member Avatar for abhranil

Hi, I want to get into python programming opportunities. i'm gone through few python tutorial. have knowledge of python basic. I can rate my self in python as begineer. Please help me or guide me how can i implement my python skills to any project so that i can get …

Member Avatar for Dave_15
0
308
Member Avatar for a1eio

Hey, Just a simple question really, i was looking through the documentation for python and i couldn't find anything that did basic cd drive things, like ejecting it and stuff. The one module i did find 'cd' was only compatible on IRIX systems. After failing miserably on google i was …

Member Avatar for Mahmoud_16
0
4K
Member Avatar for Saif_6

I have made two windows startscreen=tk() and FirstScreen=tk() I want to make a button on **startscreen** that opens up the window **FirstScreen* This is the code for the startscreen startscreen=Tk() ##Photo Car## PhotoCarRed = PhotoImage(file="D:\Python Projects\Parking Management System\Photos\Best-High-Resolution-Photos-For-Cars.png") PlacementPhotoCarRed = Label(startscreen, image = PhotoCarRed) PlacementPhotoCarRed.pack(side="top", fill=X ) ###ToolBar on the …

Member Avatar for slate
0
595
Member Avatar for Rick_4

I am having a problem getting a good install of Kivy on my Win 10 system. There is a module missing. Has anyone had a successful install. Kivy seems to be very powerful.

Member Avatar for rproffitt
0
82
Member Avatar for Gurpinder

So I just started coding and this is probably a stupid mistake but i wrote this code: print("would you like to roll the dice?") input('enter answer') yes="yes" no="no" if "yes": from random import randint print(randint(0,6)) elif "no": print("error") so my problem is that when i type no i want the …

Member Avatar for Gribouillis
0
313
Member Avatar for Lucas_10

I'm thinking of a game to make from Python 2.7.10, so can you guys tell me what should I make and then I could put the code in a reply :)

Member Avatar for Lee_15
-2
435
Member Avatar for Samir_7

Hi, ive written and made a simulation using Vpython and i was wondering if its possible to embed this simulation made using vpython into a GUI made with Tkinter?

Member Avatar for rproffitt
0
92
Member Avatar for yaldoo

Okay, so after the whole incident two years ago with a really terrible computer science GTA teaching C++ in the summer I have decided to give programming another chance. But this time I am teaching myself Python at my own pace and I am currently using an intro book. And …

Member Avatar for yaldoo
0
681
Member Avatar for lewashby

[Linux Mint] Linux Mint I'm following a book on Django and it has this -> https://hellowebapp.com/setup/ accompanying website. Take a look below at what I'm getting when I get to the "Start your Django project" section of the link. Here's a peak at my terminal input and feedback. (venv) user@mothership …

Member Avatar for lewashby
0
544
Member Avatar for Zach_2

https://gist.github.com/anonymous/b789bf44fcd30c1bc721756346ce52a1 Sending text is perfectly, but when I tried to send an image, it would send all the data except for the last 1 kilobyte of my image. How do I send the image pergectly? I have tired every other forum but I can't find anything. All the close things …

Member Avatar for Zach_2
0
397
Member Avatar for bob_16

` #include<stdio.h> #include<conio.h> #define max 25 void main() int frag[max],b[max],f[max],i,j,nb,nf,temp,highest=0; static int bf[max],ff[max]; clrscr(); printf("\n\tMemory Management Scheme - Worst Fit"); printf("\nEnter the number of blocks:"); scanf("%d",&nb); printf("Enter the number of files:"); scanf("%d",&nf); printf("\nEnter the size of the blocks:-\n"); for(i=1;i<=nb;i++) {printf("Block %d:",i);scanf("%d",&b[i]);} printf("Enter the size of the files :-\n"); for(i=1;i<=nf;i++) {printf("File …

Member Avatar for rproffitt
-2
370
Member Avatar for Keyur_2

# Welcome To Smart Calculator with AI v1.0. # Please try this code on PC COMMAND PROMPT OR 'PyCharm' for Better Experience (Recommended). # Please Leave Comment if anything is wrong in this code OR You have any implementation idea. # Like if You Enjoy the code : By KEYUR …

Member Avatar for ddanbe
0
998
Member Avatar for DaleGriff

Hi I've recently downloaded Vpython and python3.1 I have been impressed with the 3D animation ability of Vpython and playing around with the sample code available. I am a physics teacher and would like to make some interactive simulations to use in class. Is there any way that Vpython and …

Member Avatar for 令佳
1
2K
Member Avatar for prowler421

Hey, I tried to install django after python installation (3.4.0 version), the problem began when i tried to run the simple command: "pip install django" via the cmd - it did nothing (descending line and writes nothing). I forced it to apply the installation using the command: "python -m pip …

Member Avatar for G_S
0
193
Member Avatar for Siberian

I'm unfamilar on how to install the Python [SIP](https://riverbankcomputing.com/software/sip/download) module for compiling C code ?

Member Avatar for G_S
0
103
Member Avatar for ramsiva

i installed on windows python 3.5.1 latest version on windows but i am try to fail on set up module django. any body help me, to set up django and how to open sample program on browser

Member Avatar for G_S
0
210
Member Avatar for Ivnas

Hi All, I am working on a little side project for myself. i have created an interface which contains two listboxes and a few buttons. Clicking on each button would load separate csv files and they would populate in listbox 1. This is as far as i have gotten, what …

Member Avatar for G_S
0
770
Member Avatar for Ala'a99

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on). the function that I created to find the …

Member Avatar for Xavier_5
0
1K
Member Avatar for Geethu_2

import urlparse import urllib import urllib2 from bs4 import BeautifulSoup from collections import Counter import re import Tkinter from Tkinter import * import ttk from tkFileDialog import askopenfilename import logging import tkMessageBox import tkFileDialog import csv import json import os import time import collections import shutil import thread from PIL …

0
206
Member Avatar for vegaseat
Member Avatar for Ali_65
2
11K
Member Avatar for Xavier_6

Hello I'm new to python so I was thinking on building a simple neural network...I think I'm almost there and got an error, so I would really need a help right now. from PIL import Image from scipy.misc import imread import matplotlib.pyplot as plt import matplotlib.image as mpimg from pybrain.tools.shortcuts …

Member Avatar for Gribouillis
0
2K
Member Avatar for inkcoder

Well if you were like me and Python is your first language. You are trying to learn programming and many people suggested that learn Python as a first language. You take their advice, your download Python and get all set up. Maybe you take a tutorial or two in order …

Member Avatar for Gabriel_9
1
48K
Member Avatar for Pi

Hi, im writing app in Python 3.4 using tkinter. Its timer for windows 7 and higher. Input some minutes and press start button. When time reaches zero it will shutdown computer. Ive used update method with time.sleep - look at my code. But i need to make this timer with …

Member Avatar for Gribouillis
0
299
Member Avatar for Kristians

Hello. I am in need of your help guys. I have a topic "Patchworks" in uni right now and I have no idea how to draw them on window by using graphics.py in Python 3.5 Basically I got following patch designs to draw on screen: [IMG]http://i67.tinypic.com/2wbt7v5.png[/IMG] and [IMG]http://i68.tinypic.com/j9u7mo.png[/IMG] I will …

Member Avatar for Gribouillis
0
429
Member Avatar for lokesh_6
Member Avatar for Gribouillis
0
303
Member Avatar for Lucas_10

So, I'm making a ton of games like Bubble Blaster but will anyone help me with my currunt one, CodeNet! Currently this is the code. #CodeNet.com #Game Script import time print('Welcome') menu = ['Accept', 'Cancel'] from Tkinter import * HEIGHT = 626 WIDTH = 1238 window = Tk() window.title('Code Net.com') …

Member Avatar for Lucas_10
0
383
Member Avatar for Lucas_10

I'm pretty brand new to Python and started with Python 2.7.10 for a start but I started thinking of 'updating' Python for some random reason. Plus there are many programers who 'stuck' with Python 2.7 for many reasons like in Python 3 you'd have to put parenthesis in a print …

Member Avatar for ddanbe
0
998
Member Avatar for rhys1619

Hi, i was want to add an image that is displayed before my game and then the user will click or press enter and the image will disappear and my game will start. I have tried "blit" and a few other thinks to try and get the image to appear …

Member Avatar for Lucas_10
0
348
Member Avatar for Lucas_10

How could I improve my code for Bubble Blaster. from Tkinter import * HEIGHT = 626 WIDTH = 1238 window = Tk() window.title('Bubble Blaster 1.8 - By Lucas - AiroTM - Contact Us On Airo ;)') c = Canvas(window, width=WIDTH, height=HEIGHT, bg='darkblue') c.pack() ship_id = c.create_polygon(5, 5, 5, 25, 30, …

Member Avatar for Lucas_10
0
348
Member Avatar for bryann

I am getting an unexpected result when using mod '%' in Python. When I type print(356%3.56) I would expect the result to be 0 as 3.56 goes in to 356 exactly 100 times. However when I run the code it returns 3.5599999999999947. What is the reason for returning this number …

Member Avatar for Gribouillis
0
359

The End.