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,422
» Latest member: alexfox
» Forum threads: 38,829
» Forum posts: 176,075

Full Statistics

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

Latest Threads
If I open a file write or...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 12:03 PM
» Replies: 3
» Views: 89
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 05:21 AM
» Replies: 3
» Views: 743
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 02:57 AM
» Replies: 8
» Views: 503
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
Jan-09-2026, 08:47 PM
» Replies: 4
» Views: 446
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 800
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,756
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 730
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,032
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,619
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,377

 
  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

Question Telegram bot - Problem with proxies and web server
Posted by: NoNameoN - Oct-16-2020, 05:35 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi everybody I want to use this script https://github.com/attakercyebr/TelegramView-hack4lx-V2 but if I try to start it i have only a lot of errors.
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  If I open a file write or... Yesterday, 12:03 Pedroski55 noisefloor General Codin...
  a function to watch files Yesterday, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... Yesterday, 02:57 arbiel Pedroski55 General Codin...
  Exponential Number Conver... 01-09, 20:47 Tuurbo46 DeaD_EyE General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
Most views
  The best Prog... 580739
  Tutorial Requ... 522248
  Web Scraping ... 442912
  New Users Int... 388113
  Newbie with P... 387134
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+ 12117
buran 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
alexfox Yesterday
zalexisshulzeo8879 Yesterday
SUMIATI Yesterday
starboy25 Yesterday
zabenjamitop8877 01-10

User Panel Messages

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