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,955
» Latest member: Jamirul
» Forum threads: 38,727
» Forum posts: 175,527

Full Statistics

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

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

 
  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

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  extracting data from a us... 4 hours ago Perry DeaD_EyE General Codin...
  [Tkinter] how to export a... Today, 03:45 RonR Pedroski55 GUI
  Is the interpreter that c... Today, 01:04 helendamdam helendamdam 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... 576855
  Tutorial Requ... 499407
  Web Scraping ... 440634
  Newbie with P... 384606
  New Users Int... 368577
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
Jamirul Today
Perry Today
bianchiluca116 Yesterday
Jorgecog Yesterday
adamsmith12 Yesterday

User Panel Messages

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