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 53 online users.
» 1 Member(s) | 46 Guest(s)
Bing, Google, AOL, Applebot, AOL, perfringo

Latest Threads
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
4 hours ago
» Replies: 2
» Views: 734
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
11 hours ago
» Replies: 6
» Views: 768
Integer Factorization Too...
Forum: Code sharing
Last Post: fosuwxb
Yesterday, 04:45 PM
» Replies: 0
» Views: 86
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 483
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,863
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,261
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,246
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,188
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,493

 
  python3 regex support
Posted by: anna - Mar-12-2019, 07:41 AM - Forum: General Coding Help - Replies (3)

Hi All,

lines in files are as below

"11-03-2019_18:43:14,User-name=4841605613,NAS-IP-Address=10.124.113.246,Framed-IP-Address=,Calling-Station-I..... More

Print this item

  Read and write data to CSV files
Posted by: kartik - Mar-12-2019, 05:22 AM - Forum: General Coding Help - Replies (1)

My excel file name is Test.xls
Column A has 1000 rows. Each row has both char and int.
Eg. Tool cost for part no. 1236576
Mould for 5475943 for WE..... More

Print this item

  Help with importing a module from a package I created.
Posted by: FWendeburg - Mar-12-2019, 01:57 AM - Forum: General Coding Help - Replies (2)

Hi, I published a package in PyPI and I'm able to import it. The thing is that to use the functions that the package includes which are two functions,..... More

Print this item

  Pymodbus for Dummies
Posted by: hairem - Mar-11-2019, 11:37 PM - Forum: General Coding Help - Replies (1)

Does anyone know of a good pymodbus "walk-through" for beginners? I am new to python and want to use it to convert RS232 Ascii data to Modbus TCP hold..... More

Print this item

  Scipy FFT functions syntax and method
Posted by: leodavinci1990 - Mar-11-2019, 11:35 PM - Forum: Data Science - No Replies

Hi, I am looking at the Fourier Transforms functions provided by the scipy library found at
https://docs.scipy.org/doc/scipy/referen...rial/fftpa..... More

Print this item

  [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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My goal to be hired worki... 4 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 11 hours ago llarkin6 noisefloor General Codin...
  Integer Factorization Too... Yesterday, 16:45 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... 577320
  Tutorial Requ... 500597
  Web Scraping ... 440989
  Newbie with P... 385025
  New Users Int... 369493
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