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,238
» Latest member: Reema
» Forum threads: 38,776
» Forum posts: 175,793

Full Statistics

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

Latest Threads
print two different seque...
Forum: General Coding Help
Last Post: Reema
9 minutes ago
» Replies: 3
» Views: 2,873
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
6 hours ago
» Replies: 1
» Views: 92
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 143
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 124
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 124
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,254
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,377
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,577
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 201
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,208

 
  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

  Installation of packages to newest Python version from previous one
Posted by: Andrzej_Andrzej - Jul-15-2023, 07:21 AM - Forum: General Coding Help - Replies (3)

Hi,
Is it possible to check what python packages are installed let's say into my present 3.10.3 version
and get that list and somehow install it to..... More

Print this item

  The term 'pip' is not recognized as the name of a cmdlet, function
Posted by: michaelnicol - Jul-14-2023, 07:50 PM - Forum: General Coding Help - Replies (1)

I downloaded Python 3.11.4 via the launcher, and PIP does not work. Windows 64 bit

[quote]
Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45..... More

Print this item

  Difficulty in adapting duplicates-filter in script
Posted by: ledgreve - Jul-14-2023, 03:49 PM - Forum: General Coding Help - Replies (5)

Hello everyone,

I have a script to parse and extract annotated data from xmi-files. I did not write this script myself (person who did is not reach..... More


Attached Files

.py   Documentobject.py (Size: 182 bytes / Downloads: 209)
.py   parsexml_may2021_cvh3.py (Size: 33.68 KB / Downloads: 287)
.py   AnnotationsObject.py (Size: 974 bytes / Downloads: 242)
.py   Casobject.py (Size: 95 bytes / Downloads: 216)
.txt   lore.txt (Size: 19.74 KB / Downloads: 298)
Print this item

  Backconnect proxy, response timeout
Posted by: 3frenky3 - Jul-14-2023, 03:10 PM - Forum: Networking - Replies (1)

Good afternoon. The problem is not very complicated, but I can not find a solution.

[CODE]
def main_request(data, proxy='', type_of_proxy='socks5'..... More

Print this item

  1D plot frome 3D data
Posted by: layla - Jul-14-2023, 03:09 PM - Forum: Data Science - Replies (7)

Hi all, I use python and I want to draw a 1D curve from 3D data i.e. I have data in the form of x, y, z and in the fourth column a variable D Also, I ..... More

Print this item

  DataFRame.concat()
Posted by: nafshar - Jul-14-2023, 01:24 PM - Forum: General Coding Help - Replies (3)

I am trying to convert from DataFrame.append() which has been deprecated to DataFrame.concat() and having some issues with an otherwise working code a..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  print two different seque... 9 minutes ago mantonegro Reema General Codin...
  [Tkinter] I’m building a ... 6 hours ago tsgiannis woooee GUI
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
Most views
  The best Prog... 578718
  Tutorial Requ... 509370
  Web Scraping ... 441863
  Newbie with P... 385820
  New Users Int... 375254
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Reema Today
lary_p Yesterday
Cristiano 11-08
Alfredd 11-08
clayote 11-08

User Panel Messages

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