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,279
» Latest member: ndx101
» Forum threads: 38,790
» Forum posts: 175,868

Full Statistics

Online Users
There are currently 66 online users.
» 1 Member(s) | 56 Guest(s)
Bing, Google, Facebook, Applebot, Mojeek, kshahzad1985

Latest Threads
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
8 hours ago
» Replies: 4
» Views: 1,453
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Yesterday, 02:10 PM
» Replies: 2
» Views: 98
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Yesterday, 06:48 AM
» Replies: 0
» Views: 36
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:59 AM
» Replies: 11
» Views: 6,010
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:46 AM
» Replies: 2
» Views: 4,284
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 309
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 152
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 216
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,117
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 261

 
  With Selenium create a google Search list in Incognito mode withe specific location,
Posted by: tsurubaso - Jun-13-2020, 10:50 AM - Forum: Web Scraping & Web Development - Replies (3)

Hello to all

a bit of Context:

I have to do a deadly repetitive task for a colleague that begging Monday.
Make a list of Search results..... More

Print this item

  ValueError: invalid literal for int() with base 10: '2 5'
Posted by: Bhavika - Jun-13-2020, 08:30 AM - Forum: Homework - Replies (3)

In hackerrank, i got a question named average function.
i gave my code like this
[python]
def avg(nums):
mean = (a + b) / 2
return format..... More

Print this item

  Constraints in for loop
Posted by: Emekadavid - Jun-13-2020, 06:23 AM - Forum: Homework - Replies (2)

I am doing a challenge in hackerrank and was given this stub code:
[python]for _ in range(int(input))
name = input()
score = float(input()..... More

Print this item

  np array tolist and back
Posted by: anthares - Jun-13-2020, 06:17 AM - Forum: General Coding Help - Replies (2)

Hi everyone,

I am pretty new to Python and I am seeking some help and guidance.

I use OpenCV to grab frames from video cap:

[python]ret, fra..... More

Print this item

  Using pyaudio to stop recording under certain sound threshold
Posted by: Twanski94 - Jun-13-2020, 01:16 AM - Forum: General Coding Help - Replies (2)

Heads up, this is my first real programming project, but I'm really dedicated to making it work and would love some input.

I've written a program t..... More

Print this item

  No response from socket
Posted by: kauerbach - Jun-13-2020, 12:50 AM - Forum: General Coding Help - Replies (1)

Greetings,

The script below works well for one of my embedded sensing systems:

[python]
import socket

TCP_IP = 'X.X.X.X'
TCP_PORT = MY_PORT..... More

Print this item

  Kera how to load a dataset of images stored to my computer, not the Cifar-10?
Posted by: hobbyist - Jun-12-2020, 08:41 PM - Forum: General Coding Help - Replies (5)

Because I am searching but I cannot figure out how to make it work. Is there any way to load an image dataset stored in my PC ('png') so that i..... More

Print this item

  Absolutely new to python - basic advise needed
Posted by: mariolucas75 - Jun-12-2020, 08:15 PM - Forum: General Coding Help - Replies (2)

Dear community,

I am absolutely new to Python but like to learn it.
Could you pls help to understand following code ( I dont understand the bold p..... More

Print this item

  a better way of writing code
Posted by: Than999 - Jun-12-2020, 06:22 PM - Forum: General Coding Help - Replies (6)

Hi is there a better way of writing this code instead of writing the repetitive multiple if statements? I'm trying to find a better way of writing th..... More

Print this item

  Unable to combine print statements in for loop
Posted by: adeana - Jun-12-2020, 04:49 PM - Forum: General Coding Help - Replies (2)

I am learning Python on my own. I am using Python Crash Course by Eric Matthes. Chapter 4: Looping through a Slice -

[python]#my list
players = [..... More

Print this item

  GPL and PyQT5 license
Posted by: Kael90 - Jun-12-2020, 04:48 PM - Forum: News and Discussions - Replies (2)

Im a bit confused after reading the license stuff. especially when you want to do it commercial.

Can someone explain it a bit more detailed? Especi..... More

Print this item

  Allow to Login if there is no IP Address
Posted by: venkat1425 - Jun-12-2020, 02:40 PM - Forum: General Coding Help - Replies (1)

I Am new to Phyton coding, and i have question like, user will allow to login if there is no IP address found.

please find below and let me know is..... More

Print this item

  Loop through elements of list and include as value in the dictionary
Posted by: Rupini - Jun-12-2020, 10:20 AM - Forum: Homework - Replies (3)

Hi,

I have a nested dictionary output from aws service from which I need to extract the cluster name and it's corresponding ID. I am storing cluste..... More

Print this item

  Get Value from List to Show in DataFrame Column
Posted by: ahmedwaqas92 - Jun-12-2020, 09:00 AM - Forum: General Coding Help - Replies (1)

I have a dataframe with a little more than 15000 rows. I also have three lists (c_iddf, p_iddf, cr_iddf) that I converted from a .csv file, so all the..... More

Print this item

  TypeError: file must have 'read' and 'readline' attributes
Posted by: hobbyist - Jun-12-2020, 08:23 AM - Forum: General Coding Help - Replies (6)

I am trying to make the below code work since morning. I have read tutorials on google about python, I have done 0 progress. Can you help me with this..... More

Print this item

  check pandas variable type
Posted by: cools0607 - Jun-12-2020, 07:47 AM - Forum: General Coding Help - Replies (3)

I am trying to check variable's data type is list or dataframe.
When I got type(df_c) is[color=#C0392B] Out[155]: pandas.core..... More

Print this item

  Sort methods
Posted by: rs74 - Jun-12-2020, 07:26 AM - Forum: General Coding Help - Replies (5)

a = add(multi(3));

a = a + mod(div(a + 3)) + sub(12)



How (and why) should this functions (add, multi, mod, div, sub) be so..... More

Print this item

  PyCharm - 'unable to save settings'
Posted by: Taguero - Jun-12-2020, 07:22 AM - Forum: General Coding Help - Replies (1)

Hey, guys! Hope you'll help me fix the problem.

When I once again ran PyCharm 2020.1.1 as I always do, it said that it didn't find any interpreter. ..... More

Print this item

  How to put the items of one list in new generated lists
Posted by: Bobbear - Jun-12-2020, 06:04 AM - Forum: General Coding Help - Replies (1)

Hello.

I would like to know if it is possible to create for example 100 lists automatically,
so that I can use list1, list2, list3, ... list100
..... More

Print this item

  object with ever possible attribute
Posted by: Skaperen - Jun-12-2020, 04:57 AM - Forum: News and Discussions - Replies (3)

i'd like to make an object that no matter what attribute name is requested (other than standard ones) a single specific value is given. one way this ..... More

Print this item

  Multiple excel files
Posted by: Kristenl2784 - Jun-12-2020, 03:45 AM - Forum: General Coding Help - Replies (6)

Hello,

I am so new at using python that I don’t know how to start the code.

I have 26 excel files (file1, file2, file3, etc) and I want to crea..... More

Print this item

  IMAPLib Has No Attribute IMAP4_SSL. Help!
Posted by: bmccollum - Jun-12-2020, 03:20 AM - Forum: General Coding Help - Replies (3)

I've written a Python script that checks an email address on an Exchange server once per minute to check for new emails, download those emails as indi..... More

Print this item

  Problem applying conditions against results back from a database
Posted by: card51shor - Jun-12-2020, 12:41 AM - Forum: Homework - Replies (31)

Hey guys I'm trying to compare user input with what's in the database to see if they can login or not.

I'm getting a list back from the input and ..... More

Print this item

  bool b = (num == 100) this doesn't work?
Posted by: MelonMusk - Jun-11-2020, 11:57 PM - Forum: General Coding Help - Replies (2)

bool b = num == 100
why this doesn't work?

Print this item

  InstaPy Error
Posted by: boomcrafty - Jun-11-2020, 10:58 PM - Forum: General Coding Help - Replies (1)

Alright im having a problem when i start instapy. i have no experience with python so idk what im doing. somebody help. heres my error message.

[er..... More

Print this item

  Manipulating data from a CSV
Posted by: EvanS1 - Jun-11-2020, 08:25 PM - Forum: General Coding Help - Replies (5)

Hi Feel like I am missing something simple here.

I am importing data from a csv file. I want to create a number of lists to use elsewhere.

[pyt..... More

Print this item

  Packet Sniffer - TypeError: a bytes-like object is required, not 'str'
Posted by: cheffa2020 - Jun-11-2020, 05:56 PM - Forum: General Coding Help - Replies (4)

Hi folks, I'm in the process of creating a packet sniffer using Python 3.8. The goal is for it to isolate the RAW layer/load portion of a packet and p..... More

Print this item

  Topic: “Filter numbers with a list comprehension” (PyBite #107)
Posted by: Drone4four - Jun-11-2020, 03:55 PM - Forum: General Coding Help - Replies (4)

Here is the task I am working on: Write a script which receives a list of numbers and returns only the even numbers that are > 0 and even (divisible b..... More

Print this item

  Data Science Tutorials
Posted by: suyash401 - Jun-11-2020, 03:40 PM - Forum: Tutorial Requests and Submissions - No Replies

Hey Guys, I'm new to this community.
I'd like to share my articles/tutorials on Data Science.
I thought it would be wise to include them in one thre..... More

Print this item

  I get a name Name Error: when calling a method inside a class
Posted by: radoo - Jun-11-2020, 03:25 PM - Forum: GUI - Replies (2)

Hello,

I have a problem that I cannot resolve by myself. I am learning Python and Qt and I am trying to get the values of the buttons I push in the..... More

Print this item

  module 'os' has no attribute 'tmpfile'
Posted by: whois1230 - Jun-11-2020, 02:33 PM - Forum: General Coding Help - Replies (3)

Hello, I wrote the following program and tried to execute it:
[python]#!/usr/bin/python3.8
import os
# The file has no directory entries associated..... More

Print this item

  Minimal python install for thonny ide
Posted by: DanielRossinsky - Jun-11-2020, 02:28 PM - Forum: General Coding Help - No Replies

I'm currently working on an automated install for thonny ide and python. The thing is I can't use the thonny installer because I need python installed..... More

Print this item

  Overcoming ZeroDivisionError: division by zero Error
Posted by: dgrunwal - Jun-11-2020, 01:58 PM - Forum: General Coding Help - Replies (8)

In the data set I have 5 such lists (all zero values).

Is there a way I can eliminate this error in such cases? I could simply remove the lists, b..... More

Print this item

  join string lists
Posted by: redminote4dd - Jun-11-2020, 01:37 PM - Forum: General Coding Help - Replies (9)

Hello!
I have a lists which I want to join with the second item of itself

for exmaple:

1=[A, B, C, D]

I want python to output:

1=[AB, BC,..... More

Print this item

  Which databse "engine" is available?
Posted by: PeterLinux - Jun-11-2020, 12:56 PM - Forum: News and Discussions - Replies (5)

Hi, I just learned that some modules/libraries/engines which are available are deprecated or will be unsupported by future Python versions.

So what..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My goal to be hired worki... 8 hours ago GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... Yesterday, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... Yesterday, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... Yesterday, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... Yesterday, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 08:44 Tuurbo46 Tuurbo46 GUI
Most views
  The best Prog... 579194
  Tutorial Requ... 511942
  Web Scraping ... 442144
  Newbie with P... 386225
  New Users Int... 379169
Most reputation
buran 581
snippsat 511
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+ 12109
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
ndx101 Today
OtiliaBecker Today
NAGASOWMYAGUNDU Yesterday
shipa1autotransport Yesterday
eastnoob 11-19

User Panel Messages

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