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,276
» Latest member: eastnoob
» Forum threads: 38,789
» Forum posts: 175,862

Full Statistics

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

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
40 minutes ago
» Replies: 3
» Views: 230
[BeautifulSoup] A few que...
Forum: Web Scraping & Web Development
Last Post: Winfried
2 hours ago
» Replies: 0
» Views: 15
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Today, 05:03 AM
» Replies: 1
» Views: 104
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Yesterday, 06:47 PM
» Replies: 2
» Views: 183
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Yesterday, 04:13 PM
» Replies: 5
» Views: 3,099
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 213
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Nov-17-2025, 08:44 AM
» Replies: 2
» Views: 154
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 212
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 375
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 91

 
  Dataframe mean calculation problem: do we have to loop?
Posted by: sparkt - Aug-27-2020, 05:44 PM - Forum: General Coding Help - Replies (1)

Suppose we have a very simple dataframe.

[python]import pandas as pd
df = pd.DataFrame({'A': [1, 2, 5, 6, 7], 'B': [20, 30, 50, 90, 80]})
print(..... More

Print this item

  list indices must be integers or slices, not lists error
Posted by: djwilson0495 - Aug-27-2020, 04:21 PM - Forum: General Coding Help - Replies (2)

For the following code:
[python]
def create_ID(tmp):
try_again = True
in_list = False
while try_again == True:
New_ID = inpu..... More

Print this item

  Which GUI toolkit to use if less resource consumption is a priority.
Posted by: NIHILIST - Aug-27-2020, 04:12 PM - Forum: GUI - Replies (1)

I believe the tittle itself is sufficient.
I'm currently learning gui programming using tkinter.
I hope to do a web browser project if I ever atta..... More

Print this item

  Odd behavior with Rock Paper Scissor game
Posted by: DustinKlent - Aug-27-2020, 03:31 PM - Forum: General Coding Help - Replies (2)

I am following a tutorial for a rock paper scissor game and I made some changes to it to stray from the tutorial. Everything works except for the fact..... More

Print this item

  .loc with Booleans
Posted by: Mark17 - Aug-27-2020, 02:14 PM - Forum: General Coding Help - Replies (1)

Can someone explain the mechanism of this output?

[Python]
df = pd.DataFrame([[1, 2], [4, 5], [7, 8]],
index=['cobra', 'viper', 'sidewinder'..... More

Print this item

  while loop not closing
Posted by: djwilson0495 - Aug-27-2020, 02:14 PM - Forum: General Coding Help - Replies (4)

I'm using a code with a while loop:

[python]
def main():
print("1) Create a new user ID") # prints this menu
print("2) Change a password..... More

Print this item

  Openpyxl
Posted by: PTPeter - Aug-27-2020, 01:31 PM - Forum: General Coding Help - Replies (4)

Rather simple question: I already opened an Excel file.
How do I address it in Openpyxl?

Print this item

  features examples by release
Posted by: costa_shul - Aug-27-2020, 01:31 PM - Forum: News and Discussions - Replies (2)

I develop Python features examples by release:
https://github.com/makelinux/examples/bl.../README.md

Most valuable features of each..... More

Print this item

  python3 convert hex to binary 32 bit
Posted by: Mkt - Aug-27-2020, 12:32 PM - Forum: General Coding Help - Replies (3)

data_in_hex64digits='d0e66bfafaf5253157d1b5464e34b0d8d1b53bafc88ae4b7adb0f62d6812c24c'

data_out_bin32bit = 'đŠk ̇ ̇§%1WĐÁFN4░ěĐÁ;»╚ŐńĚş░÷-h↕┬L'

..... More

Print this item

  Python gives " -0.0 " as solution for an equation
Posted by: akar - Aug-27-2020, 11:15 AM - Forum: General Coding Help - Replies (2)

Hi,
I'm learning Python (3.7) and I have sometimes strange results, for example when using code to find the real roots of a single univariate quadrat..... More

Print this item

  bad input line 3 how t fix it
Posted by: youssef210 - Aug-27-2020, 10:43 AM - Forum: General Coding Help - Replies (2)

hrs = input("Enter Hours:")
h = float(hrs)
if h <= 40:
rate = 1.5
print(" h * rate")
elif h > 40.0 :
rate = 10.5
print..... More

Print this item

  read terminal text from running program
Posted by: AArdvark_UK - Aug-27-2020, 09:03 AM - Forum: General Coding Help - Replies (2)

i have a requirement to run badblocks on a raspberry pi checking a usb stick. this is not my requirement so please don't advise to change this as i c..... More

Print this item

  Translation of R Code to Python for Statistical Learning Course
Posted by: SterlingAesir - Aug-27-2020, 08:21 AM - Forum: General Coding Help - Replies (2)

Hi everyone, I'm totally new to Python and am currently taking a course on Statistical Learning which utilizes the Introduction to Statistical Learnin..... More

Print this item

  waiting for barcode scanner output, while main program continues to run
Posted by: lightframe109 - Aug-27-2020, 07:40 AM - Forum: General Coding Help - Replies (3)

Hi,

I am trying to accomplish the following situation.
I have a barcodescanner connected by USB to a raspberry pi 4 and I am able to capture the o..... More

Print this item

  Scrapy-Splash installation on windows 10
Posted by: dsuk - Aug-27-2020, 05:45 AM - Forum: Web Scraping & Web Development - No Replies

I want to install scrapy-splash on my windows 10 pc. Is there any way to inst..... More

Print this item

  extract tabe from nested dictionary, find generic approach,clever way
Posted by: tonycat - Aug-27-2020, 03:33 AM - Forum: Data Science - Replies (4)

Hi, I extract information from dictionary, step by steps, in stupid way...

can anyone provide clever way, or generic way to solve the problem. or ..... More

Print this item

  my code is messy .. how do i not get messy
Posted by: syafiq14 - Aug-27-2020, 03:25 AM - Forum: Code Review - Replies (3)

I've heard about modular programming where we break the code into a separate module but I don't understand which parts I have to separate and where th..... More

Print this item

  How to Split Output Audio on Text to Speech Code
Posted by: Base12 - Aug-26-2020, 11:39 PM - Forum: General Coding Help - Replies (2)

Hello, this is my first post here and I have extremely little Python experience.

My goal is to use IBM Watson Text to Speech to read a .TXT file a..... More

Print this item

  Listing Attributes of Objects & Classes
Posted by: JoeDainton123 - Aug-26-2020, 11:26 PM - Forum: General Coding Help - Replies (4)

Hello all

I have started to create classes and objects in python, progress is slow but i am getting there.

I wanted to ask the community whether..... More

Print this item

  How can I download Python files from GitHub?
Posted by: bitcoin10mil - Aug-26-2020, 06:26 PM - Forum: General Coding Help - Replies (2)

Hi. I'm a newbie and I'm trying to trade bitcoin automatically by using API modules.

I need to download these modules from this GitHub webpage:

..... More

Print this item

  llokking forpyhon programer to update
Posted by: xstation - Aug-26-2020, 05:08 PM - Forum: Jobs - Replies (2)

have a source file written 2010
needs rewritting
thanks
xstation

Print this item

  TemplateNotFound error with flask
Posted by: Veztar - Aug-26-2020, 04:14 PM - Forum: Web Scraping & Web Development - Replies (4)

I am learning python and testing the new things, but I ran into a template error this morning, and so far I haven't found any answers to the problem. ..... More

Print this item

  My code isn't excecuting
Posted by: saratha - Aug-26-2020, 02:22 PM - Forum: General Coding Help - Replies (5)

Hello,
I have excecuted my function but it doesn't run. Does anyone know why?
[python]def randword():
from random import choice
from string impo..... More

Print this item

  How to skip LinkedIn signup link using python script?
Posted by: Mangesh121 - Aug-26-2020, 01:22 PM - Forum: General Coding Help - No Replies

Hello All,

I am fetching messages data from LinkIn site using Python script. After LinkedIn login using python script, gives LinkedIn signup script..... More

Print this item

  Unknown error occurred: Port not found
Posted by: NewBeie - Aug-26-2020, 12:57 PM - Forum: General Coding Help - No Replies

Hi,

I have this WSDL

http://service.name.co.za:8580/xx/wsco/user/ExtractBCUsersXAPI?WSDL
when I call it on a SOAPUI I get da..... More

Print this item

  Problem in connect to MySQL workbench
Posted by: hm86z - Aug-26-2020, 12:05 PM - Forum: Networking - No Replies

Hello

I have thıs problem when I try to connect to MySQL workbench but this problem occure
[img]https://www.facebook.com/photo?fbid=1015873559336..... More

Print this item

  openstreetmap: how to run the BB of a whole continent!? is this doalbe?
Posted by: apollo - Aug-26-2020, 09:20 AM - Forum: General Coding Help - Replies (2)

hi dear community


i am running some requests on overpass-turbo.eu
j am interested i getting back a overview on all hospitals in

-Asia
-E..... More

Print this item

  Rock Paper Scissors Project in Python
Posted by: ankitdixit - Aug-26-2020, 07:40 AM - Forum: General Coding Help - Replies (8)

Hello All,I am working on some python projects and i want to confirm that the given sample code is correct or not? Basica;;y the objective is a random..... More

Print this item

  hello, i was trying a testdome python test
Posted by: twinstars2020 - Aug-26-2020, 05:52 AM - Forum: General Coding Help - Replies (10)

hello, i was trying a testdome python test but failed the 1st question despite getting the required answers. Any idea or advice why and how to improve..... More

Print this item

  nubie
Posted by: jessejames036 - Aug-26-2020, 05:30 AM - Forum: General Coding Help - Replies (1)

Hi I am trying to get my python setup but i am having all kinds of issues . I downloaded the latest version of python for my windows computer. then i ..... More

Print this item

  Insert into mysql through python
Posted by: LaKhWaN - Aug-26-2020, 04:54 AM - Forum: General Coding Help - No Replies

Hey there, I was trying to insert data in mysql through Python and it worked if i used it on localhost but when I did the same for external host I mea..... More

Print this item

  Why does this only work outside of a method
Posted by: Good_AI_User - Aug-25-2020, 11:35 PM - Forum: GUI - Replies (3)

I have even tried to use 'global' on canvas


[i]img = np.ones((800,1400))
for i in range(800):
for j in range(1400):
..... More

Print this item

  Class objects
Posted by: Python_User - Aug-25-2020, 07:32 PM - Forum: General Coding Help - Replies (12)

Hi all,

I can't place the following 'thing' in Python coding.

Why is the output of print (MyClass.f) in the code below, looks ..... More

Print this item

  Need help to execute this code
Posted by: zidani - Aug-25-2020, 05:49 PM - Forum: Web Scraping & Web Development - Replies (4)

Hello

i need help to execute this web scrapping code in windows 10

[python]from lxml import html
import requests
from bs4 import BeautifulSoup..... More

Print this item

  for x to y step from basic in Python
Posted by: lastyle - Aug-25-2020, 05:21 PM - Forum: Data Science - Replies (3)

Hi all,

i previously asked for a Solution for a routine which compares two values and also does a step. It probably was explained to complicated to..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... 40 minutes ago Tuurbo46 deanhystad General Codin...
  [BeautifulSoup] A few que... 2 hours ago Winfried Winfried Web Scraping ...
  link variable to exc bloc... Today, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... Yesterday, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python Yesterday, 16:13 dutch mamta25 News and Disc...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 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...
Most views
  The best Prog... 579154
  Tutorial Requ... 511615
  Web Scraping ... 442105
  Newbie with P... 386189
  New Users Int... 378845
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
eastnoob Today
cruisesfares Today
SavingSquirrel199835 Yesterday
Astrobert Yesterday
DataScientist071 Yesterday

User Panel Messages

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