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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,250
» Latest member: sarbogast
» Forum threads: 38,780
» Forum posts: 175,822

Full Statistics

Online Users
There are currently 48 online users.
» 0 Member(s) | 39 Guest(s)
Google, Bing, Applebot, Facebook, Internet Archive

Latest Threads
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 2
» Views: 37
New to python and coding
Forum: Homework
Last Post: jefsummers
8 hours ago
» Replies: 4
» Views: 112
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
10 hours ago
» Replies: 6
» Views: 197
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 324
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 286
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 115
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,624
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 216
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 199
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,352

 
  Class construction in python
Posted by: Alberto - Jul-18-2017, 01:13 PM - Forum: General Coding Help - Replies (3)

Dear Python Users,

Please, help me to identify what is wrong with the code. I need to construct a "class" to calculate the correlation between two ..... More

Print this item

  Python 3.6.2 is ready
Posted by: sparkz_alot - Jul-18-2017, 12:59 PM - Forum: Bar - Replies (1)

For those interested, the stable release of Python 3.6.2 is now available for download here: ..... More

Print this item

  Python program that list all possible football outcome combinations
Posted by: lukorir - Jul-18-2017, 09:35 AM - Forum: General Coding Help - Replies (5)

Dear all, I would like to learn Python by working on a project. The project is to write Python code that can print out a list of all possible football..... More

Print this item

  Error Type: <class 'OSError'> And Error Type: <class 'ValueError'>
Posted by: runnerpaul - Jul-18-2017, 09:03 AM - Forum: General Coding Help - Replies (1)

Hi,

I've a python application which unzips .gz files and does various bits of processing on the contents.

Last night when it ran it produced th..... More

Print this item

  Python grouping program
Posted by: GhostZero199 - Jul-18-2017, 06:26 AM - Forum: General Coding Help - Replies (2)

I try to make a program that sorts words into predifined groups. The thing is how do I make it show me the content that had been transfered to those g..... More

Print this item

  create a 20 digit string, and cast to a list then add all the digits as integers
Posted by: nikhilkumar - Jul-18-2017, 06:26 AM - Forum: Homework - Replies (2)

my question here
create a 20 digit string, and cast to a list
then add all the digits as integers
print the equation and answer
Hint: use cast to ..... More

Print this item

  Insert using psycopg giving syntax error near "INSERT INTO"
Posted by: olgethorpe - Jul-18-2017, 02:54 AM - Forum: General Coding Help - Replies (4)

Hi there all

I am using the psycopg2 module for postgresql and I keep receiving an error in my SQL statement saying there is a syntax error at or nea..... More

Print this item

  Fill out form on webpage and post request programmatically
Posted by: ian - Jul-18-2017, 01:54 AM - Forum: GUI - Replies (2)

I am working on the following code. what I need next is to fill something in the search box and click 'Google Search' button to go next page in python..... More

Print this item

  How to plot two list on the same graph with different colors?
Posted by: Alberto - Jul-18-2017, 12:06 AM - Forum: General Coding Help - Replies (2)

Dear Python Users,

I tried to plot a graph from two lists on the same graph. However, what I get is that two lists are plotted against each other. ..... More

Print this item

  Sympy symbolic Point
Posted by: shoulddt - Jul-17-2017, 06:07 PM - Forum: General Coding Help - No Replies

Hello all,
First off I am new to Python and this forum, so thanks in advance for any help and I apologize for any stupid questions.
I am trying to ..... More

Print this item

  How to replace entries in a list?
Posted by: Alberto - Jul-17-2017, 05:39 PM - Forum: General Coding Help - Replies (1)

Dear Python Users,

Please, help me with the following issue. I have two lists: train_X and train_Y. What I want to do is to create a new list that wi..... More

Print this item

  whats the error in this code in python 3.0 as this is running 2.0 pyhon
Posted by: ekansh - Jul-17-2017, 05:35 PM - Forum: Web Scraping & Web Development - Replies (7)

my question here

[python]
import urllib
import re
urls=[]
i=0
regex='<title>(.+?)</title>'
pattern=re.compile(regex)
while i<len(urls):
   ..... More

Print this item

  Tkinter's strange error
Posted by: Ponomarenko Pavlo - Jul-17-2017, 05:08 PM - Forum: GUI - Replies (7)

What have caused it?

my_string = '1)from decimal import Decimal'
[error]Exception in Tkinter callback
Traceback (most recent cal..... More

Print this item

  Program exits with error, but can't discover which
Posted by: MTVDNA - Jul-17-2017, 04:01 PM - Forum: Data Science - Replies (4)

Hello everyone,

I have written a program in python that calculates the gravitational force of 2 objects on eachother. To do this I divide the object ..... More

Print this item

  Error of datebase
Posted by: Ponomarenko Pavlo - Jul-17-2017, 03:19 PM - Forum: General Coding Help - Replies (2)

[python]import shelve
class Waiting:
   def __init__(self):
       self.name = 'Waiting'
       self.List = []
bd = shelve.open('Data')
bd['Wait..... More

Print this item

  build a list (add_animals) using a while loop, stop adding when an empty string is en
Posted by: nikhilkumar - Jul-17-2017, 03:11 PM - Forum: General Coding Help - Replies (1)

my question here
build a list (add_animals) using a while loop, stop adding when an empty string is entered
[python]add_animals =[]
user_input=inpu..... More

Print this item

  sorted list not displaying
Posted by: Crackity - Jul-17-2017, 02:15 PM - Forum: Homework - Replies (6)

Hello all,

Sorry to bother you with yet another noob mystery but again, I find myself stumped. And I'd like to start by saying that I spent a solid..... More

Print this item

  "Guess the Number" game
Posted by: CTT - Jul-17-2017, 12:43 PM - Forum: General Coding Help - Replies (14)

Hi I'm new to the forum and a beginner to python, please take it easy :) I'm trying to do "guess the number" game, but couldn't solve it

The progra..... More

Print this item

  Password checker
Posted by: sammy2938 - Jul-17-2017, 08:25 AM - Forum: General Coding Help - Replies (2)

Hi i'm getting a little confused with the strength checker i may be completely off here but can someone explain how to get the strength checker to wor..... More

Print this item

  mysql Workbench export script - how to skip version check..
Posted by: AndreVerwijs - Jul-17-2017, 07:25 AM - Forum: General Coding Help - Replies (1)

mysql Workbench export script (wb_admin_export.py) - how do i skip version check...?? Evil
version numbers of Workbench bundle and mysql bun..... More

Print this item

  # only print cities that names start "Q" or earlier
Posted by: nikhilkumar - Jul-17-2017, 06:20 AM - Forum: General Coding Help - Replies (5)

my question here
print cities from visited_cities list in alphbetical order using .sort()
# only print cities that names start "Q" or earlier
[pyth..... More

Print this item

  mpv and xdg-screensaver3.5.1-1
Posted by: Barrowman - Jul-16-2017, 09:09 PM - Forum: General Coding Help - Replies (1)

running Mint 18.1 kernel 4.8.0-42-generic  Python 3.5.2 tkinter 3.5.1-1
I have written a python tkinter gui which works fine as long as I don't try t..... More

Print this item

  How to pick random entries of stock prices?
Posted by: Alberto - Jul-16-2017, 07:35 PM - Forum: Data Science - Replies (1)

Dear Python Users,

Please, can you help me with the following issue. I downloaded a stock price from google. Sorted the prices. What I need to do n..... More

Print this item

  Divide by 0 error
Posted by: kethyar - Jul-16-2017, 04:10 PM - Forum: Homework - Replies (1)

I am having issues with my class assignment. My simple program is having a user input car speed, time traveled and tank capacity. However, when I go t..... More

Print this item

  Dataframe error help
Posted by: migs2173 - Jul-16-2017, 03:18 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi anyone can help me this error problem im having this error" Dataframe object has no attribute irow" what would be the solution getting the error on..... More

Print this item

  Running Date and Time in SQLITE using Python
Posted by: trabis03 - Jul-16-2017, 02:30 PM - Forum: General Coding Help - Replies (3)

hello i want to make my date and time continuous running in my database but my code wont work.

[python]date = str(datetime.datetime.fromtimestamp(k..... More

Print this item

  Converting c++ class to python class
Posted by: panoss - Jul-16-2017, 10:20 AM - Forum: General Coding Help - Replies (12)

I 'm trying to convert a c++ class to python class.

My class 's c++ code (in epnccombomodel.cpp file):
[python]
#include "epnccombomodel.h..... More

Print this item

  Browse/Navigate Webpages
Posted by: ian - Jul-16-2017, 03:08 AM - Forum: GUI - Replies (2)

In my python 3.6 app, I need to build a web browser on a wx frame/panel. the app is able to change values on webpages and control navigation. what are..... More

Print this item

  Convert .ui file .py
Posted by: mailal - Jul-15-2017, 05:42 PM - Forum: GUI - Replies (7)

Hi

I am experiencing an issue regarding to convert an .ui file to .py.

I am running QT Designer 3.6 with PyQt5. I have tried the below commands..... More

Print this item

  reshaping numpy array ValueError: total size of new array must be unchanged
Posted by: metalray - Jul-15-2017, 05:41 PM - Forum: Homework - No Replies

Dear Python experts,

I am trying to reshape my numpy array "des" to shape 4,100 but every
time I get the "ValueError: total size of new array must..... More

Print this item

  My else clause doesn't work (general help)
Posted by: NMW - Jul-15-2017, 12:58 PM - Forum: General Coding Help - Replies (10)

I'm following a Python tutorial, and in one of the exercises I have to:
[quote]
Assume the days of the week are numbered 0,1,2,3,4,5,6 from Sunday t..... More

Print this item

  Missing an argument in function
Posted by: syntaxbluff - Jul-15-2017, 11:47 AM - Forum: General Coding Help - Replies (2)

im pretty sure i added that argument (item) and still getting this weird error .. >,<

[python]#!/usr/bin/python
# -*- coding: utf-8 -*-

import..... More

Print this item

  Hey guys can you please help me with some basic coding
Posted by: Stabu - Jul-15-2017, 11:10 AM - Forum: General Coding Help - Replies (9)

I am a beginner so please take it easy on me lol. I made a simple rock paper scissor game. I want it to loop until the user or the computer gets to a ..... More

Print this item

  Get value of wx grid cell
Posted by: ian - Jul-15-2017, 02:17 AM - Forum: GUI - Replies (1)

I created added 5 wx grids in a list and populated data. And also created an event as below. when clicking a cell, it will print the number of row and..... More

Print this item

  Can't figure out syntax error
Posted by: pythonnewb - Jul-15-2017, 01:50 AM - Forum: Homework - Replies (3)

Hello! I'm new to this forum and decided to join for homework help. I have an assignment due tonight where I need to calculate a worker's total earnin..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  why is the image not show... 1 hour ago sarbogast deanhystad General Codin...
  New to python and coding 8 hours ago lary_p jefsummers Homework
  Help with Serial.write in... 10 hours ago racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
Most views
  The best Prog... 578862
  Tutorial Requ... 509972
  Web Scraping ... 441924
  Newbie with P... 385934
  New Users Int... 376352
Most reputation
buran 581
snippsat 510
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12107
buran 8195
snippsat 7388
deanhystad 6908
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
sarbogast Today
bmurray Today
kai_cow2710 Today
Kacper Yesterday
isla123456 Yesterday

User Panel Messages

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