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,273
» Latest member: Astrobert
» Forum threads: 38,788
» Forum posts: 175,860

Full Statistics

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

Latest Threads
link variable to exc bloc...
Forum: General Coding Help
Last Post: Astrobert
1 hour ago
» Replies: 0
» Views: 19
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
2 hours ago
» Replies: 2
» Views: 131
best way to learn python
Forum: News and Discussions
Last Post: mamta25
5 hours ago
» Replies: 5
» Views: 3,061
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 10:27 PM
» Replies: 3
» Views: 187
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 11:47 AM
» Replies: 4
» Views: 174
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Yesterday, 08:44 AM
» Replies: 2
» Views: 132
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 178
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 355
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 73
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 376

 
  How to install Python on a Mac
Posted by: BlueBlue - Sep-26-2020, 06:59 PM - Forum: General Coding Help - Replies (13)

Hi there,

I've been trying to install Python on my Mac for quite sometime - without success.

First, I downloaded the official file from python.o..... More

Print this item

  Concatenation ??
Posted by: ridgerunnersjw - Sep-26-2020, 06:25 PM - Forum: General Coding Help - Replies (1)

I have a string that a user enters from input()....I would like to concatenate it with '\r' (0x0D) <CR> character so that it goes out on the uart bus ..... More

Print this item

  Multi set string inputs/outputs
Posted by: kwmcgreal - Sep-26-2020, 06:19 PM - Forum: General Coding Help - Replies (2)

I actually have no idea what to even call this as I am brand new to python
I am trying to create a simple program that generates a number of differen..... More

Print this item

  [split] Launch soft on Terminal in silent mode
Posted by: Note3409 - Sep-26-2020, 05:18 PM - Forum: General Coding Help - Replies (2)

Do i need to know phyton to create some video games for example Clash of clans mod apk..... More

Print this item

  Creating a list of dictionaries while iterating
Posted by: pythonnewbie138 - Sep-26-2020, 05:16 PM - Forum: General Coding Help - Replies (6)

Hi everyone,

The class I'm writing queries TMDB and, for now, writes data to a txt file. I've written a method to populate global variables to use ..... More

Print this item

  Python version
Posted by: tanometro - Sep-26-2020, 05:12 PM - Forum: Networking - Replies (2)

Hello dear Pythonfriend's,
i'm Tanometro.
I have problems with the python version. I recently installed the latest version of python on my Mac pro, ..... More

Print this item

  convert string into multiple columns in python3
Posted by: VAN - Sep-26-2020, 04:53 PM - Forum: General Coding Help - Replies (2)

Suppose now I have the following string as below:

'DATA B - 22Aug18\nName Occupation Address Marry Teacher Cali Hobby listen music Sex F Sport swim..... More

Print this item

  DUAL WINDOWS...
Posted by: ATARI_LIVE - Sep-26-2020, 04:20 PM - Forum: GUI - Replies (5)

My goal is dual windows as left and right for example:
[python]from tkinter import *

window_left = Tk()
window_left.geometry("300x300")
window_l..... More

Print this item

  coding error iro a menu
Posted by: Rollo - Sep-26-2020, 03:41 PM - Forum: General Coding Help - Replies (2)

The code below when run ignores my menu and goes straight into the first def xx() command - WHY

import sqlite3
def mainMenu():

print(' ..... More

Print this item

  Need help with a checkerboard algorythm
Posted by: giladal - Sep-26-2020, 02:58 PM - Forum: General Coding Help - Replies (2)

Hey Guys,

In the middle of a python course and unfortunately the course is off the air right now so I cant get help from the instructors. Hopefully..... More

Print this item

  Translator doens't show in my web
Posted by: MarcJuegos_YT - Sep-26-2020, 02:52 PM - Forum: Web Scraping & Web Development - Replies (1)

I am currently working on my website, which is a translator which you input a phrase and it gets translated into an invented language.

Here's the c..... More

Print this item

  "RecursionError: maximum recursion depth exceeded in comparison"
Posted by: hhydration - Sep-26-2020, 02:36 PM - Forum: Homework - Replies (1)

[python]def sum_arithmetic(n_terms, start_val, inc_val):
if n_terms == 0:
return 0
else:
return start_val+ sum_arithmetic(..... More

Print this item

  Image to Data
Posted by: nikki - Sep-26-2020, 02:10 PM - Forum: Data Science - Replies (1)

Dear Friends,

This is Nikki from Houston, Texas.

I would some help from you to convert images to Data points using the Python etc. I do not know..... More

Print this item

  Python Dev suggestion: Combining line-wrap with comments inside functions
Posted by: NikoNiels - Sep-26-2020, 12:15 PM - Forum: General Coding Help - Replies (2)

(EDIT: I messed up the title. "inside functions" should not be there. The suggestion is more general than that.)

Code Case
Sometimes, I have a..... More

Print this item

  Maths problems
Posted by: Nick_oLay - Sep-26-2020, 12:07 PM - Forum: General Coding Help - Replies (3)

Hi
I wrote a simple program and it doesn't work properly. Instead of adding numbers it creates a number out of it, for example I type 1+2 and it answ..... More

Print this item

  Master's/PHD for Data Science Job
Posted by: oli_action - Sep-26-2020, 11:47 AM - Forum: News and Discussions - Replies (4)

Hey everyone,

I recently spoke to a friend of the family who is a lead developer(45). I told him I am really interested in data science. He looks up..... More

Print this item

  Math tusk
Posted by: Michel45 - Sep-26-2020, 11:33 AM - Forum: Bar - Replies (2)

Dudes. Can you help me with math?? Cry

Print this item

  Problem posting image to clipboard
Posted by: noel - Sep-26-2020, 10:50 AM - Forum: General Coding Help - No Replies

[align=left]
I am running Windows 10 Version 10.0.18363 Build 18363.
Python 3.8.5
Apache 2.4.41

I found an example of how to copy an image to wi..... More

Print this item

  Handling multi-input/output audio in python
Posted by: bor1904 - Sep-26-2020, 10:05 AM - Forum: General Coding Help - Replies (4)

Hi,
I want to do something like that:

I have two stereo cards and I want to play music completely selectively, this means 1.mp3 on 1 channel in 1 ..... More

Print this item

  Yield statement question
Posted by: DPaul - Sep-26-2020, 08:12 AM - Forum: General Coding Help - Replies (6)

I have been reading up on the "yield" instead of "return" statement.
Arguably, I understand what it does.

On most sites however, they give the gen..... More

Print this item

  Applying Moving Averages formula to a number
Posted by: lynnette1983 - Sep-26-2020, 08:09 AM - Forum: General Coding Help - Replies (1)

I have a csv file named data.


Within this file, I'd like to iterate over the rows and perform a moving averages calculation for the next ..... More

Print this item

  TypeError: 'NoneType' object is not subscriptable
Posted by: syafiq14 - Sep-26-2020, 07:38 AM - Forum: General Coding Help - Replies (3)

I'm trying to check whether the user entered the correct path or not.
when the output appears it doesn't give any error but when i close the output it..... More

Print this item

  Simple Tic Tac Toe but I'm confused
Posted by: Izith - Sep-26-2020, 07:32 AM - Forum: General Coding Help - Replies (1)

So I started learning to code and followed a tutorial making a simple tic tac toe game. Later that day, I wanted to do it again, but without help this..... More

Print this item

  Can we store value in file if we open file in read mode?
Posted by: prasanthbab1234 - Sep-26-2020, 07:31 AM - Forum: Homework - Replies (3)

Using the open() function, open the test.txt file in reading mode and store it in the variable called file_2

Is this possible to create variable wh..... More

Print this item

  Code example for entering input in a textbox with requests/selenium object
Posted by: peterjv26 - Sep-26-2020, 04:59 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi, I am scrapping a website with requests/selenium and I want to enter some text into a textbox and click a button on the returned page. I had seen f..... More

Print this item

  while loop question
Posted by: KEYS - Sep-26-2020, 03:28 AM - Forum: General Coding Help - Replies (2)

Hello, When my program runs and reaches the winning condition of else: it will print both from the if and else as well as subtract the 1 as if it was ..... More

Print this item

  conditionals with boolean logic??
Posted by: ridgerunnersjw - Sep-26-2020, 01:17 AM - Forum: General Coding Help - Replies (3)

I'm new to Python....
Can someone tell me why code only responds to the first boolean characater and not the rest?

[python]cmd = '$D00\r'
if cmd[..... More

Print this item

  new to programming, any help would be appreciated!
Posted by: 01andy - Sep-26-2020, 01:14 AM - Forum: General Coding Help - Replies (9)

[python]print("\nNumber\tType\tSquares\tRoots")
print("_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _")
for i in range(start,end,step):
sq =i**2
root =ma..... More

Print this item

  large ints and floats
Posted by: Skaperen - Sep-26-2020, 12:51 AM - Forum: Bar - Replies (7)

what is the largest int that can be converted to float such that 1 larger cannot be converted to float?

hint: it is not a power of 2

suggestion:..... More

Print this item

  Make a Python program executable in Windows
Posted by: Pedroski55 - Sep-25-2020, 11:40 PM - Forum: General Coding Help - Replies (1)

The gf now has Python on her Windows 10 laptop. She wants to learn a bit of Python.

To make the file executable in Linux I usually just go to the f..... More

Print this item

  2 or more processes on the write end of the same pipe
Posted by: Skaperen - Sep-25-2020, 10:57 PM - Forum: General Coding Help - Replies (4)

i want to start 2 or more processes with stdout of each writing to the write end of the same one pipe. my code will then read from the read end of th..... More

Print this item

  Scraping text from application?
Posted by: kamix - Sep-25-2020, 10:06 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello every1!

I am completly new with python so please bear with me Blush
Is there a way to scrape the text out of applications. For e.g. I..... More

Print this item

  First completed 'project' (basic text parser).
Posted by: SnowwyWolf - Sep-25-2020, 09:21 PM - Forum: Code Review - Replies (3)

Hello there, been learning Python for around 5 days so I am very new and want to form good coding practices/standards early on. I'm sure my code is ve..... More

Print this item

  So many things wrong, it runs but not like its supposed to
Posted by: kasherwood - Sep-25-2020, 07:53 PM - Forum: Homework - Replies (6)

[python]##
# Author: Kasherwood
# Date: September 12, 2020
# This program takes several several functions and completes all of the processes of a v..... More

Print this item

  TypeError: Missing required positional arguments
Posted by: liaisa - Sep-25-2020, 05:26 PM - Forum: Homework - Replies (7)

I have to complete this task for my class and Im stuck on this exercise because it always gives me this same error:
TypeError: calculate() missing 4..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  link variable to exc bloc... 1 hour ago Astrobert Astrobert General Codin...
  PyQt6 QWidgets and system... 2 hours ago stevecoh1 Axel_Erfurt GUI
  best way to learn python 5 hours ago dutch mamta25 News and Disc...
  Graph Interpolate Difficu... Yesterday, 22:27 Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... Yesterday, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... Yesterday, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
Most views
  The best Prog... 579117
  Tutorial Requ... 511382
  Web Scraping ... 442078
  Newbie with P... 386143
  New Users Int... 378530
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+ 12108
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Astrobert Today
DataScientist071 Today
aminrony1999 Yesterday
fobby888 Yesterday
digitalboy346 Yesterday

User Panel Messages

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