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,305
» Latest member: rajatkumar
» Forum threads: 38,799
» Forum posts: 175,904

Full Statistics

Online Users
There are currently 48 online users.
» 0 Member(s) | 45 Guest(s)
Google, Bing, Internet Archive

Latest Threads
How Aviator Game is Devel...
Forum: General Coding Help
Last Post: rajatkumar
27 minutes ago
» Replies: 0
» Views: 5
Python is not working on ...
Forum: General Coding Help
Last Post: lary_p
3 hours ago
» Replies: 3
» Views: 98
No new line from print in...
Forum: General Coding Help
Last Post: bowlofred
4 hours ago
» Replies: 2
» Views: 34
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
5 hours ago
» Replies: 8
» Views: 645
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,804
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 131
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 113
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 200
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,211
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 309

 
  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

  Please help with AttributeError: 'Netz' object has no attribute 'conv'
Posted by: DerBerliner - Feb-27-2019, 04:01 PM - Forum: Data Science - Replies (2)

Can you please hepl me with this code:
[python]import torch
import torch.nn as nn
import torch.nn.functional as f
import torch.optim as opt..... More

Print this item

  Select next file in directory and keep track of what's already been selected
Posted by: loganpmgoa - Feb-27-2019, 03:24 PM - Forum: General Coding Help - Replies (2)

I need to make a python script where it'll select the next file in a currently open directory that it hasnt already selected. it needs to work with th..... More

Print this item

  py2exe failed to compiled
Posted by: gahhon - Feb-27-2019, 12:36 PM - Forum: General Coding Help - Replies (9)

I am using Python 3.7.2 and py2exe 0.9.2.2
I have followed the tutorial from Py2exe Tutor[url=https://python-forum.io/thread-16419.html]..... More

Print this item

  output list reducing each time through loop
Posted by: 3Pinter - Feb-27-2019, 11:28 AM - Forum: General Coding Help - Replies (6)

In getting empty lists as output, and that is something I don't get.

Expected:
[1,2,3,4,5]
[2,3,4,5]
[3,4,5]
[4,5]
[5]

[python]
a = [1,2,3..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How Aviator Game is Devel... 27 minutes ago rajatkumar rajatkumar General Codin...
  Python is not working on ... 3 hours ago lary_p lary_p General Codin...
  No new line from print in... 4 hours ago Lou bowlofred General Codin...
  Help with Serial.write in... 5 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
Most views
  The best Prog... 579437
  Tutorial Requ... 512543
  Web Scraping ... 442315
  Newbie with P... 386368
  New Users Int... 380607
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
rajatkumar Today
IFDA123 Today
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday

User Panel Messages

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