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 40 online users.
» 0 Member(s) | 34 Guest(s)
Google, Bing, Apple, AOL, AOL

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

 
  Selenium Webdriver Memory Problem?
Posted by: satbir129 - Mar-01-2019, 03:02 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi guys, so I made my first little program after watching some beginner videos and I'm having a problem where it keeps using more and more memory unti..... More

Print this item

  How to retrieve data from site
Posted by: ROHK - Mar-01-2019, 02:11 AM - Forum: Web Scraping & Web Development - Replies (2)

Dear all,

I would like to retrieve data from a site in following format.

Column 1, column 2, column 3, column 4
date, second name, first name, ..... More

Print this item

  Adding a 3rd key in a csv file
Posted by: ebolisa - Feb-28-2019, 11:35 PM - Forum: General Coding Help - Replies (2)

Hi,

The following code adds the ssid and pass in a dat file as "ssid";"pass".

[python]
ssid = "test"
password = "pass"
profiles = {}
profil..... More

Print this item

  SyntaxError: can't assign to operator
Posted by: Jomy10 - Feb-28-2019, 11:04 PM - Forum: General Coding Help - Replies (3)

Hello

I'm trying to write a little program for class, but I get an error saying "SyntaxError: can't assign to operator" and I don't know why that i..... More

Print this item

  Python homework assigment
Posted by: makisha - Feb-28-2019, 10:00 PM - Forum: Homework - Replies (3)

first of all u wanna apologize if it's asking too much, but i need if someone can here who's decent with python to write me a small program that's gon..... More

Print this item

  Problem with comparison operator
Posted by: mdrisser - Feb-28-2019, 09:19 PM - Forum: General Coding Help - Replies (2)

I'm writing a program that converts a blocklist into a BIND9 zones file for a blackhole/sinkhole DNS server. Within the script I have code similar to ..... More

Print this item

  Selection not working
Posted by: riph87 - Feb-28-2019, 08:02 PM - Forum: Homework - Replies (7)

My isuue for code below is , my code stop working after validate . This is a game with two players and the computer , the score has to save by player ..... More

Print this item

  Select All text without space on the righthand side
Posted by: Vicolas - Feb-28-2019, 06:17 PM - Forum: GUI - Replies (1)

Hello, please how can I select all the text in Text Wigdet just like that on Microsoft windows Notepad without including unnecessarily space on the ..... More

Print this item

  try except
Posted by: timcain007 - Feb-28-2019, 06:08 PM - Forum: Homework - Replies (3)

I got it to work half way but having little trouble with input. if the user enters the correct height but enters a str for width. it goes back to aski..... More

Print this item

  Python3 and sqlite3 using AND with SELECT
Posted by: darktitan - Feb-28-2019, 04:59 PM - Forum: General Coding Help - Replies (6)

Hi
I am trying to make a script who should look up some stuff in a database but i cant make it work.
The problem is i need to check two variables a..... More

Print this item

  getopt not working right
Posted by: jdh239 - Feb-28-2019, 04:35 PM - Forum: General Coding Help - Replies (1)

I am brand new to python. I am trying to utilize getopt to parse some arguments, which kind-of works; however, if I don't pass an argument it doesn't..... More

Print this item

  Can you help me with this error? IndexError: invalid index of a 0-dim tensor.
Posted by: DerBerliner - Feb-28-2019, 03:50 PM - Forum: Data Science - Replies (1)

Hello, I am getting this Error and I dont know how to fix it. I tried.
This is my code:
[python]import torch
import torch.nn as nn
import torch.nn..... More

Print this item

  Selenium Web Driver Exe not running in other PC's
Posted by: Utkarsh29 - Feb-28-2019, 03:28 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi All,

I have done some web application based automation using selenium with IE webdriver. It's working fine in my PC.
I have defined Webdriver pat..... More

Print this item

  Fixing arrays output in Python WLST script
Posted by: pkbash - Feb-28-2019, 02:38 PM - Forum: Homework - Replies (2)

Hello,

There is issue with code, more precisely its in the jarray class used in dynamic classloader.

I have written python script to get the he..... More

Print this item

  SSAS Connection
Posted by: ray67 - Feb-28-2019, 02:13 PM - Forum: General Coding Help - Replies (1)

Hello

Is it possible to connect to SSAS without using HTTP. My job doesn't allow us to use HTTP connection. Can it be done using Adomdclient?

..... More

Print this item

  Getting list of co-ordinates.
Posted by: Zero01 - Feb-28-2019, 01:31 PM - Forum: General Coding Help - Replies (1)

Hi, I'm quite new to Python so bear with me....
I am trying to get the co-ordinates of a semicircle (or semi-oval) with numpy (maybe I need some othe..... More

Print this item

  Problem enabling http auth in a route
Posted by: nikos - Feb-28-2019, 01:21 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello, can someone help me with this please?


This route works as expected

[python]@app.route( '/download', method=['GET', 'POST'] )
def dow..... More

Print this item

  Introducing scalaps: Scala-inspired data structures for Python
Posted by: matthagy - Feb-28-2019, 12:50 PM - Forum: News and Discussions - Replies (2)

New library for working with collections and sequences using the library-provided, generic algorithms. Details in blog post, ..... More

Print this item

  source for py2exe not working after 3.4
Posted by: metulburr - Feb-28-2019, 12:37 PM - Forum: News and Discussions - Replies (2)

Do you have a source for py2exe not working after python3.4? @[snippsat]

Print this item

  building python payment gateway or bank account for secure money transfer
Posted by: masoud_da - Feb-28-2019, 12:12 PM - Forum: Web Scraping & Web Development - No Replies

hello guys?hope u are doing well
im intending to build my own python website by django and biuld my own secure bank account or payment gateway to get..... More

Print this item

  If error sleep and then try again from there
Posted by: CaptainCsaba - Feb-28-2019, 12:02 PM - Forum: General Coding Help - Replies (2)

Hey!

So I wrote a long code which is using the pyautogui locatonOnScreen and then center and then click functions. Basically it has a picture of a ..... More

Print this item

  latest astroid dependencies break mypy
Posted by: astir13 - Feb-28-2019, 11:47 AM - Forum: News and Discussions - Replies (2)

with python 3.6.7 and Pipenv:
having astroid and mypy in your Pipfile
you'll get a

Error:
pipenv.exceptions.ResolutionFailure
in case you tr..... More

Print this item

  'True' if 'string' has at least one uppercase letter
Posted by: ClassicalSoul - Feb-28-2019, 11:47 AM - Forum: General Coding Help - Replies (1)

Hello,

Do you have any suggestions on how to code: 'True' if 'string' has at least one uppercase letter, e.g. if 'maTh' then 'True'. I can't seem to ..... More

Print this item

  turtle polygon as specified by user input
Posted by: johneven - Feb-28-2019, 08:43 AM - Forum: Homework - Replies (7)

The following is an exercise question from tutorial course and my code.

[b]Write a program that asks the user for the number of sides, the length o..... More

Print this item

  Help with dictionaries
Posted by: erfanakbari1 - Feb-28-2019, 07:48 AM - Forum: Homework - Replies (2)

Hey buddies , I just tried to work with Dictionaries in Python but I got stuck in trouble with it .
[python]
# choose any name for the dictionary
d..... More

Print this item

  Missing 2 Required Positional Arguments:
Posted by: SwiftWater - Feb-28-2019, 07:42 AM - Forum: General Coding Help - Replies (1)

Hello, I am new to python and so I am following a tutorial to learn about the basics of python. My online instructor wanted me to past this code

--..... More

Print this item

  WxPython in web with a cgi server
Posted by: jttolleson - Feb-28-2019, 05:30 AM - Forum: GUI - Replies (12)

HELLO,
My name is Jayson,
I am new to this forum and thought it would unravel my issue:

A web based GUI in a python script???
I always need to attac..... More

Print this item

  Finding Consonants?
Posted by: nlord7 - Feb-28-2019, 01:48 AM - Forum: Homework - Replies (1)

Im working on this project to get the only two words in a .txt file that have 10 vowels in it and 6 words that have 6 or more consonants in a row (whi..... More

Print this item

  Sum
Posted by: DavidHG - Feb-28-2019, 01:27 AM - Forum: Homework - Replies (1)

Huh I need sum five random matrices.

Print this item

  How to format characters that are given by user input with user input
Posted by: i1928 - Feb-28-2019, 01:06 AM - Forum: General Coding Help - Replies (1)

I am writing a program (in Python 3.7.2) that is supposed to print out a flag with the width of the flag being user input and the characters used in t..... More

Print this item

  TypeError: list indices must be integers or slices, not dict
Posted by: bluethundr - Feb-27-2019, 09:23 PM - Forum: General Coding Help - Replies (8)

I am trying to get a list of AWS instances using Boto3.

The user enters the instance IDs, then the script should print out info about the instance...... More

Print this item

  Creating a persistent list/database
Posted by: Trinx - Feb-27-2019, 06:17 PM - Forum: General Coding Help - Replies (1)

I'm trying to create a program that saves info that is entered in by the user. How would I create a python program that saves information entered in b..... More

Print this item

  Need help! Please! Urgent!
Posted by: foxylen - Feb-27-2019, 05:20 PM - Forum: Homework - Replies (1)

The task is:

Write a function element_sum(integer) that accepts one argument (positive integer)
and returns a sum of numbers from 0 to the define..... More

Print this item

  AttributeError: 'ec2.ServiceResource' object has no attribute 'describe_instances'
Posted by: bluethundr - Feb-27-2019, 04:49 PM - Forum: General Coding Help - Replies (1)

Hello,

I am trying to create a program that takes a list of AWS instance IDs from user input. And then prints out information about those instances..... More

Print this item

  help (variables) - NameError: name 'Payment' is not defined?
Posted by: Vqlk - Feb-27-2019, 04:27 PM - Forum: General Coding Help - Replies (5)

I am new to python but why is this code not working?
[python]#Parking Ticket machine
Money = 50

import time
print('''
-------------------------..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My goal to be hired worki... 50 minutes ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 7 hours ago llarkin6 noisefloor General Codin...
  Integer Factorization Too... 8 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... 577314
  Tutorial Requ... 500563
  Web Scraping ... 440984
  Newbie with P... 385020
  New Users Int... 369478
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