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,974
» Latest member: Williamcaurb
» Forum threads: 38,732
» Forum posts: 175,558

Full Statistics

Online Users
There are currently 45 online users.
» 1 Member(s) | 34 Guest(s)
Bing, Apple, Google, AOL, AOL, Facebook Dev, snippsat

Latest Threads
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
3 hours ago
» Replies: 2
» Views: 733
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
10 hours ago
» Replies: 6
» Views: 764
Integer Factorization Too...
Forum: Code sharing
Last Post: fosuwxb
11 hours ago
» Replies: 0
» Views: 85
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 482
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,857
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,260
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,826
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,243
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,186
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,493

 
  Any input passes and an "A"
Posted by: JTNA - Mar-08-2019, 03:35 PM - Forum: General Coding Help - Replies (3)

apparently any str passes as an "A" in my code. how do i fix this

[python]
gradeletter = str(input("Enter your Letter Grade: "))
def GPAcalc(grade):
..... More

Print this item

  Input as function parameter
Posted by: dan789 - Mar-08-2019, 03:07 PM - Forum: General Coding Help - Replies (1)

When we have a function like this:

def function(param1, input=""):
    ...
What´s the variable of that input? How can I use it..... More

Print this item

  how to take out duplicates from a list?
Posted by: helpme - Mar-08-2019, 01:55 PM - Forum: Homework - Replies (2)

Hello! So my teacher wants up to take out duplicates from a list that the user puts. This is my code:

[python]
num=int(input("First List- How man..... More

Print this item

  python can't showing version
Posted by: bajjol - Mar-08-2019, 01:19 PM - Forum: Web Scraping & Web Development - Replies (2)

i have a problem here

when i want to check my python version on cmd, it wasn't showing a version and opened to gpython.exe, i dont know what is goi..... More


Attached Files

Thumbnail(s)
   
Print this item

  Input as not default method parameter
Posted by: dan789 - Mar-08-2019, 12:26 PM - Forum: General Coding Help - Replies (4)

Hi all.

I have a project, containing class and this method:
[python]
...
def start(self, input="", number_occur, max_value):
self.m..... More

Print this item

  binary search string help
Posted by: kietrichards - Mar-08-2019, 12:20 PM - Forum: General Coding Help - Replies (1)

Hi! I'm trying to look for a word in my list by way of binary search. But sth doesn;t work. Can sb have a look at it? ;) Thanks!

[python]
infile =..... More

Print this item

  Linear search/searching for a word in a file/list
Posted by: kietrichards - Mar-08-2019, 11:22 AM - Forum: General Coding Help - Replies (3)

Guys, I have to make a program that and then asks user to input some word let's say (until user types STOP) and then checks if the word is in the list..... More

Print this item

  Update plot by <Return> bind with entry widget
Posted by: Zorro - Mar-08-2019, 10:41 AM - Forum: GUI - Replies (1)

Hey guys.. I need short hint:

I want to update my matplotlib plot after the user enters a number in Entry widget and [b]hint <Return>..... More

Print this item

  Getting the maximum point of the graph from the text file
Posted by: Erfans - Mar-08-2019, 09:14 AM - Forum: General Coding Help - Replies (2)

Hello
I have a text file written in the beginning of the file in several lines of English, and then there are two columns of numbers, the first colum..... More

Print this item

  Looking for simple help - text file stripping
Posted by: DerekK - Mar-08-2019, 08:13 AM - Forum: General Coding Help - Replies (1)

Hi - I'm looking for really simple Python code that will strip everything out of a text file and only leave the lines that have a (F)

I'm a complet..... More

Print this item

  IP Subnet is asked from user
Posted by: Mahmut - Mar-08-2019, 07:30 AM - Forum: General Coding Help - Replies (1)

Hi,

I am trying to force the user enter IP format with below code. However, it does not work. User should be enter x.x.x.x/y format for IP to conti..... More

Print this item

  How to show graph as a slideshow in PyQt5 using matplotlib
Posted by: binsha - Mar-08-2019, 03:58 AM - Forum: GUI - No Replies

I am trying to implement a GUI app for graph plotting which should show graph as slideshow so that data can be visualized clearly for the users. Curre..... More

Print this item

  Problem with bindnig for query
Posted by: DT2000 - Mar-08-2019, 03:21 AM - Forum: General Coding Help - Replies (16)

I had an issue with the results of my database query displaying curly brackets at the beginning and end of the results when it populated a tkinter wid..... More

Print this item

  How to stop a loop?
Posted by: beginner1996 - Mar-08-2019, 01:40 AM - Forum: Homework - Replies (2)

How can I add an exit option... I want to be able to select #5 and it exit loop and print me out a total of my selected donuts!

[python]
print("We..... More

Print this item

  testbirds
Posted by: Truman - Mar-08-2019, 01:09 AM - Forum: Bar - Replies (14)

testbirds.com

Does anyone have experience with them as a tester? I've just passed the entry test ( got 5 euros lol ). Can't wait to get their next ..... More

Print this item

  Merging pdfs with PyPDF2
Posted by: Pedroski55 - Mar-07-2019, 11:58 PM - Forum: General Coding Help - No Replies

I have a Human Resources document, a lot of pages, more than 100. I need them as a pdf.

I can batch scan to pdf with my little Epson DS-510, great ..... More

Print this item

  how can a sqlite command like import be executed using sqlite3 (python)
Posted by: Larz60+ - Mar-07-2019, 11:46 PM - Forum: General Coding Help - Replies (1)

I don't know how to do exactly the following using python sqlite3
[python]
SQLite version 3.11.0 2016-02-15 17:29:24
Enter ".help" for usage hints...... More

Print this item

  how to assign variables?
Posted by: RY8 - Mar-07-2019, 11:43 PM - Forum: Homework - Replies (2)

My code
[python]
num1=float(input("Please enter A number"))
num2=float(input("Please enter another number"))
num3=float(input("Please enter anothe..... More

Print this item

  Why is virtualenv not by default relocatable?
Posted by: bpostow - Mar-07-2019, 11:09 PM - Forum: General Coding Help - Replies (1)

I'm working in a system (not my choice) where the code lives on a dropbox, and everyone runs from the shared dropbox. I can't change that, so don't bo..... More

Print this item

  Gamepad vibration in raspberry pi with Python don't work
Posted by: sleepwalk - Mar-07-2019, 10:24 PM - Forum: General Coding Help - No Replies

Before starting the post, thanks in advance for your time! Smile

I'm new with Python although I have some experience with C++, php, arduino....... More

Print this item

  syntax error in an if statement at the else ?
Posted by: Just_started - Mar-07-2019, 08:17 PM - Forum: Homework - Replies (2)

Hi, I'm totally a nob to programming and just started with Python, so please forgive me if I'm not yet too familiar with the terms.

I'm trying to d..... More

Print this item

  Need Help W/ Simple Packet Capture Code
Posted by: Caesars_10th - Mar-07-2019, 08:13 PM - Forum: Networking - Replies (3)

Hey all,

I need help writing a code that can capture packets (pcap) from a dedicated port. All I need is for the code to capture the packet, timest..... More

Print this item

  Latest news on Tim Berners-Lee's Inrupt
Posted by: Larz60+ - Mar-07-2019, 06:27 PM - Forum: News and Discussions - Replies (2)

Latest news on Tim Berners-Lee's Inrupt
This is a fairly new project, but is slowly starting to take off

About Tim Burners-Lee:
Sir Timothy John ..... More

Print this item

  Write in a csv file
Posted by: jeuvrey - Mar-07-2019, 04:32 PM - Forum: General Coding Help - Replies (1)

Hello,
I receive a data stream i want to record in a variable (array, list or dictionnary) and then write these data in a csv file.
My streamed data..... More

Print this item

  Help making enemys?
Posted by: ghost0fkarma - Mar-07-2019, 03:40 PM - Forum: Game Development - Replies (3)

[python]import pygame, sys
from pygame.locals import *

pygame.init()

fps = 30
fpsClock = pygame.time.Clock()

DisplaySurface = pygame.displa..... More

Print this item

  How to ger matching rows data based on index columns
Posted by: SriRajesh - Mar-07-2019, 02:57 PM - Forum: General Coding Help - Replies (1)

I have below pandas dataframe,
[python]
df1:
[python]
A B C D
2000-01-01 0.469112 -0.282863 -1.509059 -1.13..... More

Print this item

  no outcome is printing
Posted by: helpme - Mar-07-2019, 01:55 PM - Forum: General Coding Help - Replies (2)

So this is my code:

[python]num=int(input("How many elements do you want?: "))
arr=list()
for i in range(num):
element=int(input("Input a nu..... More

Print this item

  Holt Winters Forecasting - IndexError
Posted by: Ronnie - Mar-07-2019, 01:02 PM - Forum: General Coding Help - No Replies

Hi All,
I'm currently working on a Holt Winters forecast, however i'm experiencing difficulty in enforcing the trend component I believe? When I try..... More

Print this item

  how to rearrange text
Posted by: Prince_Bhatia - Mar-07-2019, 01:00 PM - Forum: General Coding Help - Replies (1)

hi,

i am reading a cvs which has column in which there is text written like,
new launch,ready to move,under construction
ready to move,under con..... More

Print this item

  Covariance Matrix - Python
Posted by: cesardepaula - Mar-07-2019, 12:27 PM - Forum: General Coding Help - Replies (2)

I am implementing an algorithm in Python where I basically read 02 raster files, transform them to array I apply the function numpy.cov() to calculate..... More

Print this item

  How to get a tabs works exactly same as google chrome
Posted by: sarthak260 - Mar-07-2019, 10:45 AM - Forum: GUI - No Replies

In this GUI i have already used tabs(tkinter notebook) but what i need is that the whole window comes under a single tab and when i press new button t..... More

Print this item

  importing zip file on kaggle??
Posted by: GuJu - Mar-07-2019, 07:35 AM - Forum: General Coding Help - Replies (4)

Hi everyone,
I am trying to import a zip file on kaggle. But I couldn't do it i tried some solutions but it didn't help. Can you help me about this i..... More

Print this item

  When I read csv file i am getting b'Skipping line messages
Posted by: GuJu - Mar-07-2019, 07:25 AM - Forum: General Coding Help - Replies (4)

Hi,
I read a csv file, so it reads and i can make something on it there is no problem for this. But I get lots of b'Skipping line messages. I don't w..... More

Print this item

  A crucial question on coexistence of Py2-Py3 under Ubuntu distro
Posted by: samsonite - Mar-07-2019, 06:22 AM - Forum: General Coding Help - Replies (7)

Since a couple of hours ago, I believed that (pip) installer was saved somewhere and kept when libraries were called by Python2 or Python3.

Opening..... More

Print this item

  Help!! Order form and receipt code
Posted by: beginner1996 - Mar-07-2019, 04:33 AM - Forum: Homework - Replies (2)

Hi!
I am having such a hard time creating my code its for a donut shop order form you enter your name and once you select ur type, and quantity it p..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My goal to be hired worki... 3 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 10 hours ago llarkin6 noisefloor General Codin...
  Integer Factorization Too... 11 hours ago fosuwxb fosuwxb Code sharing
  Comparing 2 100GB Drives/... Yesterday, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577319
  Tutorial Requ... 500586
  Web Scraping ... 440989
  Newbie with P... 385023
  New Users Int... 369488
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+ 12090
buran 8176
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Williamcaurb Yesterday
sophielane Yesterday
Oscar0057 Yesterday
Cromulent Yesterday
PhamMaria Yesterday

User Panel Messages

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