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,467
» Latest member: Shailesh
» Forum threads: 38,578
» Forum posts: 174,808

Full Statistics

Online Users
There are currently 752 online users.
» 0 Member(s) | 745 Guest(s)
Bing, Yandex, Google, Apple, Mojeek, Baidu

Latest Threads
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
6 hours ago
» Replies: 1
» Views: 124
Import vs from x import
Forum: General Coding Help
Last Post: snippsat
6 hours ago
» Replies: 1
» Views: 65
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Pate
Today, 07:38 AM
» Replies: 4
» Views: 1,284
tracking version during r...
Forum: News and Discussions
Last Post: Skaperen
Today, 12:25 AM
» Replies: 0
» Views: 60
Return a string or byte o...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 05:21 PM
» Replies: 5
» Views: 320
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
Yesterday, 04:02 PM
» Replies: 16
» Views: 1,111
Retired and Learning Pyth...
Forum: Code sharing
Last Post: BarbaraGonzalez
Yesterday, 09:04 AM
» Replies: 1
» Views: 347
Pip help
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 05:57 AM
» Replies: 4
» Views: 390
Paste text with caret alr...
Forum: General Coding Help
Last Post: armorerratic
Yesterday, 01:12 AM
» Replies: 2
» Views: 973
Library Management System
Forum: Homework
Last Post: deanhystad
May-13-2025, 01:56 AM
» Replies: 1
» Views: 208

 
  Problem with my code slowing down and crashing
Posted by: SuchUmami - Jul-21-2023, 09:53 AM - Forum: General Coding Help - Replies (1)

I've wrote some code that fetches market data from a crypto exchange and then processes it in house. When I first start running it, it's absolutely fi..... More

Print this item

  Help with pyFAST error
Posted by: LT72884 - Jul-21-2023, 12:15 AM - Forum: Data Science - Replies (1)

hey guys. im having some issues with a script. Now, before i begin, i have ZERO programming experience so i have no idea what im doing, BUT i have bee..... More

Print this item

  Jupyter Notebook TypeError Holidays entity loader class
Posted by: bmanning20 - Jul-20-2023, 06:52 PM - Forum: Data Science - No Replies

Hello. I getting an error when running cells in Jupyter Notebook file. Please show me how to fix this. I am interested in anyone with Jupyter and Pyth..... More

Print this item

  A small bug ? (Perhaps an ant?)
Posted by: rdmaia - Jul-20-2023, 04:53 PM - Forum: General Coding Help - Replies (1)

Hi all! Regards! Smile

I'm new at Python ecossystem and some days behind i got a problem.

I'm using Python 3.12 at W10

'My' bug is s..... More

Print this item

  Analyzing a code base
Posted by: pitosalas - Jul-20-2023, 03:59 PM - Forum: News and Discussions - No Replies

i have a python code base. I want to learn about it. What are some tools that do some automated analysis of a code base for style, architecture, docu..... More

Print this item

  pandas : problem with conditional filling of a column
Posted by: Xigris - Jul-20-2023, 01:33 PM - Forum: General Coding Help - Replies (2)

Hi !

I'd like to ask for some help. I am a newbie in python so please forgive me if my problem is obvious.
I have this DataFrame :
[python]impor..... More


Attached Files

Thumbnail(s)
   
Print this item

  elif not responding on print
Posted by: EddieG - Jul-20-2023, 09:18 AM - Forum: General Coding Help - Replies (3)

On the use of elif, the code is not responding to print
here is the code from Spyder (Python 3.11) IDE:

[python]# -*- coding: utf-8 -*-
"""
Cre..... More

Print this item

  Any help is appreciated!
Posted by: Butch12 - Jul-20-2023, 09:11 AM - Forum: General Coding Help - Replies (3)

Hello, I am trying to make a captcha solver for a game I play. It has image of text. I have got all the possible captchas the game has and it pops up ..... More


Attached Files

Thumbnail(s)
   
Print this item

  I found a problem with Python
Posted by: Lahearle - Jul-19-2023, 09:16 PM - Forum: General Coding Help - Replies (12)

So I read that Python no longer uses long conversions and all are longs with an "int" format

I found an odd problem reading these forums, it's as g..... More

Print this item

  Webscrape using RPi and SQlite database, always write the last value in database
Posted by: Armond - Jul-19-2023, 09:11 PM - Forum: Web Scraping & Web Development - No Replies

Hi!
I have some code that will webscrape a value and store it in a SQlite database.
My problem is that only the last value is stored in the database..... More

Print this item

  Demand Forecasting using Arima
Posted by: LukasBen123 - Jul-19-2023, 07:55 PM - Forum: Data Science - Replies (6)

I am trying to build a python tool that can forecast for over 100,000 PART/Locations at one time. Everything I have tried has failed.

I've attached a..... More

Print this item

  Integrating Google Drive in App
Posted by: Lahearle - Jul-19-2023, 05:51 PM - Forum: General Coding Help - No Replies

Best way to do? I was gonna use Pyppateer and an intricate way of opening pages but I found google has an actual API for this.


Anyone with experi..... More

Print this item

  problem in using int() with a list of strings
Posted by: akbarza - Jul-19-2023, 01:17 PM - Forum: General Coding Help - Replies (4)

hi
i am a beginner in python, so this problem that i encountered, maybe is silly.
i wrote in idle:

y=['l', '2', '3', '5', '8', '6', '9']
when i..... More

Print this item

  Color a table cell based on specific text
Posted by: Creepy - Jul-19-2023, 11:51 AM - Forum: General Coding Help - Replies (11)

Hi Team,

Am trying to find syntax for html.replace to replace color of the td with specific text, for eg: If text A, color Green, if text B, color ..... More

Print this item

Information Best distribution method
Posted by: inovermyhead100 - Jul-19-2023, 07:31 AM - Forum: General Coding Help - No Replies

Hi all,
I have a general question about what the best way to distribute my projects. Essentially, I have a core application that runs in pretty much ..... More

Print this item

  Small python development shop
Posted by: pitosalas - Jul-19-2023, 12:20 AM - Forum: News and Discussions - Replies (2)

I'm looking for a small "boutique" Python development shop for a project at Brandeis University. This is a small-medium size project, funded by grants..... More

Print this item

  Lost Control over VLC
Posted by: jrockow - Jul-18-2023, 02:22 PM - Forum: General Coding Help - Replies (8)

First post; not sure if this is the proper forum?
I'm working on a Python Windows VLC media player script, and ran into a problem I can't figure out..... More

Print this item

  mpl_toolkits.basemap
Posted by: rf_kartal - Jul-18-2023, 08:26 AM - Forum: General Coding Help - No Replies

Hello everyone,
I hope everything is very good.
I am reading the shapefile and creating a map with the help of mpl_toolkits.basemap library. In this..... More

Print this item

  How to do "fixed size" (wrapping) math in Python?
Posted by: AlexanderWulf - Jul-18-2023, 08:20 AM - Forum: General Coding Help - Replies (13)

Hello.

I want to port an existing algorithm to Python. Original code is written in C and uses fixed-size integer types, such as [b]uint64_t[/b..... More

Print this item

  python cant recognize PIP
Posted by: siubikYT - Jul-17-2023, 10:18 PM - Forum: General Coding Help - Replies (2)

So i wanted to turn on a .py app and every app that is made by python and uses PIP which i have because i checked using pip in windows cmd says that i..... More

Print this item

  Python loop for posting data to web
Posted by: marciokoko - Jul-17-2023, 07:32 PM - Forum: General Coding Help - Replies (10)

I got this code for posting data to thingspeak from a raspberry pi (zero):

[python]#!/usr/local/bin/python3
from envirophat import light, motion, we..... More

Print this item

  [deleted]
Posted by: gridsleep - Jul-17-2023, 05:29 PM - Forum: News and Discussions - No Replies

[deleted]

Print this item

  How to include a picture
Posted by: RcCharles - Jul-17-2023, 05:21 PM - Forum: Board - No Replies

How to make an inline photo. Well you can get a mini photo.
1) add an attachment. The button is somewhere after your post.
2) upload your photo
3) ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Syntax error while executing the Python code in Linux
Posted by: DivAsh - Jul-17-2023, 01:19 PM - Forum: General Coding Help - Replies (8)

I have an input text file from which i am selecting certain lines which contains the specified strings. And then i remove replace and delete certain l..... More

Print this item

  How can I change the uuid name of a file to his original file?
Posted by: MaddoxMB - Jul-17-2023, 11:42 AM - Forum: General Coding Help - Replies (2)

[python]@login_required(login_url='signin')
def upload_file(request):

if request.method == 'POST':
form = UploadForm(request.POST, re..... More

Print this item

  I want to scrape latitude and longitude of cell towers from the FCC web site.
Posted by: RcCharles - Jul-17-2023, 01:20 AM - Forum: Networking - Replies (1)

I want to scrape latitude and longitude of cell towers from the FCC web site. I am writing in Python by using requests package.

The problem is that..... More

Print this item

  too many files open
Posted by: DPaul - Jul-16-2023, 12:45 PM - Forum: Bar - Replies (5)

Hi,
I was given a large number of prayer cards, already scanned, ready for OCR, as usual.
Only this time the formats are different, imagine single c..... More

Print this item

  Place QT Window in the middle
Posted by: AlphaInc - Jul-16-2023, 11:29 AM - Forum: GUI - Replies (10)

Hello,

I'm working on a Python Tool with Qt6 (I have created the UI with QT Designer) but I'm running into a few problems...
This is my code so fa..... More

Print this item

  Likert survey data plot error
Posted by: Andrzej_Andrzej - Jul-15-2023, 08:45 PM - Forum: General Coding Help - Replies (6)

Hi,
I just have read and checked that idea here:
..... More

Print this item

  scrapli
Posted by: albazi - Jul-15-2023, 07:20 PM - Forum: General Coding Help - Replies (1)

Greetings all,
I am new to python and trying to implement the following scenario

[python]from scrapli import Scrapli

my_device = {
"host..... More

Print this item

  How do I properly implement restarting a multithreaded python application?
Posted by: MrFentazis - Jul-15-2023, 07:15 PM - Forum: General Coding Help - Replies (1)

I have a fairly large application consisting of Flask and special software for a fairly complex system managed by a hand written task scheduler. I wan..... More

Print this item

  Duplicating values
Posted by: 007sonic - Jul-15-2023, 06:21 PM - Forum: General Coding Help - Replies (2)

I've somehow managed to duplicate my results for a short line of code used to extract the emails from a text document. I'm trying to figure out why th..... More

Print this item

  Recommendations for IMAP Push/IDLE library
Posted by: MikeFlorida - Jul-15-2023, 05:19 PM - Forum: General Coding Help - No Replies

Hello, I am to code a basic IMAP client to receive emails and then parse them out. I would like to take advantage of IMAP's IDLE extension to receiv..... More

Print this item

  doubling a number
Posted by: Skaperen - Jul-15-2023, 04:55 PM - Forum: General Coding Help - Replies (8)

i have a giant number in a str. i want to double it and get a str result, keeping all of the precision. int(number)*2..... More

Print this item

  Trouble with variable.
Posted by: angus1964 - Jul-15-2023, 02:17 PM - Forum: Web Scraping & Web Development - Replies (2)

In a django project, i have the function below. I am trying to increment the toGoFor variable each time the button is pressed.

I have the following..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  class Blockage not projec... 6 hours ago Azdaghost deanhystad General Codin...
  Import vs from x import 6 hours ago Calab snippsat General Codin...
  Trouble with Average Calc... Today, 07:38 autodecay Pate General Codin...
  tracking version during r... Today, 00:25 Skaperen Skaperen News and Disc...
  Return a string or byte o... Yesterday, 17:21 Calab snippsat General Codin...
  problems with netcdf if I... Yesterday, 16:02 Blaubart Blaubart General Codin...
  Retired and Learning Pyth... Yesterday, 09:04 breacsealgaire BarbaraGonzalez Code sharing
  Pip help Yesterday, 05:57 meditek Larz60+ General Codin...
  Paste text with caret alr... Yesterday, 01:12 Wehaveall armorerratic General Codin...
  Library Management System 05-13, 01:56 annajoy deanhystad Homework
  smbus.SMBus i2c code whic... 05-12, 15:51 NewbyTyro NewbyTyro General Codin...
Most views
  The best Prog... 563851
  Tutorial Requ... 450006
  Web Scraping ... 428847
  Newbie with P... 363364
  Thread remain... 335851
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12050
buran 8169
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Shailesh Today
jackdennis272 Today
JeanChristophe Yesterday
EZEKIELGRAPHICSMEDIA Yesterday
BarbaraGonzalez Yesterday

User Panel Messages

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