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,960
» Latest member: llarkin6
» Forum threads: 38,729
» Forum posts: 175,537

Full Statistics

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

Latest Threads
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: deanhystad
2 hours ago
» Replies: 2
» Views: 66
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
3 hours ago
» Replies: 4
» Views: 525
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
7 hours ago
» Replies: 1
» Views: 639
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
7 hours ago
» Replies: 6
» Views: 4,861
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
10 hours ago
» Replies: 1
» Views: 1,532
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Today, 03:53 AM
» Replies: 1
» Views: 2,588
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:32 AM
» Replies: 0
» Views: 237
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 01:49 PM
» Replies: 2
» Views: 433
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 29,830
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,661

 
  struggling with != statements
Posted by: CallumRoberts2004 - Aug-18-2020, 12:16 PM - Forum: General Coding Help - Replies (2)

def main():
LPL = "LPL"
BOH = "BOH"
print("please enter the option you would like to select:")
print("1:Enter Airport details")
print("..... More

Print this item

  .loc[row_indexer,col_indexer]...Help!
Posted by: Kromm - Aug-18-2020, 11:33 AM - Forum: General Coding Help - Replies (1)

Hello, guys.

Really new in the forum, as well as in Python.

I' m trying to work on a project and fell on this Cry :

[error]
***[u]C:\Us..... More

Print this item

  How do I find the 64 bit download for Windows?
Posted by: Blackwood - Aug-18-2020, 11:09 AM - Forum: General Coding Help - Replies (1)

Hi, I am just starting out in Python and have purchased a book to learn from (Python in Easy Steps, 2nd Ed).

My system is 64 bit Windows and I can ..... More

Print this item

  for loop not plotting all element of 'i'
Posted by: amjass12 - Aug-18-2020, 09:52 AM - Forum: General Coding Help - No Replies

Hello all,

I am having a really frustrating problem I cannot figure out.

I have run a cross validation for a machine learning model I am working o..... More


Attached Files

Thumbnail(s)
   
Print this item

  Problem of recursivity
Posted by: Shawi - Aug-18-2020, 09:13 AM - Forum: Homework - Replies (2)

Hi! I'm faced with a complex exercise that I can't solve. Here's the statement:

[quote] We're trying to perform a function that runs through an arr..... More

Print this item

  decorator
Posted by: adamfairhall - Aug-18-2020, 08:38 AM - Forum: General Coding Help - No Replies

Hi

I've come up with a use of decorators which I haven't seen anyone else use as of yet, and I'm wondering if there is a reason not to do this. Ba..... More

Print this item

  Extracting text from PDFs
Posted by: pprod - Aug-18-2020, 08:34 AM - Forum: News and Discussions - Replies (2)

I'm a complete beginner who's trying to use Python to extract specific information from a multiple page PDF and organize that info into a table that c..... More

Print this item

  Infinite loop not working
Posted by: pmp2 - Aug-18-2020, 08:19 AM - Forum: General Coding Help - Replies (2)

Hello, I am trying to get this loop to work in which a user inputs several numbers and you get the total and the mean of these numbers.

The program..... More

Print this item

  how to loop this
Posted by: dirtdude - Aug-18-2020, 03:24 AM - Forum: General Coding Help - Replies (4)

guess = input("guess a number between 1 and 50 ")
guess = int(guess)
if guess == 31:
print("yes!The correct answer is " + str(guess) )
else:
pr..... More

Print this item

  Refactoring code for a domain name list
Posted by: BidBird - Aug-18-2020, 12:42 AM - Forum: Code Review - Replies (2)

Hello,

I've been working today on this code. Basically, I have a list of spam domains I'd like to clean up and format so I may enter them in a list..... More

Print this item

  Deploying to ML Model to web application
Posted by: Scoder - Aug-18-2020, 12:26 AM - Forum: Data Science - Replies (2)

Hello am working on a personal project to practice what I ahve learnt. The title of the project is 'Fake news detection using machine learning'. I'm h..... More

Print this item

  Back from a break
Posted by: micseydel - Aug-17-2020, 11:22 PM - Forum: Bar - No Replies

I just started looking at the forum again, and realized I hadn't posted for nearly two months. I marked everything as read because it seemed like too ..... More

Print this item

  Selenium Page Object Model with Python
Posted by: Cryptus - Aug-17-2020, 09:54 PM - Forum: Web Scraping & Web Development - Replies (5)

I am currently working with selenium and some boilerplatte code from github: https://github.com/gunesmes/page-object-python-selenium
After changing t..... More

Print this item

  Cmparing columns in dataframe
Posted by: Rejoice - Aug-17-2020, 08:48 PM - Forum: General Coding Help - No Replies

hi,
I have two dataframes df1 & df2. Both df1 & df2 have same index. I want to compare 2nd column of df1 with 3rd column of df2 and if it is equal or..... More

Print this item

  MP3 Player Images Not Showing
Posted by: Harshil - Aug-17-2020, 07:18 PM - Forum: General Coding Help - Replies (2)

Hey! Friends I Am Working On A MP3 Player But Problem IS Image Is Not Showing!!
[python]from tkinter import *
import pygame
window = Tk()
window.i..... More

Print this item

  How to load log.txt directly into python codes?
Posted by: sparkt - Aug-17-2020, 07:03 PM - Forum: General Coding Help - Replies (6)

I wrote a very simple program which can retrieve some data I need. It's then written to a txt file. It looks like the following.

[python]
Tencent..... More

Print this item

  OOP behaviour problem
Posted by: JohnB - Aug-17-2020, 06:33 PM - Forum: General Coding Help - Replies (3)

With the help of the many tutorials available I am teaching myself OOP. Or at least in the offset, discovering what OOP is all about and how it can st..... More

Print this item

  A program to define sine function
Posted by: mohanp06 - Aug-17-2020, 06:17 PM - Forum: Code Review - Replies (4)

I am a technical person but new to python. I like math, science and coding. So here I wrote a small python code to define sine function as a series. (..... More

Print this item

  str.find() not returning correct index.
Posted by: DreamingInsanity - Aug-17-2020, 05:45 PM - Forum: General Coding Help - Replies (10)

Hopefully I'm not being stupid here.
I am searching through a MacOS executable for a certain string (base64 encoded) like so:
[python]
with open(se..... More

Print this item

  PGP Encryption/Decryption -Excel File
Posted by: sparvathaneni - Aug-17-2020, 04:03 PM - Forum: News and Discussions - Replies (1)

Hi Folks,

I am looking to encrypt/decrypt excel file using PGP.Appreciate if any one can help me or sharing git-hub reference.

Thank you!
Regar..... More

Print this item

  Formatting Data/Time with Pyodbc and openpyxl
Posted by: bearcats6001 - Aug-17-2020, 03:44 PM - Forum: General Coding Help - No Replies

I have a python script that takes records from an .MDB using a sql query and prints them to a excel document. Two of the fields that are printed are d..... More

Print this item

  User functions don't work:
Posted by: Baldev10 - Aug-17-2020, 03:35 PM - Forum: General Coding Help - Replies (7)

I've created a small program which runs like it should but I can't seperate the functions out and get them to work properly. Can the functions getpin(..... More

Print this item

  New to Python & Matplotlib - can I change the plot grid origin to lower left corner?
Posted by: FortyTwo - Aug-17-2020, 03:27 PM - Forum: Data Science - Replies (1)

I'm completely new to Python and can't figure out what search terms to use to find the answer. I'm plotting very small images from a CCD and would li..... More

Print this item

  Web scrapping login facebook credentials
Posted by: kosmas9 - Aug-17-2020, 01:33 PM - Forum: Web Scraping & Web Development - No Replies

I want to log in to my library in Shazam using python. Although I have seen more or less how to access a website using log in credentials, I don't kno..... More

Print this item

  Adding Language metadata to a PDF programmatically
Posted by: bhargavi22 - Aug-17-2020, 12:53 PM - Forum: General Coding Help - No Replies

How can we add ‘English’ as Advanced->Reading Options->Language property to a PDF programmatically?

When I use pyPDF2.pdfWriter() class as below:
..... More

Print this item

  converting user input to float troubles
Posted by: RecklessTechGuy - Aug-17-2020, 10:40 AM - Forum: General Coding Help - Replies (3)

The comments in my script says it all, but to summarize, sometimes when this code adds say "5.24 or 3.46" or any other non integer number to the cal..... More

Print this item

  Game Logic - Pokemon like type advantages in python
Posted by: JellyCreeper6 - Aug-17-2020, 03:55 AM - Forum: Game Development - Replies (3)

I can't really wrap my head around this. I'm making this Text-based Adventure game and I want to implement these type differences (Water > Fire, Fire ..... More

Print this item

  Python3 itertools.groupby printing the key
Posted by: august - Aug-17-2020, 02:35 AM - Forum: General Coding Help - Replies (1)

I'm working with a large text file with the following delimited block of text:
[font=Courier New, Courier, monospace]Name: HAGNNESHSSR/3
.......
....... More

Print this item

  error in code web scraping
Posted by: alexisbrunaux - Aug-17-2020, 02:28 AM - Forum: Web Scraping & Web Development - Replies (5)

Hi all,
I tried to do web scraping with webdriver from selenium (chromedriver) and BeautifulSoup.
Here I show you my code:
[python]
from selenium ..... More

Print this item

  how to draw vertical line on screen
Posted by: kalihotname - Aug-17-2020, 02:24 AM - Forum: General Coding Help - Replies (3)

I try to draw the vertical line on the screen here is my code [python]import time
import random
import os.path
import socket
import sys
from demo..... More

Print this item

  Ignoring a list item
Posted by: hank4eva - Aug-17-2020, 12:27 AM - Forum: General Coding Help - Replies (2)

Hi all!
I need a bit of help ignoring a list item, I have a list of names with a "Y" at then end of each name and I want to ignore names without a "Y..... More

Print this item

  Games Jobs Live this Weds; livestream with recruiting Brighton(UK) games studios
Posted by: scottishcolin - Aug-16-2020, 09:42 PM - Forum: Jobs - No Replies

This Wednesday (19th August), Games Jobs Live is in Brighton, with a livestream featuring presentations from The Chinese Room (Dear Esther, Eve..... More

Print this item

  Web Scraping Inquiry (Extracting content from a table in asubdomain)
Posted by: DustinKlent - Aug-16-2020, 08:55 PM - Forum: Web Scraping & Web Development - Replies (3)

Good Day,

I am very new to Python and am just now learning Beautiful Soup and web scraping methods. I wanted to try to practice one method by autom..... More

Print this item

  randomchar v0.1.5
Posted by: Fr4nkl1n_1k3h - Aug-16-2020, 08:36 PM - Forum: Code Review - No Replies

Hey all!
I'm almost done with my module for generating random strings randomchar
# What is randomchar?
randomchar is a new module designed..... More

Print this item

  function fails to exit
Posted by: harig3 - Aug-16-2020, 07:39 PM - Forum: General Coding Help - Replies (4)

very basic recursion function expected to print the value of sum upto the entered number from 1, but prints the out put several times, instead of only..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Unable to resolve FileNot... 2 hours ago llarkin6 deanhystad General Codin...
  [Tkinter] how to export a... 3 hours ago RonR noisefloor GUI
  Is the interpreter that c... 7 hours ago helendamdam noisefloor General Codin...
  pdf file processing: how ... 7 hours ago Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 10 hours ago P212 Biks News and Disc...
  Using Python to SSH and R... Today, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Today, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... Yesterday, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
Most views
  The best Prog... 577002
  Tutorial Requ... 499740
  Web Scraping ... 440754
  Newbie with P... 384741
  New Users Int... 368822
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+ 12088
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
llarkin6 Today
Xuitar Today
SprunkiRetake Today
GnomeSweetGnome Yesterday
alxpetrovo2272 Yesterday

User Panel Messages

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