Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,671
» Latest member: OLHOSANTOTM
» Forum threads: 38,645
» Forum posts: 175,052

Full Statistics

Online Users
There are currently 436 online users.
» 1 Member(s) | 429 Guest(s)
Bing, Baidu, Google, Yandex, buran

Latest Threads
While loop is terminating...
Forum: Homework
Last Post: Plyth
Yesterday, 01:49 AM
» Replies: 2
» Views: 226
PythonPath file
Forum: General Coding Help
Last Post: Pedroski55
Jul-04-2025, 10:56 PM
» Replies: 7
» Views: 19,792
Building a food delivery ...
Forum: Homework
Last Post: nooryasmeen022
Jul-04-2025, 04:12 PM
» Replies: 3
» Views: 7,522
Python Install Mager Help
Forum: News and Discussions
Last Post: snippsat
Jul-04-2025, 09:43 AM
» Replies: 5
» Views: 373
RemoTe server operation w...
Forum: General Coding Help
Last Post: mario17
Jul-04-2025, 07:18 AM
» Replies: 4
» Views: 314
Hide CLI while grabbing i...
Forum: GUI
Last Post: Gribouillis
Jul-03-2025, 08:12 AM
» Replies: 1
» Views: 164
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Larz60+
Jul-02-2025, 05:41 PM
» Replies: 4
» Views: 696
textbox compare command n...
Forum: GUI
Last Post: deanhystad
Jul-02-2025, 01:40 PM
» Replies: 1
» Views: 240
Deploy Flask apps on Wind...
Forum: Web Scraping & Web Development
Last Post: DeaD_EyE
Jul-02-2025, 09:23 AM
» Replies: 2
» Views: 5,964
How to ask Smart Question...
Forum: Board
Last Post: Thatedge
Jul-01-2025, 08:10 AM
» Replies: 3
» Views: 5,693

 
  set button background with image of window background
Posted by: gray - Oct-12-2017, 07:29 AM - Forum: GUI - Replies (3)

hello freinds
i have put an image (self.image) on my window background 
 now,
i need to put another image(mi_but1) on this window..
my problem:
i..... More

Print this item

  need help removing an item from a list
Posted by: jhenry - Oct-12-2017, 06:34 AM - Forum: Homework - Replies (4)

it is choice 7 if anyone can help it'd be appreciated
[python]import csv
import sys

#The password list - We start with it populated for testing p..... More

Print this item

  merge drawings
Posted by: chris64 - Oct-12-2017, 06:21 AM - Forum: General Coding Help - Replies (3)

I'm writing a program that makes a png file by combining two other png files.

It's joining them together but not quite the way I want it to. It joi..... More

Print this item

  function output
Posted by: student8 - Oct-12-2017, 04:10 AM - Forum: Homework - Replies (1)

I created a math question generator and I was wondering how do I make the function return the number of questions answered correctly?

For example (..... More

Print this item

  A couple of questions about pip install
Posted by: Athenaeum - Oct-12-2017, 01:40 AM - Forum: General Coding Help - Replies (3)

I am new to Python. At first I understood that packages are to be installed via the command prompt with [python] py -m pip install [package_name][/py..... More

Print this item

  1..2..3.. testing!
Posted by: JimmytheCool - Oct-12-2017, 01:10 AM - Forum: Bar - Replies (2)

Hi guys,

new to the forum. Testing to see if everything is working.

Cheers,

Jimmy Cool

Print this item

  Reading a text file
Posted by: fivestar - Oct-11-2017, 11:49 PM - Forum: Homework - Replies (7)

I have a text file of letters on 8 different lines. I want to read through the file and print out the length of every 2nd line of that file and store ..... More

Print this item

  forum motto / description
Posted by: metulburr - Oct-11-2017, 09:31 PM - Forum: Board - Replies (20)

I added a facebook plugin to handle the facebook graph so when you link this site, that little picture that is previewed in facebook gets added.
I w..... More

Print this item

  Cant find my problem ...
Posted by: papampi - Oct-11-2017, 08:28 PM - Forum: General Coding Help - Replies (5)

I cant find the problem
When the script should not write to output file it does

wtm.py
[python]#!/usr/bin/env python2.7
# _*_ coding: utf-8 _*..... More

Print this item

  Reaction tester syntax error
Posted by: Oli - Oct-11-2017, 07:08 PM - Forum: Homework - Replies (1)

[python]import random



def reactiontest():
print(random.randint(10,99)
start = time.time()
end = time.time()
ReactionTime = end-start
react..... More

Print this item

  TypeError: coercing to Unicode: need string or buffer, int found
Posted by: papampi - Oct-11-2017, 07:05 PM - Forum: General Coding Help - Replies (4)

I get error on this line of my the script

saveTopCoin(newProfits[0][0] + " : " + newProfits[0][1])
error :[python]
Traceback (most..... More

Print this item

  Python Project in NYC!! Developer Needed
Posted by: bschauer8 - Oct-11-2017, 07:02 PM - Forum: Jobs - No Replies

We are looking for a qualified Python Developer to work with our client Bank of America in NYC. This is a 18 month contract opportunity and job detail..... More

Print this item

  Sharing link to this site on FB
Posted by: gruntfutuk - Oct-11-2017, 05:54 PM - Forum: Board - Replies (21)

Every time I share a link to this forum on FB as a pointer to another help resource, Facebook renders a preview of the site that is rather odd:

[im..... More

Print this item

  Sr. Full Stack Developer (Python and Javascript)
Posted by: Chitra - Oct-11-2017, 04:55 PM - Forum: Jobs - No Replies

My name is Chitra, Customer Success Manager of Raasforce, a global talent marketplace powered by artificial intelligence that provide recruitment-as-a..... More

Print this item

  tweepy problem to to get a list of retweeters
Posted by: komarek - Oct-11-2017, 03:51 PM - Forum: General Coding Help - Replies (1)

so
i have a script that takes a timeline from user X and parse all his last tweets and print out a list of people that retweeted those tweets (for ea..... More

Print this item

  Saving an numpy.ndarray as .ply file in python
Posted by: Tina - Oct-11-2017, 03:13 PM - Forum: Homework - Replies (4)

hello,

I open an already existing .ply file and modify it in a loop working with the line in this file.
At the end, I have a numpy.ndarray that I ..... More

Print this item

  Django loading static files
Posted by: Dutchpy - Oct-11-2017, 03:03 PM - Forum: Web Scraping & Web Development - Replies (7)

I'm trying to load some CSS files but when I load the page it just shows the HTML.

Here is what my HTML file looks like:
https://imgur.com/a/48nkT..... More

Print this item

  Bingo Ticket Question
Posted by: Oli - Oct-11-2017, 02:12 PM - Forum: Homework - Replies (3)

Would anyone be able to help me out with this question I have been set, I am very new to Python and do not know much about arrays however I know that ..... More

Print this item

  Download file from Internet
Posted by: Tribunal - Oct-11-2017, 12:34 PM - Forum: General Coding Help - Replies (1)

Hello all,

I have a script I've been using for some time that was created by someone else (full script below). What I use it for is to connect to ..... More

Print this item

  Calling functions from another file
Posted by: jp2017 - Oct-11-2017, 10:33 AM - Forum: General Coding Help - Replies (11)

Hi,

I have two files and I want to call some functions from file A I have done it this way but is not working can someone please tell me what is th..... More

Print this item

  int() ValueError
Posted by: kcunning - Oct-11-2017, 09:41 AM - Forum: General Coding Help - Replies (1)

Very simple chunk of code:

ip = input("Enter #:")
ip = int(ip)
If I enter 2.3, why do I get:
ValueError: invalid literal for ..... More

Print this item

  Argparse
Posted by: niru - Oct-11-2017, 08:12 AM - Forum: General Coding Help - Replies (5)

[python]import argparse

parser = argparse.ArgumentParser()
parser.add_argument("-a", action="store_true", help="get anna's age")
parser.add_argum..... More

Print this item

  What am I missing/forgetting? ://///
Posted by: aksmlo - Oct-11-2017, 02:07 AM - Forum: Homework - Replies (5)

def tic_tac_toe(): board = [1,2,3,4,5,6,7,8,9]
end = False
win_combinations = ((0, 1, 2), (3, 4, 5), (6, 7, 8), (0, 3, 6), (1,
4, 7), (2, 5, 8), (0..... More

Print this item

  get state code, state name and state abbreviation
Posted by: Larz60+ - Oct-11-2017, 01:38 AM - Forum: Code sharing - Replies (4)

The following code will create a json file containing data for US states and possessions,
and presents a method for retrieving any missing two fields..... More

Print this item

  os.path.exists apparently doesn't always work!
Posted by: Larz60+ - Oct-10-2017, 10:10 PM - Forum: General Coding Help - Replies (2)

This code should sense that there is no data sub-directory,
and create it, but it doesn't on windows 7, but I swear it worked in the past.

I guess..... More

Print this item

  Password Saver Project
Posted by: jhenry - Oct-10-2017, 09:27 PM - Forum: Homework - Replies (15)

I'm having trouble with a project that I have to create a password saver for. I'm running into an indent error that I have no clue on how to fix. The ..... More

Print this item

  [Discord.py] Editing messages
Posted by: Ouindoze - Oct-10-2017, 07:28 PM - Forum: General Coding Help - Replies (4)

Hi, so i got this code, and i can't get it to modify the bot's own message, can anyone help me with this ?
I want it to, when somebody sends "_test" ..... More

Print this item

  Running Python via Anaconda?
Posted by: Athenaeum - Oct-10-2017, 07:13 PM - Forum: Data Science - Replies (14)

I am rather new to Python. I recently installed Anaconda, after I had already installed a regular Python command line. Anaconda came with many new p..... More

Print this item

  Python 2.x or Python 3.x
Posted by: phread - Oct-10-2017, 06:51 PM - Forum: News and Discussions - Replies (10)

I'm sure this discussion is in here somewhere, but I haven't found it. I'm learning Python and have seen a lot of older discussions about why it's a b..... More

Print this item

  Script works ok on windows but gives error on ubuntu
Posted by: papampi - Oct-10-2017, 05:52 PM - Forum: General Coding Help - Replies (3)

A friend of mine wrote this script for me :


[python]#!/usr/bin/env python2.7
import requests;
import json

# Configurable Variables

#Curr..... More

Print this item

  collosal cave python adventure
Posted by: rowan_hd - Oct-10-2017, 05:42 PM - Forum: Homework - Replies (3)

in this task that i have been set i have to recrate the 80s game colosal cave adventure but with learning python.
my code is this:
# collosal cave p..... More

Print this item

  Save As redirect on Netork
Posted by: ArsirusUK - Oct-10-2017, 05:07 PM - Forum: Networking - Replies (2)

Hi I`m an Administrator in a School.
The kids in our School keep corrupting the programme.
This is because they are saving over keys files.
They ha..... More

Print this item

  Error with crawling site.
Posted by: jj2110 - Oct-10-2017, 04:11 PM - Forum: General Coding Help - Replies (3)

Hi I am getting the following exceptions when I am making a request to the following site.
URL: http://www.sec.gov/cgi-bin/browse-edgar?action=getcom..... More

Print this item

  Trying to create a BMI calculator Help!
Posted by: jamshaid1997 - Oct-10-2017, 03:44 PM - Forum: Homework - Replies (1)

[python]
name = ( input ('what is your name? '))
height = float( input ("What is your bodys height in meters?"))
weight = float( input ("what is th..... More

Print this item

  How about HTML/2
Posted by: wavic - Oct-10-2017, 03:29 PM - Forum: Networking - Replies (1)

The last tutorial in the Tutorials/Networking forum is why I am asking is Python HTML/2 compatible. What I am meaning... In HTML/2 a client can send m..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  While loop is terminating... Yesterday, 01:49 jumpsworthnow Plyth Homework
  PythonPath file 07-04, 22:56 JohnRLaw Pedroski55 General Codin...
  Building a food delivery ... 07-04, 16:12 ElenaPapagia nooryasmeen022 Homework
  Python Install Mager Help 07-04, 09:43 bowens1983 snippsat News and Disc...
  RemoTe server operation w... 07-04, 07:18 mario17 mario17 General Codin...
  [WxPython] Hide CLI while... 07-03, 08:12 Winfried Gribouillis GUI
  Venv - Python Virtual Env... 07-02, 17:41 DanneA Larz60+ General Codin...
  [Tkinter] textbox compare... 07-02, 13:40 dmac6809 deanhystad GUI
  Deploy Flask apps on Wind... 07-02, 09:23 SpongeB0B DeaD_EyE Web Scraping ...
  How to ask Smart Question... 07-01, 08:10 metulburr Thatedge Board
  Exercise on reading a chu... 07-01, 06:49 Nit_Picker polytrack Homework
Most views
  The best Prog... 572428
  Tutorial Requ... 485303
  Web Scraping ... 436959
  Newbie with P... 379815
  Thread remain... 351275
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12071
buran 8173
snippsat 7344
deanhystad 6845
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
as1221 3
Newest members
OLHOSANTOTM Yesterday
viratsolanki Yesterday
chaless Yesterday
agusputra99 Yesterday
Andytan7 Yesterday

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020