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,937
» Latest member: AdrianCocian
» Forum threads: 38,722
» Forum posts: 175,510

Full Statistics

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

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Yesterday, 07:55 PM
» Replies: 2
» Views: 416
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 06:57 PM
» Replies: 10
» Views: 3,882
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Yesterday, 12:30 PM
» Replies: 1
» Views: 3,422
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 777
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,246
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,120
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,344
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,331
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,454
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,014

 
  Python and Godaddy
Posted by: jamesaarr - Aug-25-2021, 08:01 AM - Forum: Web Scraping & Web Development - Replies (8)

Hello guys,

Basically I've made a program that generates an HTML file based on information in a CSV. This works locally and I'm looking to apply it..... More

Print this item

  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: 327)
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: 387)
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: 394)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... Yesterday, 19:55 arbiel arbiel General Codin...
  403 Error Yesterday, 18:57 CaptainNewb CaptainNewb Web Scraping ...
  Scraping a page with log ... Yesterday, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576324
  Tutorial Requ... 498043
  Web Scraping ... 440239
  Newbie with P... 384089
  New Users Int... 366931
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+ 12089
buran 8175
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
AdrianCocian Today
humanoidAI Today
Baran12332 Yesterday
Hershien Yesterday
Diyaseating Yesterday

User Panel Messages

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