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,933
» Latest member: bennyanderson482
» Forum threads: 38,721
» Forum posts: 175,503

Full Statistics

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

Latest Threads
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Gribouillis
8 hours ago
» Replies: 2
» Views: 334
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Sep-17-2025, 05:56 PM
» Replies: 9
» Views: 3,359
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 1,760
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 732
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 977
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,041
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,083
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 652
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,633
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,857

 
  calculate distance based on gps coordinates
Posted by: atux_null - Oct-21-2017, 09:59 AM - Forum: Homework - Replies (1)

[nodisplay]please give a runnable sample of your code with the full error text or a clear description of the problem

Please use python tags for cod..... More

Print this item

  print logarithms todifferent base
Posted by: atux_null - Oct-21-2017, 09:43 AM - Forum: Homework - Replies (2)

[nodisplay]please give a runnable sample of your code with the full error text or a clear description of the problem

Please use python tags for cod..... More

Print this item

  subprocess.Popen parameter bufsize issue
Posted by: streetpywinder - Oct-21-2017, 07:05 AM - Forum: General Coding Help - Replies (3)

[python]
args = ('D:/ProgramFiles/Python352/Scripts/pyinstaller.exe', '-w', file_full_path, '-i', ico_full_path)
process = subproce..... More

Print this item

  Get string length
Posted by: RedSkeleton007 - Oct-21-2017, 04:31 AM - Forum: General Coding Help - Replies (3)

To start off, I just want to print the length of a hard coded string as follows:

[python]
#!/usr/bin/env python3
#NestedIfStuff.py

password = ..... More

Print this item

  Arduino/If Else Condition
Posted by: emrebt39 - Oct-20-2017, 07:49 PM - Forum: General Coding Help - Replies (3)

New at Python,trying to make if Else condition,You can see below:
[python]from Tkinter import *
root = Tk()
def connectToArduino():

arduino..... More

Print this item

  Ip in json
Posted by: beren43 - Oct-20-2017, 07:13 PM - Forum: Homework - Replies (3)

I have a json
It is necessary to display on the screen in format domains with 144 in 3 octet
un1> domain
un2> domain
This code displays a list of ..... More

Print this item

  Functions with parameters
Posted by: slehee - Oct-20-2017, 07:00 PM - Forum: Homework - Replies (2)

Hi,

How would you write a function which takes two parameters and then counts from the first parameter to the second one?

def count(numOne, numT..... More

Print this item

  No Idea Where To Start...
Posted by: goldtiger6 - Oct-20-2017, 06:37 PM - Forum: Homework - Replies (4)

Python3

I have no idea where to start for this problem....

[font=Times New Roman, Times, serif][b]Write a progr..... More

Print this item

  (beginner): Hello Shopping - wat?(Flask)
Posted by: Peter_EU - Oct-20-2017, 05:31 PM - Forum: Web Scraping & Web Development - Replies (2)

Hellowings,

sorry for lame question for lame problem, maybe someone will find joy in helping me:

I created .py file with following code:

[python]fr..... More

Print this item

  Homework that displays different weights
Posted by: Schmitlab - Oct-20-2017, 05:21 PM - Forum: Homework - Replies (4)

[
After about an hour of being dumb i finally got the loop to work but now i have a different problem. The program asks for some input like the low en..... More

Print this item

  Python indent question
Posted by: iicveji - Oct-20-2017, 04:40 PM - Forum: General Coding Help - Replies (2)

Hello. I am pretty new to Python and I've found something that is probably pretty simple but eludes me. The problem concerns enclosing existing code i..... More

Print this item

  Need Help To Improve my Network Scanner
Posted by: cybrary - Oct-20-2017, 04:18 PM - Forum: General Coding Help - Replies (3)

Hi, i am very new with python coding using version 2.7, i am trying to create a network scanner using nmap module.Need help to improve my scanner such..... More

Print this item

  Tkinter/Label/Arduino/ if Else condition
Posted by: emrebt39 - Oct-20-2017, 10:53 AM - Forum: GUI - Replies (1)

[python]from Tkinter import *
root = Tk()
def connectToArduino():

arduino = serial.Serial(arduinoPort, serialTransferRate)
arduino.timeout ..... More

Print this item

  MONEY CHANGE
Posted by: OmarSinno - Oct-20-2017, 09:36 AM - Forum: General Coding Help - Replies (5)

[python]amount=int(input("Please enter amount in LBP: "))
bills = [100,50,20,10,5,1]
billsReturned = []

def change(amount):
    for i in bills:..... More

Print this item

  natural logarithm print
Posted by: atux_null - Oct-20-2017, 09:07 AM - Forum: Homework - Replies (5)

[nodisplay]please give a runnable sample of your code with the full error text or a clear description of the problem

Please use python tags for cod..... More

Print this item

  Please Help - Auto-Login
Posted by: shiny - Oct-20-2017, 07:21 AM - Forum: Web Scraping & Web Development - Replies (1)

Good Day,

I'm working on Auto-LogIn for the flowing webpage.
I'm very new to the Python; and I have been following a YouTube tutorial.

I need ..... More

Print this item

  Python-Spyder error opening
Posted by: integrak20 - Oct-20-2017, 05:44 AM - Forum: General Coding Help - No Replies

Hello, I am having trouble with my python, specifically Spyder.

I downloaded Anaconda from continuum.io. But everytime I open it, it says it crashe..... More

Print this item

  NEED HELP Pseudo-Random Numbers
Posted by: Kongurinn - Oct-20-2017, 01:01 AM - Forum: Homework - Replies (9)

Hey everyone. I've been coding for about a month now. Trying to figure out the assignment I got this week. THe assignment asked me to find if there we..... More

Print this item

  Error message in code
Posted by: Nistacta - Oct-19-2017, 09:38 PM - Forum: General Coding Help - Replies (2)

I need help with my code. the error message says:

[error]Traceback (most recent call last)
File "F:/Information format.py", line 17, in <module..... More

Print this item

  Python shell not functioning
Posted by: Kongurinn - Oct-19-2017, 09:38 PM - Forum: General Coding Help - Replies (2)

I'm having issues with the python shell itself and running some functions. I've tried importing the random library and whenever I use seed nothing hap..... More

Print this item

  Removing string within string
Posted by: fivestar - Oct-19-2017, 09:25 PM - Forum: Homework - Replies (2)

I am trying to remove part of a string withing a string. for example if a string is "atgtga" i want the output to be "atg" my if statement is
[inlin..... More

Print this item

  Loop Help: works with 300 variables but not 400
Posted by: bpozza - Oct-19-2017, 06:21 PM - Forum: Data Science - Replies (1)

Any help will be greatly appreciated. Please let me know if you need more details to resolve and I can provide. Thank you in advance for your help...... More

Print this item

  starting with flask: code does not work
Posted by: Peter_EU - Oct-19-2017, 05:55 PM - Forum: Web Scraping & Web Development - Replies (2)

Hallowings,


I am following tutorials of https://www.youtube.com/watch?v=OuDOr32ZHE0

I started writing my first python/html document (pip insta..... More

Print this item

  must be str not int
Posted by: auting82 - Oct-19-2017, 05:47 PM - Forum: Data Science - Replies (2)

Trying to run this code, but getting the error: must be str not int?
Need some help here
Just to mention that i have tried to chabge the inputs to i..... More

Print this item

  Help with "surrounding" a string
Posted by: jsirota - Oct-19-2017, 04:59 PM - Forum: Homework - Replies (2)

Hello, I am having difficulty with a homework assignment that asks me to code a print statement where the string input gets surrounded by asterisks. T..... More

Print this item

  Click on a Drop-down button with selenium Python
Posted by: AcszE - Oct-19-2017, 04:01 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello, I'm trying to click on a drop-down button in selenium pyChrome, but nothing seems to work for me Confused by clicking on the inspect optio..... More

Print this item

  Help with threading please!
Posted by: karlo_ds - Oct-19-2017, 02:42 PM - Forum: General Coding Help - Replies (2)

Hi everyone!

I try to runing multiple-task´s in Python with threading, but not run good... when i execute the script, in one web-page is working,..... More

Print this item

  Genetic Algorithm improvement
Posted by: Alberto - Oct-19-2017, 02:13 PM - Forum: Data Science - No Replies

Dear Python Experts,

What I am doing is that I am running genetic algorithm for prediction of stock prices. I include a sample of code that is in l..... More

Print this item

  Sending data over UDP
Posted by: alidaf - Oct-19-2017, 09:39 AM - Forum: Networking - Replies (3)

I've managed to code a C program to send various types of data to Matlab on another machine over UDP; char, int and double. I'm really struggling to d..... More

Print this item

  Request for simple code
Posted by: CuriousMind - Oct-19-2017, 08:14 AM - Forum: Data Science - Replies (5)

Dear Users,

I would like to request some help in some research work. My goal is to write data from an xls file to a text file (the text file is gen..... More

Print this item

  Speed up for loop
Posted by: icbruzzler - Oct-19-2017, 07:39 AM - Forum: General Coding Help - Replies (2)

Hello,
is there an alternative method to get the following code snippet faster?

var_refp.size contains 60001 elements, ground freq can change and ..... More

Print this item

  [Python / BS4] How to Scrape
Posted by: digitalmatic7 - Oct-19-2017, 07:36 AM - Forum: Web Scraping & Web Development - Replies (9)

I'm new to programming and am having trouble scraping with BS4.

I'm webmaster for a popular website (can't share it here, but it uses Disqus comme..... More

Print this item

  Circular Object Recognition - Help me, please!
Posted by: vinix123 - Oct-19-2017, 04:15 AM - Forum: Data Science - Replies (1)

Hello guys. I'm trying to build a program that can identify the points I marked in the image below. The program is attached. I wanted a way to identif..... More

Print this item

  Trouble with simple roulette game
Posted by: chadandersen1 - Oct-19-2017, 03:49 AM - Forum: General Coding Help - Replies (9)

[spoiler]
[python]
import random
print("Welcome to my Online Roulette game!")
print("Your starting balance is $50, or 5000 tokens.")
## Sets star..... More

Print this item

  Command line inputs not printing to Log File
Posted by: ijosefson - Oct-19-2017, 03:15 AM - Forum: Homework - Replies (1)

Requirement: print out the command line prompts the user enters into a log file.
Problem: line 38, the prompts don't seem to write to the log file.
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  C++ program embedding Pyt... 8 hours ago Alexandros Gribouillis General Codin...
  403 Error 09-17, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 576133
  Tutorial Requ... 497670
  Web Scraping ... 440080
  Newbie with P... 383876
  New Users Int... 366420
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+ 12089
buran 8174
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
bennyanderson482 Yesterday
AstoundzSEO Yesterday
tobey12 Yesterday
alexguemez 09-17
Shadab 09-17

User Panel Messages

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