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,279
» Latest member: ndx101
» Forum threads: 38,790
» Forum posts: 175,868

Full Statistics

Online Users
There are currently 40 online users.
» 0 Member(s) | 35 Guest(s)
Bing, Apple, Google, AOL

Latest Threads
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
6 hours ago
» Replies: 4
» Views: 1,450
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Yesterday, 02:10 PM
» Replies: 2
» Views: 97
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Yesterday, 06:48 AM
» Replies: 0
» Views: 34
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:59 AM
» Replies: 11
» Views: 6,007
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:46 AM
» Replies: 2
» Views: 4,284
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 303
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 151
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 211
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,116
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 258

 
  flask How to output stderr and exceptions to log file
Posted by: umen - Jun-18-2020, 07:04 AM - Forum: Web Scraping & Web Development - Replies (4)

i have flask application which simple logger setup

[python] logger = logging.getLogger('werkzeug')
logger.setLevel(logging.INFO)
hand..... More

Print this item

  A beginner code...
Posted by: TheDude - Jun-18-2020, 04:56 AM - Forum: General Coding Help - Replies (7)

Hi everyone, first and foremost I am a completely beginner in coding, I am starting from scratch on my own. Is hard but I know that I can learn this b..... More

Print this item

  modifying path in build files
Posted by: sudhirpaniyur - Jun-18-2020, 03:55 AM - Forum: Homework - Replies (1)

Hi Friends,

I ma having build files its having below paths
d:\foo\project\build\out
d:\foo\project\build\tools\py_automation_dev

my python scr..... More

Print this item

  Help creating a variable as a result
Posted by: Realen - Jun-18-2020, 03:39 AM - Forum: General Coding Help - Replies (2)

Hello ~
I am new to programming I started 2 weeks ago, I was so curious and passionate about this, well, I am trying to code a program that can give m..... More

Print this item

  Matching between two files + using next()
Posted by: gwilliamson11 - Jun-18-2020, 03:31 AM - Forum: General Coding Help - Replies (3)

Hey all,

Hoping one of you folks might steer me in the right direction. I have a pretty big log file, and another file with a list of unique eve..... More

Print this item

  re.findall HELP!!! only returns None
Posted by: Rusty - Jun-18-2020, 02:22 AM - Forum: General Coding Help - Replies (10)

OK, I'm really new to python. I've only been learning for about two weeks now. I'm taking an online class to learn but I'm having a lot of trouble wit..... More

Print this item

  TypeError
Posted by: omega_elite - Jun-17-2020, 11:05 PM - Forum: General Coding Help - Replies (6)

Hi

Please could someone help with the error I am getting with my code

[error]Connected by ('127.0.0.1', 51995)
b'PON'
Command Screen On Receiv..... More

Print this item

  Missing 1 required position argument: 'failure' while starting thread.
Posted by: BradLivingstone - Jun-17-2020, 10:04 PM - Forum: General Coding Help - Replies (3)

Error:
TypeError: scrape_child_link() missing 1 required positional argument: 'failure'
When I get to the following part in my code the above ..... More

Print this item

  Using face dataset to group similar facial features based on 3 features into folders
Posted by: Jaydenstrategies - Jun-17-2020, 07:07 PM - Forum: Homework - Replies (1)

I can't seem to think of a way to use my face data set to group facial images based on 3 characteristics: Male/female. Short hair/ longhair. With glas..... More

Print this item

  NameError: name 'rand' is not defined
Posted by: Truman - Jun-17-2020, 06:53 PM - Forum: Data Science - Replies (7)

From the book...
[i]We'll start by cre..... More

Print this item

  Process Data from one csv file and write to another CSV file specific column
Posted by: ajin9581 - Jun-17-2020, 05:44 PM - Forum: General Coding Help - Replies (1)

Need Help on Process data in CSV file

We are automating the Backup report and the raw data contains 5 Master Servers Data Like below in one CSV fil..... More

Print this item

  how to add a login to a bs4 parser-script
Posted by: apollo - Jun-17-2020, 04:37 PM - Forum: Web Scraping & Web Development - Replies (10)

dear python-experts,

first of all - i hope you are all right and all goes well.


I want to scrape a website that requires login with password firs..... More

Print this item

  Save as problem
Posted by: Kristenl2784 - Jun-17-2020, 03:17 PM - Forum: General Coding Help - Replies (2)

Hello,

I'm trying to use an excel file that has a list of names in it, that I want the script to use when doing a save as at the end. The list is ..... More

Print this item

  TypeError: forward() missing 1 required positional argument: 'x'
Posted by: sveto4ka - Jun-17-2020, 02:21 PM - Forum: General Coding Help - Replies (4)

Can you please tell me how to solve the error:

[error]TypeError Traceback (most recent call last)
<ipython-input-14-e..... More

Print this item

  Performance degradation with IO class inheritance
Posted by: wsygzyx - Jun-17-2020, 12:26 PM - Forum: General Coding Help - Replies (2)

Hi all!

I recently tried to build a new IO class from python built-in IO classes. I noticed some performance degradation for these new classes. I w..... More

Print this item

  Repeat question (for loop)
Posted by: rs74 - Jun-17-2020, 12:16 PM - Forum: Homework - Replies (7)

Trying to make a small program where a user can answer basic questions (1+1 etc). But the questions should be random, in my code, no random numbers ar..... More

Print this item

  SQLAlchemy with type hints
Posted by: gontajones - Jun-17-2020, 11:39 AM - Forum: General Coding Help - Replies (1)

Hey guys, I'm having hard time to make a clean type hint of an SQLAlchemy project that I'm working on.

The issue is that I need type hint for some ..... More

Print this item

  Error (Please help!!!!!)
Posted by: foksikrasa - Jun-17-2020, 10:07 AM - Forum: Homework - Replies (5)

I and my tutor have been working on this project but it doesn't work. Even he can't find the error please help Wall.
(It is supposed to let you dr..... More

Print this item

  Python performance
Posted by: Jacques - Jun-17-2020, 09:59 AM - Forum: News and Discussions - Replies (4)

Hello,
I wrote a short python program with a few calls to OpenCV and Numpy functions. If I rewrite it into a C++ program, would that give a substanti..... More

Print this item

  empty json file error
Posted by: mcmxl22 - Jun-17-2020, 09:50 AM - Forum: General Coding Help - Replies (1)

I wrote this and since it creates an empty file it give me an error.
[python]with open("food.json", "r+") as file:
food = json.load(file)[/pytho..... More

Print this item

  list sorting question
Posted by: DPaul - Jun-17-2020, 09:22 AM - Forum: General Coding Help - Replies (5)

I was checking up on sorting 2D lists, and found this (works fine):
[python]#sort on first element
def takeFirst(elem):
return elem[0]
# list..... More

Print this item

  python-cron-migration | cronjobs managing
Posted by: itaybardugo - Jun-17-2020, 09:13 AM - Forum: Code sharing - Replies (2)

hey guys.

just published my new package:
https://github.com/itay-bardugo/python-cron-migration

the package helps developers to add/remove cronjobs w..... More

Print this item

  What's the logic of this question?
Posted by: extricate - Jun-17-2020, 08:41 AM - Forum: Homework - Replies (6)

Hi there,

I have a question on this question:

Cash Register Input
create a empty list purchase_amounts
populate the list with user input for t..... More

Print this item

  Create a program
Posted by: aien33 - Jun-17-2020, 04:39 AM - Forum: General Coding Help - Replies (1)

hello, im new to this. im wondering if i am possible to create a program which can prompt user some information bfore they can use an application.

..... More

Print this item

  Loading Images to Tkinter with Pillow
Posted by: Tomli - Jun-17-2020, 04:02 AM - Forum: GUI - Replies (2)

Hi everyone!

I'm trying as an experiment to build a very basic image viewer program with tkinter:

[python]from tkinter import *
from PIL import..... More

Print this item

  Automated Change
Posted by: Nox - Jun-17-2020, 03:20 AM - Forum: News and Discussions - No Replies

I work with a MODBUS that has parameters that we must change by accessing the IP and then navigating to the parameter, and then hitting submit. I am g..... More

Print this item

  Append only adding the same list again and again
Posted by: viraj1123 - Jun-17-2020, 02:57 AM - Forum: General Coding Help - Replies (4)

Hi, I'm facing this really weird issue.I've been appending different lists to my list but while i print the result it shows that the last value append..... More

Print this item

  short code to list AWS regions
Posted by: Skaperen - Jun-16-2020, 11:38 PM - Forum: Code sharing - No Replies

this is some short code (148 bytes on a NL text system, 150 bytes on a CRLF system) to list the names of AWS regions. to use this you need:
* an AWS ..... More

Print this item

  socket without blocking loop and automatically retrieve data from the port
Posted by: RubenP - Jun-16-2020, 11:17 PM - Forum: Networking - Replies (3)

I have a program in a loop.
how to add data transmission via socket in a loop without blocking the loop itself.
and automatically retrieve data from..... More

Print this item

  Nested for loop not looping
Posted by: puttingwordstogether - Jun-16-2020, 11:15 PM - Forum: General Coding Help - No Replies

I'm trying to get this code to open a page, pull item and info data, add it to a dictionary then repeat on the next page. It works fine on the first p..... More

Print this item

  Downgrade from Python 64-bit to 32-bit?
Posted by: bmccollum - Jun-16-2020, 09:21 PM - Forum: General Coding Help - No Replies

I've been running the 64-bit version of Anaconda/Python on my development machine. I have the 64-bit Oracle client installed on this development mach..... More

Print this item

  Python loop problem
Posted by: Kristenl2784 - Jun-16-2020, 09:03 PM - Forum: General Coding Help - Replies (11)

Hello,

I'm trying to get this script to loop through 27 excel files (source), and paste them one by one to my template file, and then save to an ou..... More

Print this item

  How to analyze a string, then write to SPSS
Posted by: Twanski94 - Jun-16-2020, 08:38 PM - Forum: Data Science - No Replies

Hi:

New to SPSS and python, but trying to make it work. I will give my initial thoughts on how to do this at the end. I have lists of various parti..... More

Print this item

  Updating a list with multiprocessing
Posted by: bRitch022 - Jun-16-2020, 08:09 PM - Forum: General Coding Help - Replies (1)

I am writing a program to control a machine, and this machine needs to have a central registry to keep track of all parameters about the machine (Inpu..... More

Print this item

  How to fix looking specific word in a webpage
Posted by: BSOD - Jun-16-2020, 08:01 PM - Forum: Web Scraping & Web Development - No Replies

I was using to scrape a website to look for wordpress on as "/wp-", and it partially works, but it also partially doesn't.

The problem is that when..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My goal to be hired worki... 6 hours ago GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... Yesterday, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... Yesterday, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... Yesterday, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... Yesterday, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 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
Most views
  The best Prog... 579192
  Tutorial Requ... 511929
  Web Scraping ... 442141
  Newbie with P... 386225
  New Users Int... 379153
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+ 12109
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
ndx101 Today
OtiliaBecker Today
NAGASOWMYAGUNDU Yesterday
shipa1autotransport Yesterday
eastnoob 11-19

User Panel Messages

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