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,397
» Latest member: WillieChier
» Forum threads: 38,824
» Forum posts: 176,028

Full Statistics

Online Users
There are currently 38 online users.
» 1 Member(s) | 31 Guest(s)
Bing, Google, AOL, Applebot, AOL, WillieChier

Latest Threads
federaxcvncv
Forum: General Coding Help
Last Post: WillieChier
Less than 1 minute ago
» Replies: 0
» Views: 1
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
9 hours ago
» Replies: 1
» Views: 67
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Yesterday, 09:12 AM
» Replies: 1
» Views: 4,593
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 08:37 AM
» Replies: 4
» Views: 185
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Yesterday, 07:27 AM
» Replies: 7
» Views: 3,602
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 156
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 299
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,113
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,965
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 181

 
  Upgrade from 3.7.9 to 3.7.11
Posted by: quazirfan - Aug-25-2021, 07:30 AM - Forum: General Coding Help - Replies (4)

I am looking for Python 3.7.11 windows installer here https://www.python.org/downloads/.

But 3.7.9 is the final 3.7.x relase that comes with Windo..... More

Print this item

  question for a tkinter dialog box
Posted by: RobertAlvarez424 - Aug-24-2021, 10:34 PM - Forum: GUI - Replies (2)

[python]import tkinter as tk

root = tk.Tk()
logo = tk.PhotoImage(file="python_logo_small.gif")

w1 = tk.Label(root, image=logo).pack(side="right")

e..... More

Print this item

  Python library for win32 console commands
Posted by: eldiener - Aug-24-2021, 07:40 PM - Forum: General Coding Help - Replies (3)

I am a knowledgeable Python programmer. I want to convert my Wiindows .bat files to Pythin scripts. Is there any Python library which implements the m..... More

Print this item

  Data Engineer In Issaquah, WA [USD 93K to 111K]
Posted by: patpat - Aug-24-2021, 07:10 PM - Forum: Jobs - No Replies

Nationally recognized for excellence, the King County Library System (KCLS) is seeking an experienced and knowledgeable Data Engineer to design and de..... More

Print this item

  Cython Numpy EWA
Posted by: Johanoosterwaal - Aug-24-2021, 06:23 PM - Forum: Code Review - No Replies

Hi Everyone,

I'm working on a back testing EWA script based on python and Cython(Still new to it) for speed.
almost all of my code in almost full..... More

Print this item

  Working with excel files
Posted by: arsouzaesilva - Aug-24-2021, 06:13 PM - Forum: General Coding Help - Replies (6)

Hi,

I have one excel file with 2 sheets. There are 6 columns, year, month, day, T2M_MAX, T2M_MIN e PRECTOT.

I need to select in year 2015 the hi..... More


Attached Files

.xlsx   sample.xlsx (Size: 11.79 KB / Downloads: 337)
Print this item

  Multiprocessing Can't pickle local object
Posted by: law - Aug-24-2021, 03:27 PM - Forum: General Coding Help - Replies (1)

I finally decided to experiment on the multiprocessing module, however I run straight into a ditch where am currently hitting my head against it's wal..... More

Print this item

  changing and getting value through button
Posted by: niski1996 - Aug-24-2021, 02:32 PM - Forum: GUI - Replies (2)

Hi
I have two moduls named First: [python]
import tkinter as tk

from Second import ManualNodes

class CC:
def __init__(self):
r..... More

Print this item

  Pop function for lists
Posted by: jamesaarr - Aug-24-2021, 11:57 AM - Forum: General Coding Help - Replies (8)

Hello,

I've got a two lists, one with integers and one with data and I need to remove items from the data, using the integers as index references...... More

Print this item

  cleaning HTML pages using lxml and XPath
Posted by: wenkos - Aug-24-2021, 11:04 AM - Forum: Web Scraping & Web Development - Replies (2)

I'm new to python and lxml. I have some basic task: I need cleanup html files in local directory (recursively).
I want to remove unnecessary divs inc..... More

Print this item

  Can Python be used to create scrolling credits (as follows)
Posted by: digger - Aug-24-2021, 09:18 AM - Forum: General Coding Help - Replies (3)

I'm trying to decide whether to learn Python, because I have a specific requirement. I need to write a program that will create a video that contains ..... More

Print this item

  i don't understand this exception
Posted by: Skaperen - Aug-24-2021, 01:09 AM - Forum: General Coding Help - Replies (9)

i am getting this:
[output]
Traceback (most recent call last):
File "amijsonxz_get.py", line 83, in <module>
all_regions = [x.strip()for x i..... More

Print this item

  Rotating a rectangle
Posted by: CompleteNewb - Aug-23-2021, 09:20 PM - Forum: Game Development - Replies (19)

Hello, i'm having trouble rotating a rectangle on screen. I'm not a computer science student and I need help because I have been at it for a couple of..... More

Print this item

  q re glob.iglob iterator and close
Posted by: jimr - Aug-23-2021, 07:39 PM - Forum: General Coding Help - Replies (2)

I'm struggling to find any documentation that tells me how I should properly "short circuit" a glob.iglob iterator.

I have some code that needs to ..... More

Print this item

  arraylist to json
Posted by: soonyu - Aug-23-2021, 05:15 PM - Forum: General Coding Help - Replies (1)

look for help for the below:
i have list of item in array;

for row  in rows:
        t=(row[0])
        rowarray_list.append(t)
..... More

Print this item

  getting the length of a file in a loop
Posted by: sgcgrif33 - Aug-23-2021, 04:33 PM - Forum: General Coding Help - Replies (1)

Ive got a code which processes a load of files and turns the output into a single matlab file.

In this code I now want it to record the length (how..... More

Print this item

  Get amount of bytes in a file
Posted by: chesschaser - Aug-23-2021, 03:07 PM - Forum: General Coding Help - Replies (1)

Hi guys!

I am writing a program and it has a variable in it of type bytes. i need to get the amount of bytes this variable contains.
Any help will..... More

Print this item

  Why am I getting list elements < 0 ?
Posted by: Mark17 - Aug-23-2021, 02:10 PM - Forum: General Coding Help - Replies (8)

Hi all!

Here's some code:

[Python]
price_chg = np.arange(-10,11,2)

stock_prices = [100]

for i in range(10001):
if (stock_prices[-1] ..... More

Print this item

  What if a column has about 90% of data as outliers?
Posted by: Asahavey17 - Aug-23-2021, 02:04 PM - Forum: Data Science - Replies (1)

I'm working on a prediction problem where one of the columns, when checked for outliers show that almost 90% of its data are outliers. What should be ..... More

Print this item

  the table is upside down
Posted by: phochka - Aug-23-2021, 01:56 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi,

I'm coming back because I can't scrape the table

the table is upside down

Help: how can I do it?


Attached Files

.py   main.py (Size: 437 bytes / Downloads: 397)
Print this item

  Using Excel Cell As A Variable In A Loop
Posted by: knight2000 - Aug-23-2021, 06:24 AM - Forum: General Coding Help - Replies (7)

Hi all,

As a relative newbie to Python and webscrapping, I've been trying to learn more about headers and proxies- in terms of rotating them from a..... More

Print this item

  Student project - alert action when X happens Y amt of times, how?
Posted by: unknown00 - Aug-22-2021, 04:16 PM - Forum: Homework - Replies (2)

Disclaimer - I am not a professional dev/engineer
Use case = check if X happens Y amt of times, do something/alert
For the sake of this post, let's ..... More

Print this item

  [SOLVED] Why does regex fail cleaning line?
Posted by: Winfried - Aug-22-2021, 02:26 PM - Forum: General Coding Help - Replies (7)

Hello,

I can't figure out why this regex fails editing an XML header:

[python]with open(INPUTFILE) as reader:
content = reader.read()
#I need..... More

Print this item

  Web Scraping in Python
Posted by: phochka - Aug-22-2021, 11:59 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi,

I am new user
Need some assistance on web scraping, the url is (https://www.geny.com/reunions-courses-pm...2021-08-20)
..... More


Attached Files

.py   main.py (Size: 553 bytes / Downloads: 405)
Print this item

  Memory Location, Object Attributes and how to use them
Posted by: Meld51 - Aug-22-2021, 11:39 AM - Forum: General Coding Help - Replies (1)

Here's something fundamental that I don't understand about the Object Oriented paradigm and I could do with some discussion on this. Obviously I am a ..... More

Print this item

  Converting an RGBA image to Grayscale and Binary
Posted by: Joni_Engr - Aug-22-2021, 10:42 AM - Forum: General Coding Help - Replies (3)

Hi, I have a RGBA image which I need to convert to Grayscale and then to binary with a threshold to get binary histogram but I have 2D Grayscale image..... More

Print this item

  How to replace column of a Matrix
Posted by: Joni_Engr - Aug-22-2021, 09:02 AM - Forum: General Coding Help - Replies (5)

Hi,

I am wondering how to replace column of one matrix with another matrix column. Here is my code.

[python]
import random
import numpy as n..... More

Print this item

  concurrent.futures help
Posted by: samuelbachorik - Aug-21-2021, 08:35 PM - Forum: General Coding Help - Replies (2)

Hi i want to ask you what is the difference betwen map() and submit()

Two codes examples

[python] with concurrent.futures.ProcessPoolExec..... More

Print this item

Exclamation MongoDB cannot connect - pymongo
Posted by: speedev - Aug-21-2021, 12:59 PM - Forum: General Coding Help - Replies (1)

When I try to connect to MongoDB, I can't connect. It says the machine on the other end refused the connection.

[python]import pymongo

baglanti ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Still do not get how Python iterates over a file
Posted by: tester_V - Aug-21-2021, 04:44 AM - Forum: General Coding Help - Replies (13)

Greetings!
I'm trying to code in python for about a year now, had some success but I still do not understand how it iterates over a file.
for exampl..... More

Print this item

  Importing Help
Posted by: mkgrtn - Aug-20-2021, 11:34 PM - Forum: General Coding Help - Replies (3)

Hello I am a newbie in python programming and I would appreciate any help. TYIA
I have a program called ptemp which is composed of the following
imp..... More

Print this item

  Subtracting datetimes [index]
Posted by: Mark17 - Aug-20-2021, 07:37 PM - Forum: General Coding Help - Replies (2)

Hi all,

When I download stock data from Yahoo! Finance, it comes in a dataframe with datetime index. What I'm ultimately trying to do here is add ..... More

Print this item

  Warning message not sure about
Posted by: mbrown009 - Aug-20-2021, 07:13 PM - Forum: General Coding Help - No Replies

[python]
import datetime

#!/usr/bin/env python
__author__ = "Michael Brown"
__license__ = "Based off of sript by Sreenivas Bhattiprolu of Python..... More

Print this item

  Which network architecture should be chosen to predict disease severity?
Posted by: AlekseyPython - Aug-20-2021, 07:09 PM - Forum: Data Science - Replies (2)

Python 3.9.6, Pytorch 1.9.0+cu111

I have several text fields describing various aspects of a patient's treatment (filled in by the doctors). The enti..... More

Print this item

  Searching for URLs and printing the corresponding row from an Excel spreadsheet
Posted by: johnbernard - Aug-20-2021, 06:43 PM - Forum: General Coding Help - No Replies

Hi,

So far I have created a script that identifies the last modified folder in a list, appends all the spreadsheets in it and then outputs a new ap..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  federaxcvncv Less than 1 minute ago WillieChier WillieChier General Codin...
  Opencv findContours Q 9 hours ago jogl Pedroski55 General Codin...
  Struggles I Faced While E... Yesterday, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... Yesterday, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Yesterday, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
Most views
  The best Prog... 580414
  Tutorial Requ... 519595
  Web Scraping ... 442785
  Newbie with P... 386985
  New Users Int... 386559
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
WillieChier Today
cruisesfares Today
azam Today
zcharlesoogleto9533 Today
MaxTranslate Yesterday

User Panel Messages

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