15,179 Topics
| |
I have a rock paper scissors code that works in python 2.7- it gives you 4 options (rock, paper scissors, or quit). However, I have to add a while loop to it and it somehow messes up my code whenever I add it. Can someone please help me? Thanks. import … | |
how do i make a code that willfind the distance wether or not your speed is a float or an integer. please help i get no assistance in my class as techer is awful | |
now I know your first thought is going to be rotation matrices, but take a moment to think about how they're applied... I'm wondering if there isn't something more efficient, or if there really needs to be that many operations per bone and vertex. I'm looking for the smallest data … | |
I keep getting a sytax error but i can not find it. It does not highlight the area where it is at. I am still new to programming and need a little help on this one. If you need to see the whole code it is [Click Here](https://github.com/wes1696/Home_1/commit/290a6503a295e4e5a31b3d41f0898ad2dc4d5d25). user_input = … | |
hi, i have managed to several different kivy apps on and i want them to run on different pcs but using a central server which wont be hosted online but within a connection. How can i go about this | |
Help me create a code that will ask the user the guess the randomly generated integer by the computer using recursive function. Thanks! | |
i am building a pong like game and cant seem to figure out how to add in a pause feature everything else works i have movement and collision detection, sound, game over and restart options but cant figure out how to pause the game any help would be greatly appreciated … | |
HI I have .csv file which contains 3 columns ( feature 1 , feature 2 , class ) I need to take 13 row each time from f1,f2 with "1" at the end and save it into another .csv file so if the file contains f1 f2 class 1 1 … | |
Is it possible to use import for third party modules in Python? How? Thanks | |
| |
how to fetch data from PostgreSQL to WXpyhon GUI to automaticaly open the next processe ? | |
I have this tree format. > myapp-> > setup.py > tests -> > test_myapp.py > myapp -> > __init__.py > myapp.py And from test_myapp.py, I am calling: `from myapp import myapp` and when I run` python setup.py test` I am getting `No module named 'myapp'` | |
Dear all, I have a small script wich is supposed to process two images passed as arguments in commandline, but I don't know how to handle these arguments when they are with non latin characters. Here is an example of command python.exe myscrit.py --first=xvalue "image1.png" "οισξφσιο.png" If I isolate the … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 :) | |
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? | |
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 … | |
[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 … | |
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 … | |
` #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 … | |
# 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 … | |
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 … | |
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 … | |
I'm unfamilar on how to install the Python [SIP](https://riverbankcomputing.com/software/sip/download) module for compiling C code ? | |
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 |
The End.