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,296
» Latest member: nicos18
» Forum threads: 38,795
» Forum posts: 175,886

Full Statistics

Online Users
There are currently 55 online users.
» 0 Member(s) | 47 Guest(s)
Bing, Google, Facebook Dev, AOL, Mojeek

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: Pedroski55
2 hours ago
» Replies: 1
» Views: 52
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:51 AM
» Replies: 1
» Views: 60
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 231
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 121
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 82
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,518
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 170
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 80
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,139
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,322

 
  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

  What does None mean here?
Posted by: jenniferruurs - Sep-29-2019, 07:40 AM - Forum: General Coding Help - Replies (1)

What does None mean here?
Does it mean that it should be initialized as empty, but if there is input it can be overridden?
[python]
class ListNode..... More

Print this item

  Need help with "unexpected expression syntax error"
Posted by: PyCoder - Sep-29-2019, 05:24 AM - Forum: General Coding Help - Replies (2)

Hi everyone!
I'm new to python and was hoping to get some help with the code below.
I've worked out that the error pops up whenever I try to finish ..... More

Print this item

  Developing Python with OpenCV into an Android App
Posted by: AviationFreak - Sep-29-2019, 04:44 AM - Forum: General Coding Help - Replies (1)

I've recently created a pretty basic python script that heavily uses and requires OpenCV. I would like to develop it into an Android App (and ideally ..... More

Print this item

  Can't run pyautogui on Mohave
Posted by: veromi22 - Sep-29-2019, 03:32 AM - Forum: General Coding Help - Replies (4)

Tried to search in Google, didn't find the solution

I have mac Mohave 10.14.6

Just installed Python 3.7.4 from Python org

Then installed pyau..... More

Print this item

  Can Cmder be used to write Python programs?
Posted by: newbieAuggie2019 - Sep-29-2019, 02:34 AM - Forum: General Coding Help - Replies (5)

Hi!

Can Cmder be used to write Python programs?

Because at the moment, I'm using the Python 3.7.4 Shell, clicking on the '[..... More

Print this item

  can i merge stderr and stdout?
Posted by: Skaperen - Sep-29-2019, 01:57 AM - Forum: Web Scraping & Web Development - Replies (2)

can i merge stderr and stdout? is this a way to do it?

sys.stderr.flush()
sys.stdout.flush()
sys.stderr=sys.stdout
..... More

Print this item

  how to find 'cycle' for key-value pairs in a dictionary?
Posted by: junnyfromthehood - Sep-29-2019, 12:42 AM - Forum: Homework - Replies (1)

In my homework, a cycle is defined as a set of keys that jump from key -> value -> key that returns to its original starting value. For instance:
d1 =..... More

Print this item

  I need tutoring (basic) - 20$/hour
Posted by: pythonbeginner10 - Sep-28-2019, 10:24 PM - Forum: Jobs - Replies (2)

Hi!

I am a total beginner in python so I am looking for somebody to help me out.
You don't have to be an expert by any means, I am looking for hel..... More

Print this item

  Online Tuition
Posted by: Shafla - Sep-28-2019, 06:50 PM - Forum: News and Discussions - Replies (5)

Can anyone here advise where is the best place could find online 1 to 1 tuition? I have reviewed a few sites and they all seem to be a bit scamy.

Print this item

  the : syntax then indent
Posted by: Skaperen - Sep-28-2019, 06:49 PM - Forum: News and Discussions - Replies (7)

is there any case in python where a statement ends in : and the next line does not have to be indented or there is a valid indent where the previous l..... More

Print this item

  setting up the VS Code to work with Python - virtual environment-configuration
Posted by: apollo - Sep-28-2019, 03:51 PM - Forum: Bar - Replies (2)

good day dear community, 


in my VSCode-project-folder I created the venv-folder with the following command: 
[python]
python -m venv venv[/pyth..... More

Print this item

  I need help for a school project
Posted by: IndyNeerhoff - Sep-28-2019, 02:17 PM - Forum: Homework - Replies (1)

I am working on a model that predicts the patterns on a chladni plate for a high school project. I have the following equation: 0=asin(πnx)sin(πmy)+bs..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 2 hours ago Moltar1997 Pedroski55 General Codin...
  silent deployment Python ... Yesterday, 11:51 Bummibaer Larz60+ News and Disc...
  data fetching for indian ... Yesterday, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
Most views
  The best Prog... 579350
  Tutorial Requ... 512292
  Web Scraping ... 442236
  Newbie with P... 386326
  New Users Int... 380124
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
nicos18 Yesterday
Moltar1997 Yesterday
arthurlouiss Yesterday
LewisByday Yesterday
Bummibaer Yesterday

User Panel Messages

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