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,954
» Latest member: Perry
» Forum threads: 38,727
» Forum posts: 175,525

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 35 Guest(s)
Bing, Google, AOL, Google Image

Latest Threads
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
3 hours ago
» Replies: 3
» Views: 139
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
6 hours ago
» Replies: 0
» Views: 335
extracting data from a us...
Forum: General Coding Help
Last Post: Perry
6 hours ago
» Replies: 0
» Views: 59
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 02:48 PM
» Replies: 10
» Views: 29,349
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,403
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 275
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 721
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 922
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,178
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,392

 
  Trying to install pygame Mac OS x high sierra
Posted by: giladal - Oct-18-2020, 05:31 PM - Forum: Game Development - Replies (2)

Hi Guys.

Trying to install pygame on Mac OSX high sierra with no luck...

Here is the message I get. Would love your help.



13 warnings..... More

Print this item

  basic question about tuples and immutability
Posted by: sudonym3 - Oct-18-2020, 01:16 PM - Forum: General Coding Help - Replies (6)

Hi there,

I have just been going through a basic sample bit of code designed to teach about tuples and dictionaries.

For completeness, please s..... More

Print this item

  selenium & weblinks help
Posted by: gr3yali3n - Oct-18-2020, 10:20 AM - Forum: Web Scraping & Web Development - Replies (5)

i am playing around learning how selenium is supposed to work , i think that this is a really cool module.
but i am struggling with web elements a lit..... More

Print this item

  Python win32api keybd_event: How do I input a string of characters?
Posted by: JaneTan - Oct-18-2020, 08:53 AM - Forum: General Coding Help - Replies (3)

Hi,

I used the below to get the Window Handle of an app and bring it to be the focus. I want to type in a string of characters into the app. But us..... More

Print this item

  [Book] The Cuckoo's Egg
Posted by: buran - Oct-18-2020, 07:02 AM - Forum: Bar - No Replies

Just finished reading The Cuckoo's Egg: Tracking a Spy Through the Maze of Computer Espionage by ..... More

Print this item

  ImportError: Can not find the shared library: libhdfs3.so
Posted by: aupres - Oct-18-2020, 03:57 AM - Forum: General Coding Help - Replies (1)

I am developing Hadoop File System client with python module hdfs3. My OS is CentOS 8 and IDE is eclipse. First I try to install hdfs3 with conda inst..... More

Print this item

  Cannot unpack non-iterable NoneType object, i would like to ask for help on this.
Posted by: Jadiac - Oct-18-2020, 02:20 AM - Forum: General Coding Help - Replies (3)

Hello dear Forum users,
I am currently learning about Pythons Image Recognision and I have encountered this error.
After looking it up online I still ..... More

Print this item

  Broken choices
Posted by: Scooze - Oct-18-2020, 01:40 AM - Forum: Game Development - Replies (3)

I'm doing a code along by Joseph Delgadillo, and this is a first exposure level course.

The recorded code along used Python ver. 3.6.x

I am using Py..... More

Print this item

  Can application developed Run on windows of users?
Posted by: Acernz - Oct-17-2020, 11:10 PM - Forum: GUI - Replies (3)

Hi All
I am beginner, I am trying to solve a problem in my company of using excel by users to create user friendly forms, which are linked to databa..... More

Print this item

  Tkinter - How can I remove the background borders from ttk.Button?
Posted by: TurboC - Oct-17-2020, 10:58 PM - Forum: GUI - Replies (4)

by default, the buttons from ttk module, have a one pixel border. how can I delete this border? below an example code:

[python]
from tkinter import *..... More

Print this item

  How to install project on user machines
Posted by: SqueezeOJ - Oct-17-2020, 09:51 PM - Forum: General Coding Help - Replies (4)

Hello,

I'm new to Python, but not to programming.

I made a small, but useful application in PyCharm (v2020.2.3) that I'd like to move to user ma..... More

Print this item

  tcp python
Posted by: Michele83 - Oct-17-2020, 09:46 PM - Forum: Networking - No Replies

hello
i want with python send message to server
I want to send messages to the server even if the server is not sending anything to the clients
or ..... More

Print this item

  <_io.BufferedRandom name =
Posted by: Maryan - Oct-17-2020, 09:06 PM - Forum: General Coding Help - Replies (4)

Does anyone have experience with this kind of error? The app purpose is on click 'Upload Image' to select image and upload to the db as blob. I'm gett..... More

Print this item

  My first temperature converter
Posted by: TheLowEndTheory - Oct-17-2020, 07:47 PM - Forum: Homework - Replies (7)

NOTE: THIS IS A HOMEWORK, AND I AM NOT LOOKING FOR PEOPLE TO DO IT FOR ME!

Hi guys! in my programming class I am required to create a temperature c..... More

Print this item

  Is there a better way? Python parsing
Posted by: tlewick1 - Oct-17-2020, 04:40 PM - Forum: General Coding Help - Replies (1)

I've written the following code:
[python]import re
res_pos = r'(X)(\d+\.\d*)'
res_neg = r'(X-)(\d+\.\d*)'
def grab_pos(line, pattern=res_pos):
..... More

Print this item

  how to activate Enter key in text box
Posted by: astral_travel - Oct-17-2020, 04:07 PM - Forum: GUI - Replies (3)

Hi !

i tried the following:
[python]import tkinter as tk

window = tk.Tk()

greeting = tk.Label(text="hello everyone \n what's up")

greetin..... More

Print this item

  Did interpreter 'compile' all import modules(from thrid-party)
Posted by: jamesyuan - Oct-17-2020, 01:49 PM - Forum: General Coding Help - Replies (10)

Did interpreter 'compiles' all import modules(installed from third-party by pip) when a programme is running? I edited the code from site packages pat..... More

Print this item

  Insert blob into sqlite and retirve it
Posted by: Maryan - Oct-17-2020, 01:49 PM - Forum: GUI - No Replies

I'm struggling to find the solution for my problem. It's simple interface, button where user should select image, and the same image to be uploaded to..... More

Print this item

  Multithreading question
Posted by: amadeok - Oct-17-2020, 12:54 PM - Forum: General Coding Help - No Replies

Hello,
I'm working on a program to interpolate video frames taking advantage of multithreading or multiprocessing to better take advantage of the idl..... More

Print this item

  Newbie Start with Text or Table?
Posted by: abrogard - Oct-17-2020, 11:47 AM - Forum: General Coding Help - Replies (5)

I'm totally new. Going to write a little thing to keep one or two hundred strings maybe 250 chars long is all.

Better to write them to a text fil..... More

Print this item

  Phonetic transcriber
Posted by: Oderjunkie - Oct-17-2020, 06:19 AM - Forum: Data Science - No Replies

I'm a python beginner so please excuse me for any clear mistakes.

This is less of a "Why did i get this error?" question and more like a "How do i ..... More

Print this item

  python coding error
Posted by: isntitzee - Oct-17-2020, 04:54 AM - Forum: General Coding Help - Replies (1)

[python]#!/usr/bin/env python3
#The leap_year() function will take a year in "YYYY" format, and return True if the given year is a leap year, otherwi..... More

Print this item

  While True loop help
Posted by: Nickd12 - Oct-17-2020, 12:39 AM - Forum: General Coding Help - Replies (2)

so I'm working on an alarm for a virtual assistant the alarm is running in a while true loop while it waits for the time to go off. However I would li..... More

Print this item

  If Statement not working...Why?
Posted by: Milfredo - Oct-17-2020, 12:24 AM - Forum: General Coding Help - Replies (2)

Here is a snippet of code and what it produces. I don't understand what is going on.

[python]

def complete_form():

horses_names = []
for ..... More

Print this item

  Error Handling
Posted by: JarredAwesome - Oct-16-2020, 11:26 PM - Forum: General Coding Help - Replies (5)

Hey Everyone,

Does anyone have any good ideas for Error Logging?

Obviously, Try-Except will be used. but I am curious how you guys handle the ac..... More

Print this item

  Automating PyTables Dataset Creation and Append
Posted by: Robotguy - Oct-16-2020, 11:21 PM - Forum: Data Science - Replies (1)

In my script, I create several datasets manually:

[python] import tables
dset1 = f.create_earray(f.root, "dataset1", atom=tables.Fl..... More

Print this item

  list trouble
Posted by: rediska - Oct-16-2020, 10:41 PM - Forum: General Coding Help - Replies (3)

hello, im new to python and having some trouble with lists. im trying to change all the values in a list to 0 but when tring the range function it onl..... More

Print this item

  beginner question about lists and functions
Posted by: sudonym3 - Oct-16-2020, 10:15 PM - Forum: General Coding Help - Replies (5)

hi there

I have just started teaching myself python.

I wanted to create a small bit of code that would include a function that would take a li..... More

Print this item

  merge dataframes
Posted by: imatiasmb - Oct-16-2020, 08:11 PM - Forum: General Coding Help - Replies (1)

Hi,

I need to merge this two dataframes:

df1
[python]pais año cantidad
0 Chile 2000 10
1 Chile 2001 11
2 Chile 2002 ..... More

Print this item

  Passing Variables between files.
Posted by: victorTJ - Oct-16-2020, 08:08 PM - Forum: General Coding Help - Replies (3)

I have these two files
Main.py
[python]# Script displays my organizations I have access to.
import os

os.chdir('/Users/virgi/Dropbox/Drop..... More

Print this item

  pyGPs code problem
Posted by: pygauss10 - Oct-16-2020, 07:26 PM - Forum: General Coding Help - Replies (5)

(**English is not my native language; please excuse typing errors.)
I just installed a site package pyGPs(via 'pip install pyGPs', you can also downl..... More

Print this item

  Adding “import sys” to Python
Posted by: Yevgen1991 - Oct-16-2020, 07:23 PM - Forum: General Coding Help - Replies (5)

Hi all!

I have the script which I load into one program:

[b] import requests
import sys
sourceip = sys.argv[1]
url = "https://..... More

Print this item

  Find Mismatch Between Two Strings
Posted by: Omid - Oct-16-2020, 07:06 PM - Forum: Homework - Replies (8)

Hello,

Please help me with this:

The function has two parameters, str1 and str2, and should return:

0 if both are identical (Dog and dog)
1 ..... More

Print this item

  Using Firebase In Python
Posted by: Harshil - Oct-16-2020, 06:00 PM - Forum: General Coding Help - No Replies

Main Problem:

  1. I Want to how to send user email verification and password-reset email using firebase
Details:

Print this item

  Terminating Subprocesses and Threads while they're calculating
Posted by: lvlanson - Oct-16-2020, 05:46 PM - Forum: General Coding Help - Replies (4)

I am working on a larger project, where I have 2 Threads (same process) and one separate process. One of the threads is the gui, the other thread is a..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] how to export a... 3 hours ago RonR Pedroski55 GUI
  Is the interpreter that c... 6 hours ago helendamdam helendamdam General Codin...
  extracting data from a us... 6 hours ago Perry Perry General Codin...
  pip install requests does... Yesterday, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
Most views
  The best Prog... 576843
  Tutorial Requ... 499325
  Web Scraping ... 440625
  Newbie with P... 384600
  New Users Int... 368526
Most reputation
buran 581
snippsat 508
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+ 12088
buran 8176
snippsat 7367
deanhystad 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Perry Today
bianchiluca116 Yesterday
Jorgecog Yesterday
adamsmith12 Yesterday
Ronny Yesterday

User Panel Messages

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