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,299
» Latest member: matt
» Forum threads: 38,796
» Forum posts: 175,892

Full Statistics

Online Users
There are currently 41 online users.
» 0 Member(s) | 36 Guest(s)
Bing, Google, AOL, Applebot

Latest Threads
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
53 minutes ago
» Replies: 1
» Views: 17
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
7 hours ago
» Replies: 3
» Views: 116
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
8 hours ago
» Replies: 2
» Views: 82
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Today, 04:40 AM
» Replies: 6
» Views: 3,187
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 251
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 139
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 95
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,529
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 181
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 85

 
  Tkinter GUI freeze
Posted by: petterg - Jun-20-2019, 09:28 PM - Forum: GUI - Replies (4)

Hi,

I'm using python 3.6.7 on Windows

I'm making a Tkinter GUI that will let you upload files to a destination using ftplib.
My problem is that..... More

Print this item

  Simple while loop only works on first attempt
Posted by: jsb83 - Jun-20-2019, 08:47 PM - Forum: General Coding Help - Replies (2)

Hello all

New to python any help much appreciated. When I run the code below if I enter No on the first attempt python prints "PLEASE CAN I HAVE AN..... More

Print this item

  Circle Turtle
Posted by: JoeLamond - Jun-20-2019, 08:17 PM - Forum: Code sharing - No Replies

This program uses python turtle to draw regular polygons with up to 25 sides. Take a look:
[python]
import math
import turtle
import time

def c..... More

Print this item

  Hide Dock Icon for QSystemTrayIcon App
Posted by: AeglosGreeenleaf - Jun-20-2019, 07:21 PM - Forum: GUI - No Replies

I have a Qt program that uses a QSystemTrayIcon. Only the tray icon shows on Windows, but on Mac the generic Python Launcher icon also shows up in the..... More

Print this item

  call func from dict
Posted by: mcmxl22 - Jun-20-2019, 05:56 PM - Forum: General Coding Help - Replies (3)

how do I call functions from a dictionary?
[python]
def foo():
print('foo')

def bar():
print('bar')

foobar = {
'foo': foo,
..... More

Print this item

  takes 21 positional arguments but 24 were given
Posted by: sophsoph - Jun-20-2019, 04:58 PM - Forum: General Coding Help - Replies (5)

I have a positional argument issue. What needs to be changed?

[error]"line 277, in <module>
ld2
TypeError: mapTraverse() takes 21 positional ..... More

Print this item

  print notifcation when enter new directory os.walk()
Posted by: evilcode1 - Jun-20-2019, 03:54 PM - Forum: General Coding Help - Replies (3)

hello all ...
i trying to write a code for show all dirs in my desktop and subdir's ... but i need to new when my loop enter a new directory :

my..... More

Print this item

  Imported csv, column text converted to number but not summing
Posted by: Ecniv - Jun-20-2019, 03:52 PM - Forum: Data Science - Replies (4)

Hi

Obviously did this wrong.

Situation:
CSV text file importing into pandas
Problem, the source has numbers with ., rather than ,. so its been..... More

Print this item

  Graphing three database in one graph Python
Posted by: r_e - Jun-20-2019, 03:23 PM - Forum: General Coding Help - Replies (1)

Hi,

I have three different data from a source. Each one of them has 2 columns. Some of those 3 sources' first columns named the same but each one o..... More

Print this item

  Mysterious Indentation Problem
Posted by: Dakodak - Jun-20-2019, 03:10 PM - Forum: General Coding Help - Replies (11)

Hello !

Spyder tells me i've an indentation problem here, line 4, "unexpected indent" :

[python]def A(i, j, Nz, Nr, dr, dz, dt, he, Bir, Biz) ..... More

Print this item

  Pivot dataframe
Posted by: SriMekala - Jun-20-2019, 02:06 PM - Forum: Data Science - Replies (2)

[python]

2016-06-06 2016-06-07 2016-06-08 2016-06-09 2016-06-10 2016-06-11 2016-06-12
Group1
BHA
..... More

Print this item

  Bitmap wont find file
Posted by: loulou - Jun-20-2019, 12:55 PM - Forum: GUI - Replies (1)

hello, I have recently started to learn and code using wxPython and so far all seems to go well, however whenever I call upon wx.Bitmap() to display e..... More

Print this item

  Paste Special with multiple arguments with Dispatch
Posted by: CaptainCsaba - Jun-20-2019, 12:40 PM - Forum: General Coding Help - Replies (3)

Hi!

I am trying to change some cells in excel with python. There is an error that sometimes occures in column K. Basically the "The number in this ce..... More

Print this item

  selecting from database using sql query by year
Posted by: pgoosen - Jun-20-2019, 11:57 AM - Forum: News and Discussions - Replies (4)

Hi everybody,

I've got a question. I'm creating a query for a SQL database. Here is my query:

StartGesprek looks like '2018-07-11 15:54:40'
qu..... More

Print this item

  Редактировать данные в sqlite3
Posted by: JJ39 - Jun-20-2019, 10:55 AM - Forum: General Coding Help - Replies (4)

Добрый день помогите решить проблему редактирования данных в sqlite3.
Опишу проблему:
Вывожу данные из sql в приложение на python tkinter. Данные т..... More

Print this item

  first k non-prime numbers
Posted by: arycloud - Jun-20-2019, 10:18 AM - Forum: General Coding Help - Replies (11)

I'm working on a code challenge in which we have to return the k non-prime +ve numbers.
The code comes with a locked generator code which is printing..... More

Print this item

  Problem with this script
Posted by: MaxwellCosta - Jun-20-2019, 09:53 AM - Forum: General Coding Help - Replies (5)

Hi,

I have this scipt
[python]from urllib.request import urlopen
from bs4 import BeautifulSoup
html = urlopen('https://en.wikipedia.org/wiki/Pyt..... More

Print this item

  How to adjust time - tkinter
Posted by: Ondrej - Jun-20-2019, 09:39 AM - Forum: GUI - Replies (2)

Hello everbody,

please help me to solve one issue with my tkinter clock. Time is imported from my cpu but sometimes I need to shift few seconds down ..... More

Print this item

  64 Bit - Help
Posted by: Serpent190 - Jun-20-2019, 08:33 AM - Forum: General Coding Help - Replies (1)

Hi there, I am a complete newbie to this and I have a 64 bit laptop and when I try to download the latest Python release it comes up as 32 bit. How an..... More

Print this item

  Sum of elements on the list recursive
Posted by: sev - Jun-20-2019, 08:15 AM - Forum: Homework - Replies (3)

Hi,
my homework is to create a program which sums elements of the list (from current index to the last) and inserts its result to the appropriate cel..... More

Print this item

  Build error (Python 3.7)
Posted by: Saszalez - Jun-20-2019, 07:59 AM - Forum: General Coding Help - No Replies

Hi all.

I'm trying to build Python version 3.7 with the Intel compilers (2018 version). I'm doing it in CentOS 7 with the source code. The steps I ..... More

Print this item

  pandas writing to excel .. help
Posted by: anna - Jun-20-2019, 06:34 AM - Forum: Data Science - No Replies

Hi All,

below is my small script, taking all .csv files in list. taking specific columns in dataframe and writing to excel.

need small help..
..... More

Print this item

  The Matrix
Posted by: mcmxl22 - Jun-20-2019, 05:58 AM - Forum: Code sharing - Replies (7)

The Matrix simulator.

[python]
import random

characters = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'
'A', 'Z', '=', '+', '#', ..... More

Print this item

  [In Progress] - Rogue-Like Game Tutorial
Posted by: nilamo - Jun-20-2019, 03:13 AM - Forum: Game Tutorials - Replies (5)

There's a community on Reddit (https://www.reddit.com/r/roguelikedev) which is putting a roguelike game together, a piece at a time, on a weekly basis..... More

Print this item

  four commands i wrote the other day
Posted by: Skaperen - Jun-20-2019, 02:27 AM - Forum: Code sharing - Replies (4)

i wrote these four commands the other day:

wait_for_all_files_to_exist.py:
[python]#!/usr/bin/env python3
from sys import argv
from time import ..... More

Print this item

  Store a python list of lists in a database to use for searches later on
Posted by: klllmmm - Jun-20-2019, 01:28 AM - Forum: General Coding Help - Replies (3)

When I scarp a web page I'm getting data similar to below lists.

[python]MainID = [[1]]
AddrID = [['1'], ['2']]
Address1 = [['Lane 1'], ['..... More


Attached Files

Thumbnail(s)
   
Print this item

  Python: why skip the 'else' if password is wrong
Posted by: Max_988 - Jun-20-2019, 12:01 AM - Forum: General Coding Help - Replies (1)

name_expected='Max'
while True:
print( 'Who are you')
name = input()
if (name != name_expected):
continue
print (name_ex..... More

Print this item

  word counter
Posted by: kid_with_polio - Jun-19-2019, 10:42 PM - Forum: Web Scraping & Web Development - Replies (3)

Hey I tried making a word counter using a forum page as practice to just isolate all the thread titles of a given page and then separate each word ont..... More

Print this item

  Inserting a variable name into xlabel
Posted by: myersluke - Jun-19-2019, 10:22 PM - Forum: General Coding Help - No Replies

Hi, first post here.

I am trying to streamline a lot of data processing by using a class of objects called "image". I define each image as "image1 ..... More

Print this item

  Window not updating
Posted by: mberge - Jun-19-2019, 09:00 PM - Forum: Game Development - Replies (3)

I have made a simple neural network to solve the xor problem but the issue lies in PyGame. I've used PyGame to display a neural network in real time a..... More

Print this item

  from MySQL to MySQLi - the script for errors in the db-connection
Posted by: apollo - Jun-19-2019, 08:16 PM - Forum: Bar - Replies (3)

dear Python-experts.

first of all: note i have plenty of issues - a whole bunch of issues on a Server - i need to digg deeper into all thing..... More

Print this item

  Russian version of Python
Posted by: Skaperen - Jun-19-2019, 07:12 PM - Forum: Bar - Replies (3)

i remember reading somewhere a while back that there was a Russian version of Python that someone made that not only interacted in the Russian languag..... More

Print this item

  How to send data from remotely hosted HTML form to Pi
Posted by: sajid - Jun-19-2019, 07:09 PM - Forum: Web Scraping & Web Development - Replies (2)

I'm working on a small project to turn home lights On & Off using Raspberry Pi. I'm able to do so using Python . Now I want to make a web interface to..... More

Print this item

  call a function in another class
Posted by: darktitan - Jun-19-2019, 07:00 PM - Forum: GUI - Replies (6)

Hi
I got a problem with calling a funtion from another class. I have searched a bit but i can't find a good solution to my problem. Can any one help ..... More

Print this item

  Extra Argument In Help Response
Posted by: z3driver - Jun-19-2019, 06:20 PM - Forum: General Coding Help - Replies (3)

I'm using IDLE with Python 3.7.3 in Windows. When requesting help for some built-in functions (e.g. get and setdefault) I'm getting back documentatio..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Proposal for PEP 53 minutes ago matt Gribouillis News and Disc...
  My regex function is not ... 7 hours ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 8 hours ago Bummibaer Bummibaer News and Disc...
  best way to learn python Today, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... Yesterday, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
Most views
  The best Prog... 579372
  Tutorial Requ... 512374
  Web Scraping ... 442283
  Newbie with P... 386339
  New Users Int... 380294
Most reputation
buran 581
snippsat 511
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
matt Today
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday

User Panel Messages

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