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,983
» Latest member: kyleconor797
» Forum threads: 38,733
» Forum posts: 175,567

Full Statistics

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

Latest Threads
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: SpongeB0B
49 minutes ago
» Replies: 2
» Views: 85
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Today, 03:05 AM
» Replies: 4
» Views: 2,019
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Yesterday, 07:43 AM
» Replies: 2
» Views: 428
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:21 AM
» Replies: 2
» Views: 1,070
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,129
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 798
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,089
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,534
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,120
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,579

 
  Make sockest keep connection
Posted by: LavaCreeperKing - May-16-2019, 08:30 PM - Forum: Networking - Replies (3)

I am trying to set up a network server. Here are some bits of the code that make the connection for the client and server. This is all just for a test..... More

Print this item

  counting spaces
Posted by: tofif - May-16-2019, 08:16 PM - Forum: Homework - Replies (4)

Greetings everybody,
First off, I'm a 71 year old retired male at home trying to learn python. No schools involved. I just thought this was the best ..... More

Print this item

  Problems with "re.fullmatch"
Posted by: AlanT - May-16-2019, 07:18 PM - Forum: General Coding Help - Replies (8)

Hi programmers! I am new in the forum and in Python.
I am programming a library whose function is to store books and comics and display data from the..... More

Print this item

  creating sprite mask
Posted by: pfaber11 - May-16-2019, 07:04 PM - Forum: Game Development - Replies (5)

Hi trying to create a mask for a sprite . this is what I found
sprite.mask = pygame.mask.from_surface(sprite.image)

My question is wh..... More

Print this item

  Lambda seems to call expression 1 extra time every time it's called.
Posted by: DreamingInsanity - May-16-2019, 04:40 PM - Forum: GUI - Replies (13)

Now, excuse if this is in the forum forum, even though I use a GUI, I don't beleive that's what's causing the problem.

The title makes this a littl..... More

Print this item

  MatplotLib Sliders
Posted by: punksnotdead - May-16-2019, 04:13 PM - Forum: General Coding Help - Replies (4)

Wondered if anyone can help. The following code creates a 64x64 heatmap.
I'd like to add two horizontal sliders A and B each scaled from -90 to +90
..... More

Print this item

  Confidence intervals over time with polynomial regression
Posted by: jjameson - May-16-2019, 02:22 PM - Forum: Data Science - No Replies

I am having trouble replicating 95% confidence bands for a time-series polynomial regression model.

I have found the code below, however the resultin..... More

Print this item

  How to get the file path and full file name
Posted by: SriMekala - May-16-2019, 01:08 PM - Forum: General Coding Help - Replies (8)

Hi,
I have a file name config_file_data302, I want to get the location of the file name to contain "congfig_file" in a given directory (avoid hidden ..... More

Print this item

  MySQL executemany - Failed executing the operation; Could not process parameters
Posted by: josh_marchant - May-16-2019, 12:42 PM - Forum: General Coding Help - Replies (1)

I've written a bit of python code that essentially will take data from one database (SQL Server 2008) and insert it into another (MySQL). I am fairly ..... More

Print this item

  Timecard
Posted by: tbuff55 - May-16-2019, 12:22 PM - Forum: GUI - Replies (1)

Hey guys thanks for the forum and this resource. I am not much of a python programmer, my experience is mainly within arcpy and automating processes ..... More

Print this item

  XML Parsing Child
Posted by: karthi_python - May-16-2019, 11:42 AM - Forum: General Coding Help - Replies (1)

All,

Good Evening! I'm newbie to Python and this is my first post here.

I am a tableau developer where i have to write a python script to get al..... More

Print this item

  Error in implementing multithreading in a class
Posted by: srm - May-16-2019, 10:26 AM - Forum: General Coding Help - Replies (2)

Hello,
Just started learning multi threading concept in python as beginner..I want to print values
1 to 10 with two different functions using multit..... More

Print this item

  change source from csv data to gsheet
Posted by: Tummerke - May-16-2019, 09:33 AM - Forum: General Coding Help - Replies (1)

Hey Guys,

I have tweaked a code which scrapes data from google search results and place them into a csv file called data.
I already have made an..... More

Print this item

  Iterate through a list of dictionary and append a new value.
Posted by: erina - May-16-2019, 08:07 AM - Forum: General Coding Help - Replies (1)

I'm trying to iterate through the following dictionary and append in the list .

[python]dic={'Dining': [{'Switchboard': [{'Fan': ['01:45.9166666666..... More

Print this item

  Python Coder Amsterdam
Posted by: ISX4 - May-16-2019, 07:35 AM - Forum: Jobs - No Replies

We are looking for a python coder for an initial 3 month contract in Amsterdam to work with our on site team to help with the scripting and release of..... More

Print this item

  How to get values from part of a string?
Posted by: mahi926 - May-16-2019, 07:20 AM - Forum: General Coding Help - Replies (1)

this is the my log


2019-05-15 23:54:00,001 INFO [com.xxxxx.xxxx.xxxx] [xxxxxxxxx] xxxxx xxxxx: 13840.13500213623/16384.0/13840.13500213623

i ..... More

Print this item

  creating parent path
Posted by: Skaperen - May-16-2019, 06:11 AM - Forum: News and Discussions - Replies (3)

IMHO, it would be nice to have some global setting that enables the creation of the path of parent directories in all functions and/or methods that tr..... More

Print this item

  ipv6 addresses
Posted by: Skaperen - May-16-2019, 05:22 AM - Forum: News and Discussions - No Replies

while reading through documentation of module ipaddress, i realized a situation i have had which could use some other kind of ipv6 proce..... More

Print this item

  Parse Binary Data File and convert Epoch Time
Posted by: drdevereaux - May-16-2019, 12:02 AM - Forum: General Coding Help - Replies (1)

Hello All!

I am trying to extract and convert data from a binary data file. Each data entry follows this order:

Print this item

  return outside function
Posted by: seamus - May-15-2019, 07:57 PM - Forum: Homework - Replies (4)

Can anyone please help i am a newbi although an OAP.please see program below copied from "the python book"I have tried indenting and unindenting
Usin..... More

Print this item

  argparse
Posted by: 2skywalkers - May-15-2019, 05:35 PM - Forum: General Coding Help - Replies (4)

I have been playing with argparse for a a few hours and can't figure out something so simple.

[python]
import argparse
parser = argparse.Argument..... More

Print this item

  Ending a thread from another thread
Posted by: SheeppOSU - May-15-2019, 03:45 PM - Forum: General Coding Help - Replies (5)

I have a timer and it is supposed to end the function given to it in a parameter. I don't know how though. Can someone help me. Line 8
[python]import..... More

Print this item

  Advice on Setting Up the Python Environment
Posted by: punksnotdead - May-15-2019, 03:26 PM - Forum: General Coding Help - Replies (1)

I wonder if anyone can give me some general advice on how to get set up as some weird things are happening

1. If I drag and drop a .py file into th..... More

Print this item

  Add space between plots
Posted by: AdWill97 - May-15-2019, 02:04 PM - Forum: Data Science - No Replies

Hello I am plotting 4 different plots in pandas. 3 of which have the same x axis scale, the last one being different. when i run the code and it shows..... More

Print this item

  define a diagonal matrix from a matrix
Posted by: amalalaoui - May-15-2019, 12:29 PM - Forum: Homework - Replies (1)

I need a help plz I want to construct a diagonal matrix D from a matrix A the first element of the diagonal matrix D must be the product of all elemen..... More

Print this item

  please help this newb install pygame
Posted by: iofhua - May-15-2019, 11:59 AM - Forum: General Coding Help - Replies (7)

I just installed python 3.7.3

What is the command to install pygame? I have tried:

pip install pygame
pip3 install pygame
python3 -m pip insta..... More

Print this item

  How to assign a "Score" variable to each element in a list
Posted by: Reta - May-15-2019, 09:33 AM - Forum: Homework - Replies (5)

Hey all, I was tasked to create a game for homework but I still can't seem to figure out how to assign each individual player a "Score" variable that ..... More

Print this item

  Find string and add character - newbi
Posted by: PyDK - May-15-2019, 09:17 AM - Forum: General Coding Help - Replies (1)

I am in the process of learning Python. Now I have a concrete challenge I would like to give my self. Once in a while I need to do some changes in a V..... More

Print this item

  Help me,send message via tkinter
Posted by: chano - May-15-2019, 07:33 AM - Forum: GUI - Replies (2)

Hello boys,
i have a one question,
is it possible tkinter to send email after click 10 times on button, i want when button is push 10 times, at 10th..... More

Print this item

  Publishing two boards side by side
Posted by: DJ_Qu - May-15-2019, 07:28 AM - Forum: General Coding Help - Replies (4)

Hello,
We are implementing a simple console game of battleship. It has two boards (one human, one AI).
I want to have numbers 1 to 10 in a column ne..... More

Print this item

  o365 special subject mail download issue
Posted by: anna - May-15-2019, 07:27 AM - Forum: General Coding Help - Replies (3)

Hi,

I am getting specific mail in Inbox with subject 'ACTIVE DSL DUMP EPOS' on daily basis, with extension .gz. I am trying to download attachment,..... More

Print this item

  Reading a Regex
Posted by: stahorse - May-15-2019, 06:34 AM - Forum: General Coding Help - Replies (4)

Hi,

I have this code:
[python]import re

text = 'NoErrorRE: [EXTERNAL] PL_192_01_28Claire Gravell KingService EscalationNormal'

p = re.compil..... More

Print this item

  moving a sprite
Posted by: pfaber11 - May-15-2019, 06:28 AM - Forum: Game Development - Replies (3)

Could somebody please tell me the best way to move a sprite on the screen in pygame. I don't mind installing another module . thanks.


It's not th..... More

Print this item

  Iterating Variables...?
Posted by: JesseTheNewb - May-15-2019, 05:58 AM - Forum: General Coding Help - Replies (3)

I am brand new to coding (it has been about 48 hours since I decided to give it a go), so I'm sure the answer to this problem is something simple, how..... More

Print this item

  python 2D array creation and print issue
Posted by: developerbrain - May-15-2019, 05:47 AM - Forum: General Coding Help - Replies (5)

[python]
str1 = "snbdsbhaswertybvbx"
str2 = "bhzbhcgsdwertyndvdddwsdws"
str1len = len(str1)
str2len = len(str2)

arr = [[0]*str2len]*str1len

for i in..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 49 minutes ago SpongeB0B SpongeB0B General Codin...
  Error: cannot mix str wit... Today, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... Yesterday, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Yesterday, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
Most views
  The best Prog... 577447
  Tutorial Requ... 500976
  Web Scraping ... 441077
  Newbie with P... 385144
  New Users Int... 369726
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+ 12092
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
kyleconor797 Today
miriamwilliam Today
Davidkiplimo Today
Joliekeva Today
silversimon2 Yesterday

User Panel Messages

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