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,304
» Latest member: IFDA123
» Forum threads: 38,798
» Forum posts: 175,903

Full Statistics

Online Users
There are currently 31 online users.
» 0 Member(s) | 27 Guest(s)
Bing, Google, AOL, Mojeek

Latest Threads
Python is not working on ...
Forum: General Coding Help
Last Post: lary_p
1 hour ago
» Replies: 3
» Views: 86
No new line from print in...
Forum: General Coding Help
Last Post: bowlofred
1 hour ago
» Replies: 2
» Views: 24
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
2 hours ago
» Replies: 8
» Views: 639
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,803
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 128
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 112
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 195
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,210
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 304
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 190

 
  [split] How to find a specific word in a webpage and How to count it.
Posted by: marpop - Mar-11-2019, 09:43 PM - Forum: Web Scraping & Web Development - Replies (2)

Hey, I'm new here

Can someone please explain this line:

words = soup.find(text=lambda text: text and the_word in text)
I d..... More

Print this item

  Sentinel Controlled Loop
Posted by: adrury2 - Mar-11-2019, 09:41 PM - Forum: Homework - Replies (3)

Hello Everyone,
My Professor wants us to create code using a list of at least 8 characters and by manipulating a Sentinel Controlled Loop. He wants o..... More

Print this item

  [GTK] Virtual python shell with Vte.Pty.spawn_async()
Posted by: jiri - Mar-11-2019, 09:35 PM - Forum: GUI - Replies (2)

I would like add virtual python shell with Vte to my GTK3.0 python3 app and I am able to do this with spawn_sync() method, but this method is deprecat..... More

Print this item

  Replace with Maximum Value
Posted by: leoahum - Mar-11-2019, 08:26 PM - Forum: General Coding Help - Replies (4)

[python]List = [[0,1,2],[4,5,6,7],[7,8,9,10]]



def ReplacewithMax (l, count = 0, L = None):

if count == 0:
L = []
K = [..... More

Print this item

  Get EC2 Regions and Zones to correspond
Posted by: bluethundr - Mar-11-2019, 06:12 PM - Forum: General Coding Help - No Replies

Hello,

I'm trying to pull a list of AWS EC2 instances. I need to pull a list of instances from each AWS zone and region.

Problems I'm having:
..... More

Print this item

  Is python suitable for game map scanning?
Posted by: Securityfalcon - Mar-11-2019, 04:17 PM - Forum: News and Discussions - No Replies

So i haven't done any coding or learning on python yet. I want to start in the near future after my education is done

i want to learn to make the f..... More

Print this item

  Graphql subscriptions client
Posted by: Edoar - Mar-11-2019, 04:13 PM - Forum: Networking - No Replies

Hi anyone, i'm begginer with python and i work on kodi, now i'm try build a websocket service to connect my server, currently my server has graphql su..... More

Print this item

  How to find adjacent units in a line in the hexagon of the array
Posted by: xiaoshu1208 - Mar-11-2019, 03:18 PM - Forum: Homework - Replies (2)

[font=Times New Roman, Times, serif]In this array of hexagons, how to implement three consecutive hexagons into a linear hexagon.
The current idea is..... More

Print this item

  Deplying Web App
Posted by: lion137 - Mar-11-2019, 03:07 PM - Forum: Web Scraping & Web Development - Replies (2)

I have a simple Python app, something like online math tool. I don't know front end and web frameworks. What's the easy way to deploy this on web? For..... More

Print this item

  Arduino Jukebox Project
Posted by: Yomanman - Mar-11-2019, 03:07 PM - Forum: General Coding Help - Replies (2)

I am in way over my head. I thought this project was going to be easy but there's too many variables that I just don't understand.

Story: I work at..... More

Print this item

  Incremental loop?
Posted by: Headphone256 - Mar-11-2019, 12:39 PM - Forum: Homework - Replies (5)

Hello,

I am a beginner student and this is pretty basic, but I am stumped. Our text is Python for Dummies and I am having a hard time figuring this..... More

Print this item

  Doubling every second letter.
Posted by: pawlo392 - Mar-11-2019, 11:57 AM - Forum: Homework - Replies (1)

Hello!
I have to create a program, which will be doubles every second letter. Foe example:
input:Tom has cat.
output: Toom hhass caat.
I wrote thi..... More

Print this item

  Send Pressure sensor data to IoT platform using WebSockets in Python
Posted by: barry76 - Mar-11-2019, 11:50 AM - Forum: Networking - Replies (3)

Hi, I need to know the best way which helps me to send the ..... More

Print this item

  File opes with Python
Posted by: carllw - Mar-11-2019, 11:02 AM - Forum: General Coding Help - Replies (2)

Hi, I want to get .xml files from a path(Specific folder) in every 5 minutes. (the newest .xml files) by using Python.Then i want to send it to anothe..... More

Print this item

  Subnet Mask Ranges
Posted by: ab52 - Mar-11-2019, 10:39 AM - Forum: General Coding Help - No Replies

Hi All

I am very new to python, and i have written something that grabs your IP and returns coverts it into the subnet mask and then give it a friend..... More

Print this item

  N-Dim array manipulation in a loop, getting IndexError: too many indices for array
Posted by: cesardepaula - Mar-11-2019, 10:02 AM - Forum: General Coding Help - Replies (1)

Hello people, good morning!!

In my implementation I`m trying to manipulation N-Dim. array on a looping to calculate a covariance between 2 variable..... More

Print this item

  Web automation - quora
Posted by: pooria - Mar-11-2019, 09:42 AM - Forum: Code sharing - Replies (2)

Hi,

[python]
from selenium import webdriver


def Login_reddit():

Email = driver.find_element_by_xpath('//div[@class="form_column"]/inpu..... More

Print this item

  LZS Decompression
Posted by: macowl - Mar-11-2019, 05:46 AM - Forum: General Coding Help - No Replies

I have a large amount of data that was compressed using LZS compression. I have written and combined existing code to decompress this data. The decomp..... More

Print this item

  raycasting error
Posted by: robie972003 - Mar-11-2019, 02:59 AM - Forum: Game Development - Replies (4)

Im not sure what is happening to my code (im trying to make a raycaster) but it keeps displaying this error.
[error]IndexError: list index out of ran..... More

Print this item

  Django credit card redaction app - - MultiValueDictKeyError
Posted by: Drone4four - Mar-11-2019, 02:55 AM - Forum: Web Scraping & Web Development - Replies (2)

I’m trying to run a basic Django app which redacts a 16 digit number entered by the user. I had a it running a few minutes ago. I’m not sure what I ch..... More

Print this item

  Split Column Text by Number of Characters
Posted by: cgoldstein - Mar-11-2019, 02:34 AM - Forum: General Coding Help - Replies (3)

Hello all,

Brand new to Python! I've tried search keywords for this solution but came up with unrelated examples with commas / delimiters. Any ass..... More

Print this item

  Random function
Posted by: sh98765 - Mar-11-2019, 02:00 AM - Forum: General Coding Help - Replies (1)

I don't understand my error

x = random (1,5)
if x % 2 == 0:
   print ("even")
else:
   print ("odd")

Print this item

Photo roll of the dice
Posted by: kyle007 - Mar-11-2019, 01:52 AM - Forum: General Coding Help - No Replies

Hi everybody

Ive made a program that randomly chose a number of dice from 1 to 6 (as long as we continu the game) then show an image of the dice wi..... More

Print this item

  Extracting list element with user input
Posted by: valve - Mar-11-2019, 01:24 AM - Forum: Homework - Replies (1)

I am completely new to Python, and I need some help working with lists.

So here is a list:
Subjects=['SPLA100','SPLA107','SPLA219','INFO114','INFO..... More

Print this item

  while loop
Posted by: sh98765 - Mar-10-2019, 09:16 PM - Forum: General Coding Help - Replies (5)

I'm very new to python
and would like to know what will be the output of the below code.

[python]x=1
y=1
while y>=30
x= x+1
y=y+x
print (x)[/..... More

Print this item

  Please help i get an error when trying to install boolexpr using pip?
Posted by: Guest - Mar-10-2019, 08:47 PM - Forum: General Coding Help - Replies (2)

Hi!
I'm sorry if my post isn't in its usual/supposed place but I need help and I don't know where to find it. If someone know a site where I should p..... More

Print this item

  What kind of online database should I use for my python app?
Posted by: ProfessorMarkov - Mar-10-2019, 08:21 PM - Forum: Web Scraping & Web Development - Replies (3)

I'm developing a Python app and I need to store data online so that I can use the app on several computers and all can have access to the same data. I..... More

Print this item

  Help with collisions.
Posted by: ghost0fkarma - Mar-10-2019, 07:42 PM - Forum: Game Development - Replies (5)

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

pygame.init()

clock = pygame.time.Clock()
fps =..... More

Print this item

  Non Volatile Local Variables?
Posted by: microphone_head - Mar-10-2019, 05:50 PM - Forum: News and Discussions - Replies (4)

Hi all,

Does anyone know if Python supports non-volatile local variables Think ?

I was wondering if there was a way to keep the variable a..... More

Print this item

  Running two consecutive scripts in VSCode
Posted by: Larz60+ - Mar-10-2019, 05:28 PM - Forum: News and Discussions - Replies (6)

I'm trying to find a way to run two consecutive scripts in two different terminal sessions in VSCode.
There's no problem running two sessions, only p..... More

Print this item

  coding improvement tips
Posted by: vaisesumit29 - Mar-10-2019, 03:53 PM - Forum: General Coding Help - Replies (1)

Hi All,
I am apologizing in advance if it wastes your time. Because it's not a question regarding any topic. It is for my improvement. Experts can su..... More

Print this item

  Pandas, cryptocurrency and some calculations
Posted by: vvinni - Mar-10-2019, 03:52 PM - Forum: Data Science - No Replies

I'm an amateur programmer. I'm having trouble understanding if pandas are my best option or if there is a better one in the Python community.

I wan..... More

Print this item

  simple syntax question
Posted by: speedskis777 - Mar-10-2019, 02:48 PM - Forum: General Coding Help - Replies (7)

Hi.

Why does the order matter here? What would be the correct syntax to print two True statements?
[python]var = "*"
print(var == ("/" or "*"))
..... More

Print this item

  Why isn't this working. I've made it as simple as posible
Posted by: gcryall_Forum - Mar-10-2019, 01:44 PM - Forum: General Coding Help - Replies (3)

[python]
from tkinter import *
from sqlite3 import *

def center(toplevel): #Run outside the Class definition
toplevel.update_idletasks()
..... More

Print this item

  Code Change Help: Infinite Loop Error
Posted by: bindulam - Mar-10-2019, 01:13 PM - Forum: General Coding Help - Replies (2)

[Image: m1ExX.png]

[python]

# coding: utf-8

# In[1]:


import queue

import sys..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Python is not working on ... 1 hour ago lary_p lary_p General Codin...
  No new line from print in... 1 hour ago Lou bowlofred General Codin...
  Help with Serial.write in... 2 hours ago racingsubby Larz60+ General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
Most views
  The best Prog... 579430
  Tutorial Requ... 512529
  Web Scraping ... 442310
  Newbie with P... 386367
  New Users Int... 380590
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+ 12113
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IFDA123 Today
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday
Jonathan Yesterday

User Panel Messages

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