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

Full Statistics

Online Users
There are currently 29 online users.
» 1 Member(s) | 26 Guest(s)
Bing, Google, snippsat

Latest Threads
If I open a file write or...
Forum: General Coding Help
Last Post: bowlofred
6 hours ago
» Replies: 5
» Views: 128
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 05:21 AM
» Replies: 3
» Views: 750
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 02:57 AM
» Replies: 8
» Views: 520
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
Jan-09-2026, 08:47 PM
» Replies: 4
» Views: 458
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 809
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,769
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 733
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,039
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,626
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,381

 
  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

  Appending to list of list in For loop
Posted by: nico_mnbl - Sep-25-2020, 03:30 PM - Forum: General Coding Help - Replies (2)

Hello,

I have question regarding for loops and appending to a list in that loop. In a for loop, I am trying to append a list to a list of lists. With..... More

Print this item

  New to programming, loop question
Posted by: tomyan - Sep-25-2020, 03:28 PM - Forum: General Coding Help - Replies (1)

Hi, can anyone please explain the for loop here?
[python]
def is_palindrome(s):
s = s.replace(" ", "")
for i in range(0, int(len(s)/2)):
..... More

Print this item

  AttributeError: 'str' object has no attribute 'name'
Posted by: deathsperance - Sep-25-2020, 03:23 PM - Forum: General Coding Help - Replies (4)

Trying to grab an excel file from azure blob store and put into azure sql server instance. it was working and suddenly stopped. It was running on a co..... More

Print this item

  pyinstaller
Posted by: rami84 - Sep-25-2020, 02:40 PM - Forum: General Coding Help - No Replies

Hello
i can't make an exe file for this script
[python]
import xlsxwriter
name = input("Enter Name: ")
age= input("Enter age: ")
workbook = xl..... More

Print this item

  Electron wave function
Posted by: NUMA01 - Sep-25-2020, 01:23 PM - Forum: Code sharing - No Replies

Plotting of wave functions for an electrons quantum numbers (n,l ,ml) using spherical harmonics.
The first plot shows the probability of different di..... More

Print this item

  Free space loss 3D Plot
Posted by: scimi - Sep-25-2020, 12:31 PM - Forum: General Coding Help - Replies (1)

Hello everyone
I have the function:

[python]#free space loss calculation
def fspl(d, f):
x = 4*math.pi
ls = 3*10**8
result = 20*math.log..... More

Print this item

  Scientific Computing Examples
Posted by: NUMA01 - Sep-25-2020, 12:23 PM - Forum: Code sharing - Replies (1)

Basic exercises of calculations and plotting.
[python]from scipy import *
from pylab import *
from math import *
import sys
import matplotlib.py..... More

Print this item

  Python greater than equal to comparison operator
Posted by: Ilangos - Sep-25-2020, 12:22 PM - Forum: General Coding Help - Replies (4)

Dear All,

This question might sound very basic and simple. However, I'm confused over the output which I'm getting in python 3.8.0 terminal.

O..... More

Print this item

  Creating a circular matrix with one input
Posted by: omnisierra - Sep-25-2020, 11:35 AM - Forum: Homework - Replies (18)

Hi everyone, I have a homework and couldn't solve the following question:

[size=small]Out an n×n table filled with numbers from 1 to n^2 in a spira..... More

Print this item

  Tic Tac Toe, Python, code won`t run
Posted by: malinsimone - Sep-25-2020, 11:10 AM - Forum: General Coding Help - Replies (8)

Hi,

I am completely new to programming and am strugling with my assignment Tic Tac Toe in Python code. Can somebody please help me by pointing out ..... More

Print this item

  Sync It v0.60
Posted by: steve_shambles - Sep-25-2020, 10:17 AM - Forum: Code sharing - No Replies

I have just updated my little systray app for Windows to V0.60,
adding a profiles feature and other small improvements.

[img]https://1.bp.blogspot..... More

Print this item

  create new variable that sums the array
Posted by: prasanthbab1234 - Sep-25-2020, 09:38 AM - Forum: Homework - Replies (3)

Hi Folks,

Could you please help me to understand how to create new variable that sums the array

create another variable that sums the array arg..... More

Print this item

  blockblobservice
Posted by: dakke - Sep-25-2020, 09:03 AM - Forum: General Coding Help - Replies (1)

Hi,

The following import of BlockBlobService

from azure.storage.blob import BlockBlobService
yields the error message: Import..... More

Print this item

  jupyter notebook
Posted by: varsh - Sep-25-2020, 08:56 AM - Forum: General Coding Help - No Replies

hi,
I installed jupyter notebook through pip.
$ pip install jupyterlab
$ jupyter notebook
[C 14:25:06.690 NotebookApp] No such file or directory: ..... More

Print this item

  Youtube Vedio Recommendation
Posted by: thousif - Sep-25-2020, 07:07 AM - Forum: Web Scraping & Web Development - Replies (3)

I am new to python
I want python code for recommendation of specific vedio (Using Youtube API)
any one please help me in this regard

Print this item

  Print max numbers in a list
Posted by: jimmoriarty - Sep-25-2020, 07:04 AM - Forum: General Coding Help - Replies (1)

So, guys, i'm having a problem with my code. What i need to do is take grades of n students and put on a list, and take their grades e put on otherlis..... More

Print this item

  Openpyxl: Excel formula & condition formatting removed
Posted by: JaneTan - Sep-25-2020, 07:02 AM - Forum: General Coding Help - No Replies

I need to read and write to an xlsm excel file. I used the below

[python]import openpyxl
file='....xlsm'
wb=openpyxl.load_workbook(file, data_onl..... More

Print this item

  Totally beginner PLease Help
Posted by: Infinity - Sep-25-2020, 05:37 AM - Forum: General Coding Help - Replies (1)

file:///C:/Users/Aseem/Desktop/Screenshot%20(247).png..... More

Print this item

  Do I have to pass 85 variables to function?
Posted by: Milfredo - Sep-25-2020, 05:06 AM - Forum: General Coding Help - Replies (10)

Have a problem with a function. I am reading from a data frame and when the condition is met, I am putting data into a two dimensional array. There ar..... More

Print this item

  Absolute beginner am I missing something?
Posted by: kamren - Sep-25-2020, 01:55 AM - Forum: General Coding Help - Replies (7)

I am just starting to learn python and I am watching a tutorial.
They are showing a basic code
[python]name = input("what is your name" )
Print ("..... More

Print this item

  NameError when calling a class method
Posted by: mfreudenberg - Sep-24-2020, 09:07 PM - Forum: General Coding Help - Replies (2)

Hi,

I'm currently starting to learn python (have already programming experience with c#).

For my first project i wanted to write a script, that ..... More

Print this item

  Bluetooth problem
Posted by: Lad - Sep-24-2020, 07:26 PM - Forum: General Coding Help - No Replies

I am a new with bluetooth in Python. I wanted to use the following program that sends a file.
I wanted to send a file from laptop to a cell phone.
..... More

Print this item

  Code for reload windows services
Posted by: azura1003 - Sep-24-2020, 07:21 PM - Forum: Code Review - Replies (4)

Hi guys,

I'm an IT administrator the coding is not my strength.
I have created a script to reload automatically some program that run has services..... More

Print this item

  user inputing data until in range
Posted by: Omer_ - Sep-24-2020, 07:01 PM - Forum: General Coding Help - Replies (1)

How can I make the function to repeat until user enter value in the range and only then to break ?

[python]

def scale(freq):
freq = i..... More

Print this item

  guizero repeat command
Posted by: pdihawk - Sep-24-2020, 06:59 PM - Forum: GUI - Replies (2)

I am new to guizero and Python in general but I'm fighting my way through it and I think I'm almost there.

Essentially, I'm making a barcode compar..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  If I open a file write or... 6 hours ago Pedroski55 bowlofred 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... 580748
  Tutorial Requ... 522323
  Web Scraping ... 442918
  New Users Int... 388163
  Newbie with P... 387140
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