15,185 Topics

Member Avatar for
Member Avatar for Tcll

**Usage:** Provides a secure frontend object with restricted access to attributes of the backend object.

Member Avatar for Gribouillis
0
437
Member Avatar for Nether_1

I'm writing a python program that will search for a password that is the first piece in a string. I'm using raw_input() to do it, and here's what the code is like list = ['Nether\n'] password = list[0] print password if raw_input('Please Enter Password: ') == password: print "Successful" This …

Member Avatar for Gribouillis
0
365
Member Avatar for ayushi_3

I am learning python from "Learn Python The Hard Way", I came across a source code "from sys import argv" and got an explanation that sys is a module from where argv is imported. Although, sounds simple but still not able to understand the concept behind. I would like to …

Member Avatar for hastings.george.5
0
212
Member Avatar for Saif_7
Member Avatar for Estermont
Member Avatar for Dani
0
215
Member Avatar for dinilkarun

Hi, I am trying to open a large excel file (.xlsx) to ad some rows of data from another excel file. However, due to the size of the destination file i am getting the memory error. I tried the below, however when i create the worksheet object it is creating …

Member Avatar for ddanbe
0
2K
Member Avatar for Mark_64

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 …

Member Avatar for slate
0
296
Member Avatar for Hi

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

Member Avatar for ddanbe
0
664
Member Avatar for Tcll

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 …

Member Avatar for Tcll
0
592
Member Avatar for Violated

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 = …

Member Avatar for rproffitt
0
181
Member Avatar for mcroni

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

Member Avatar for rproffitt
0
155
Member Avatar for Jeah_1

Help me create a code that will ask the user the guess the randomly generated integer by the computer using recursive function. Thanks!

Member Avatar for slate
0
175
Member Avatar for bmanzana

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 …

Member Avatar for shubham_9
0
9K
Member Avatar for tofi

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 …

Member Avatar for tofi
0
340
Member Avatar for Arpita_1
Member Avatar for Arpita_1
0
319
Member Avatar for massivefermion
Member Avatar for pty
0
512
Member Avatar for Sergio_5
Member Avatar for Birhanu_1

how to fetch data from PostgreSQL to WXpyhon GUI to automaticaly open the next processe ?

-2
181
Member Avatar for glao

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'`

Member Avatar for glao
0
297
Member Avatar for giancan

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 …

Member Avatar for Gribouillis
0
390
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
5K
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
606
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
438
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
93
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
693
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
547
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
404

The End.