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,993
» Latest member: lauren557
» Forum threads: 38,736
» Forum posts: 175,588

Full Statistics

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

Latest Threads
Another app idea - intera...
Forum: News and Discussions
Last Post: Biks
6 hours ago
» Replies: 1
» Views: 1,812
My goal to be hired worki...
Forum: News and Discussions
Last Post: Biks
6 hours ago
» Replies: 3
» Views: 1,114
real community
Forum: News and Discussions
Last Post: Biks
6 hours ago
» Replies: 4
» Views: 3,066
print does not open conso...
Forum: General Coding Help
Last Post: Tycho_2025
8 hours ago
» Replies: 5
» Views: 170
create ocr to detect lice...
Forum: General Coding Help
Last Post: Pedroski55
10 hours ago
» Replies: 4
» Views: 140
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 08:57 AM
» Replies: 1
» Views: 89
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Oct-02-2025, 03:05 PM
» Replies: 3
» Views: 2,556
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Oct-02-2025, 01:56 PM
» Replies: 6
» Views: 252
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,063
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 485

 
  Reading Multiple Sheets using Pandas
Posted by: dhiliptcs - Sep-30-2019, 09:54 PM - Forum: Data Science - Replies (1)

HI-

I am trying to read multiple sheets using Pandas, by parameterizing those Sheet names and column names
While reading the parameter, it is conside..... More

Print this item

  Sinus Approx
Posted by: Mebujo - Sep-30-2019, 09:36 PM - Forum: Homework - Replies (5)

Hi everyone,
im tryna write a program that prints an Approx of a sinus(x) using this:
sinus(x)=x-((x**3)/3!)+((x**5)/5!)-((x**7)/7!)+...

so in my..... More

Print this item

  String add prefix & suffix
Posted by: nahom - Sep-30-2019, 09:11 PM - Forum: General Coding Help - Replies (3)

How can I do this in Python ? newbie here

1,2,3 to tmp[1],tmp[2],tmp[3]
it can be 1 to tmp[1]

1,2 to tmp[1],tmp[2]
basically input can be 1 or..... More

Print this item

  Creating a list from a comprehension using a list
Posted by: rm197 - Sep-30-2019, 06:23 PM - Forum: General Coding Help - Replies (6)

[python]
keyIDs = list(jsonData.keys()) #list of IDs
listOfValsFromKeys = students[keyIDs[i] for i in range(len(keyIDs))] #list of names
[/pyt..... More

Print this item

  Need help with a function that calls other functions.
Posted by: skurrtboi - Sep-30-2019, 06:06 PM - Forum: General Coding Help - Replies (4)

Im pretty new at programming, but atm im trying to make a function that takes two user inputs and use the input on previously made functions.
I only ..... More

Print this item

  [Scrapy] web scrape help
Posted by: joe_momma - Sep-30-2019, 05:18 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello,
downloaded scrapy and went through the tutorials and still trying to understand the selector
aspect of scraping. So I thought scrape a differ..... More

Print this item

  Something is wrong with my logic in this program
Posted by: newbieAuggie2019 - Sep-30-2019, 04:28 PM - Forum: General Coding Help - Replies (4)

Hi!

First, I made a small program to draw a poligon whose number of sides is entered by the user:

[python]# mawp_01_choosepoligon_01.py
#
# It..... More

Print this item

  Logging
Posted by: rajuarien - Sep-30-2019, 03:53 PM - Forum: General Coding Help - No Replies

I am a novice in python as new as week !

Wanted to use Python Logger

LoggingUtils.py

[python]
import logging

class LoggingUtils:..... More

Print this item

  autostart python scripts in background (Windows10)
Posted by: john36 - Sep-30-2019, 03:21 PM - Forum: General Coding Help - Replies (4)

Hi,
I have problem with autostart python scripts in Windows10:

I made BAT file and put it to autostart folder,
BAT file contens:

[color=#1ABC9..... More

Print this item

  Selecting first and last row in python
Posted by: sudhirkaukuntla - Sep-30-2019, 02:39 PM - Forum: Data Science - Replies (2)

Hi All,

Im trying to compare first and last value in pandas dataframe. My requirement is
if first value of column(id) group by city = last value ..... More

Print this item

  Beautifulsoup table question
Posted by: tantony - Sep-30-2019, 01:17 PM - Forum: Web Scraping & Web Development - Replies (5)

I'm able to get the data from the HTML table, but how would I get only the data I need? For example, how would I read only '10 or more sm (16+ km)'? ..... More

Print this item

  Prime numbers
Posted by: janoshz - Sep-30-2019, 12:32 PM - Forum: Homework - Replies (4)

Hello,

I have a slight problem with my prime number checking machine :D It does not print out the number 2 it should and does falsely recognize 9 a..... More

Print this item

  Newbie question
Posted by: Shadowlord - Sep-30-2019, 12:23 PM - Forum: General Coding Help - Replies (2)

I am trying to answer one of the questions in Automate the Boring Stuff with Python. The function (which seems to work correctly) should retun x if an..... More

Print this item

  Proces for registering to this forum
Posted by: wpo - Sep-30-2019, 12:17 PM - Forum: Board - Replies (1)

Just a question to the technicians who maintain the software for this forum (I don't know how else I can contact them).
I'm NOT a native English spea..... More

Print this item

  Basic programming problem
Posted by: darek88 - Sep-30-2019, 11:35 AM - Forum: General Coding Help - Replies (1)

Could You tell me, what wrong with this code is, please?
python import myfile

Traceback (most recent call last): File "<stdin>", line 1, in <mod..... More

Print this item

  Don't excute my code
Posted by: RavCOder - Sep-30-2019, 10:31 AM - Forum: Homework - Replies (16)

Task:
Given n names and phone numbers, assemble a phone book that maps friends' names to their respective phone numbers. You will then be give..... More

Print this item

  boto3 Amazon SQS
Posted by: raghuvamsi59 - Sep-30-2019, 10:10 AM - Forum: General Coding Help - Replies (1)

How to insert JSON file Directly into amazon SQS using boto3

Print this item

  use of global
Posted by: wpo - Sep-30-2019, 08:53 AM - Forum: General Coding Help - Replies (21)

I need to use pass the values in some variables from the "main" script to functions, and also from one function to another function. That seems to wo..... More

Print this item

  Syntax Error with Argument Parser
Posted by: aditya_man - Sep-30-2019, 08:03 AM - Forum: General Coding Help - Replies (1)

Hello all,
I was working on a project where I would separate the frames of an image using OpenCV using Argument Parser. It is something to do with th..... More

Print this item

  Unit testing - AssertRaises
Posted by: kerzol81 - Sep-30-2019, 07:31 AM - Forum: General Coding Help - Replies (3)

Hi, I got this converter:

[python]def nmea_to_dd(coordinate, direction):
if direction not in ['N', 'S', 'W', 'E']:
raise TypeError('o..... More

Print this item

  cx_Oracle.DatabaseError: ORA-12541: TNS:no listener
Posted by: ARV - Sep-30-2019, 06:15 AM - Forum: General Coding Help - Replies (2)

I am getting this error while connecting DB

import cx_Oracle
connection = cx_Oracle.connect("USERNAME", "PWD", "HOST/DEV")

Operating System: Wi..... More

Print this item

  Python Error with youtube-dl - Any Help?
Posted by: abrogard - Sep-30-2019, 05:21 AM - Forum: General Coding Help - Replies (4)

This is a very new (two days) Win10 install on a clean disk.

And a new install of the latest Python release.

And an install of Python 2.7 beca..... More

Print this item

  PurePath.relative_to() fails in 3.6
Posted by: Skaperen - Sep-30-2019, 04:19 AM - Forum: General Coding Help - Replies (5)

i was trying to eliminate some messy code that was making some relative symlinks by using PurePath.relative_to() to create the relative path. but it ..... More

Print this item

  Object cannot find its attribute
Posted by: colt - Sep-29-2019, 11:48 PM - Forum: General Coding Help - Replies (6)

Hello, I have this line of code

print ("Identifier Byte: {}".format(self.identity_byte))
that generates this output: [quote]120..... More

Print this item

  suid scripts in python?
Posted by: Skaperen - Sep-29-2019, 10:28 PM - Forum: News and Discussions - No Replies

i'm assuming a normal python engine is unsafe for running an suid script on a POSIX system. but maybe someone has a patch or wrapper that can make it..... More

Print this item

  Could you help with this bug I have looked for like 20 minutes
Posted by: ryder5227 - Sep-29-2019, 10:00 PM - Forum: General Coding Help - Replies (1)

[python]import Items

class Player:
def __init__(self):
self.inventory = [items.RedBloodCell()]
self.hp = 100
self.l..... More

Print this item

  Counting Criteria in Pandas Question
Posted by: Koenig - Sep-29-2019, 08:47 PM - Forum: Data Science - Replies (1)

Hello,
Not sure where I'm going wrong at. Any help would be appreciated.

I have a csv file that has win/loss/draw data. Quick brief of the csv f..... More

Print this item

  how would you copy a file?
Posted by: Skaperen - Sep-29-2019, 06:54 PM - Forum: News and Discussions - Replies (17)

suppose your project is to create a script to copy a list of files from A to B only if the file does not already exist at B. you would iterate over t..... More

Print this item

  general advise
Posted by: mveytsman13 - Sep-29-2019, 04:51 PM - Forum: News and Discussions - Replies (1)

i'm a python newby that's currently using Python Crash Course: A Hands-On, Project-Based Introduction to Programming to learn the basics. The b..... More

Print this item

  Scraping problems. Pls help with a correct request query.
Posted by: gtlhbkkj - Sep-29-2019, 02:46 PM - Forum: Web Scraping & Web Development - Replies (6)

Please help to formulate the correct request query. Thank you.
.
Here is the website
http://[url=https://python-forum.io/thread-21422.html]..... More

Print this item

  Iterating kernel through image for filtering
Posted by: davlovsky - Sep-29-2019, 02:45 PM - Forum: General Coding Help - No Replies

I have two filters: (1) Median Filter and (2) Adaptive Median Filter

My median filter works. It takes an image, creates a padding the kernel convol..... More

Print this item

  Python x Html5
Posted by: JohnnyCoffee - Sep-29-2019, 01:44 PM - Forum: Web Scraping & Web Development - Replies (4)

What's the best way to output code (html) and file (html) through python?

Print this item

  Adding 2-column CSV together in base Python without using pandas
Posted by: LeegeeRicky - Sep-29-2019, 11:21 AM - Forum: General Coding Help - Replies (3)

I have a CSV file with ID column (Username) and two numeric columns. In base Python I want to get the ID and the sum of Auto and Manual Score, then ge..... More

Print this item

  New coder need help where to start
Posted by: Spaceman - Sep-29-2019, 10:02 AM - Forum: News and Discussions - Replies (4)

Hi I'm new to coding and have been trying to figure out where to start for a while now, do I just pick a language I want to learn first and figure out..... More

Print this item

  How to match two CSV files
Posted by: timlamont - Sep-29-2019, 08:25 AM - Forum: General Coding Help - Replies (9)

I'm new to Python from VisualBasic, so excuse my basic question.

I am trying to match two CSV files, based on the data in columns P1-P5:

CSV#1:..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Another app idea - intera... 6 hours ago decuser Biks News and Disc...
  My goal to be hired worki... 6 hours ago GnomeSweetGnome Biks News and Disc...
  real community 6 hours ago decuser Biks News and Disc...
  print does not open conso... 8 hours ago Tycho_2025 Tycho_2025 General Codin...
  create ocr to detect lice... 10 hours ago bimosora Pedroski55 General Codin...
  Weird failure in Selenium Yesterday, 08:57 glestwid Larz60+ General Codin...
  Fred Economic Data API 10-02, 15:05 warrior42 Trickety Web Scraping ...
  Parse Markdown / get the ... 10-02, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
Most views
  The best Prog... 577510
  Tutorial Requ... 501557
  Web Scraping ... 441116
  Newbie with P... 385167
  New Users Int... 370030
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+ 12093
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
lauren557 Yesterday
maribita Yesterday
AnalystRobert Yesterday
Safariscampoea Yesterday
DataAnalytics021 Yesterday

User Panel Messages

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