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,257
» Latest member: Bamboo
» Forum threads: 38,782
» Forum posts: 175,837

Full Statistics

Online Users
There are currently 33 online users.
» 0 Member(s) | 30 Guest(s)
Bing, Google, Facebook

Latest Threads
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
47 minutes ago
» Replies: 3
» Views: 97
[solved] re.split issue
Forum: General Coding Help
Last Post: DeaD_EyE
4 hours ago
» Replies: 9
» Views: 180
New to python and coding
Forum: Homework
Last Post: jefsummers
Yesterday, 07:58 PM
» Replies: 6
» Views: 192
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 6
» Views: 367
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 123
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 251
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 401
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 152
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,646
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 255

 
  [split] Set bool variable
Posted by: RedSkeleton007 - Oct-22-2017, 09:23 PM - Forum: General Coding Help - Replies (1)

I can't believe I'm having so much trouble creating a boolean variable! I just want to tell my program to set a boolean to true if two strings match e..... More

Print this item

  Online IDE GUI problems
Posted by: Lux - Oct-22-2017, 09:09 PM - Forum: General Coding Help - Replies (6)

I am working on a project in python, and I was trying to use cloud9 to run it online. Unfortunately, my project uses tkinter, which doesn't seem to wo..... More

Print this item

  Playfair cipher encoder and decoder
Posted by: nuttinserious - Oct-22-2017, 08:54 PM - Forum: Homework - Replies (1)

Hi, I have to make a program that is like the playfair cipher which encodes a specific text and a second program that decodes the text. The instructio..... More

Print this item

  Function to convert
Posted by: slehee - Oct-22-2017, 07:59 PM - Forum: Homework - Replies (7)

How to write a function that takes a single parameter ( for example numbers from 1-10) then returns a string like "one" to number 1 and "two" to numbe..... More

Print this item

  Decision Tree
Posted by: Alberto - Oct-22-2017, 07:42 PM - Forum: General Coding Help - Replies (1)

I have the following problem. I have a written code attach below. The code constructs a tree based on the information in "my_data". The main idea is t..... More

Print this item

  Ending loop with string (capital & lowercase)
Posted by: MattWilk97 - Oct-22-2017, 07:33 PM - Forum: General Coding Help - Replies (3)

custname = input("Enter customer's name: ")
while custname.lower () != "QUIT":

I am needing to end the loop when customer's name is "Quit", "quit..... More

Print this item

  Polynomials
Posted by: RiceGum - Oct-22-2017, 06:21 PM - Forum: Homework - Replies (4)

I need to write a program that reads two numbers. Than used them in this polynomial: 3*x**3 - 5x + 0.8 and calculate all the values between them with ..... More

Print this item

  Sum up numbers using while(strings)
Posted by: RiceGum - Oct-22-2017, 05:44 PM - Forum: Homework - Replies (7)

[python]a = input()
p = 0
contador = 0
while a != ".":
a = input()
contador = contador + 1
if a == ".":
print(contador)
print(..... More

Print this item

  How to install flask boostrap?
Posted by: Peter_EU - Oct-22-2017, 02:51 PM - Forum: Web Scraping & Web Development - Replies (3)

Hallo,

I am following this tutorial: https://www.youtube.com/watch?v=8aTnmsDMldY

to make my very first serious(?) web.


Now,Python code cont..... More

Print this item

  Missing cookies in session with requests
Posted by: sechot - Oct-22-2017, 12:09 PM - Forum: Web Scraping & Web Development - No Replies

Hi

I wrote little function that login to website with requests module , i used session ,
the login process is sucsseful and other request are a..... More

Print this item

  Basic TCP to Pioneer VSX-1021 Stereo Receiver
Posted by: Bpet - Oct-22-2017, 12:05 PM - Forum: Networking - Replies (10)

Trying to send a command to my stereo. I can open a standard telnet session from command prompt in windows and simply connect using the IP and port 2..... More

Print this item

  cant download packages to pycharm
Posted by: Arifattal - Oct-22-2017, 10:46 AM - Forum: Web Scraping & Web Development - Replies (5)

hey guyys, im new to python and pycharm,
ive been trying to download beautifulsoup4 package onto pycharm with no success.
ive got an older version o..... More

Print this item

  User sign up and login system
Posted by: tesilstudent112 - Oct-22-2017, 10:03 AM - Forum: Homework - Replies (1)

Hey there everyone. For my homework, can i get some help with my computing homework project?

The task is to create a login system for a multi-choic..... More

Print this item

  Password Guesser Project
Posted by: RedSkeleton007 - Oct-22-2017, 05:46 AM - Forum: General Coding Help - Replies (17)

For now, I need an iterator that points to the chars in my AlphaNum string properly. We will start out with a password of just one char in length. Obs..... More

Print this item

  How to print the names of assignments if they are randomly selected
Posted by: Kongurinn - Oct-22-2017, 04:27 AM - Forum: General Coding Help - Replies (2)

Here is what I have (just playing around making a black jack game for a bit of Python practice):

[python]
from random import *
def main():
a..... More

Print this item

  Seeking buyer
Posted by: pp3cloud - Oct-21-2017, 10:41 PM - Forum: Jobs - Replies (1)

Seeking student or buyer to take over political prisoner database project Django, PostgreSQL, github, heroku. Based on Django Unleashed e.g. foreign ..... More

Print this item

  Clever Algorithms
Posted by: Larz60+ - Oct-21-2017, 10:20 PM - Forum: News and Discussions - Replies (1)

This book is for all the AI, Machine Learning and math lovers.

The code is written in ruby, but with the text can be converted to python without
t..... More

Print this item

  Traveller salesman backtracking
Posted by: synced - Oct-21-2017, 09:20 PM - Forum: Homework - Replies (3)

So I have the traveller salesman (backtracking) with a cost on the edges (I consider a full graph with 0 on the main diagonal and a cost in the rest, ..... More

Print this item

  matplotlib textbox
Posted by: kiyoshi7 - Oct-21-2017, 03:41 PM - Forum: General Coding Help - Replies (3)

[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

  input error help
Posted by: Cremno - Oct-21-2017, 02:23 PM - Forum: General Coding Help - 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 c..... More

Print this item

  How to get directory information with pathlib
Posted by: Larz60+ - Oct-21-2017, 12:18 PM - Forum: Code sharing - No Replies

Using pathlib, there are quite a few examples of how to get directory
information on root path, but the same methods don't always
work on derived pa..... More

Print this item

  error in import numba
Posted by: Sara - Oct-21-2017, 11:23 AM - Forum: General Coding Help - Replies (1)

When I am trying to run python file .py that uses numba it gives me the below error
[python] Traceback (most recent call last):
File "C:\Myfile..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Please guide me to comple... 47 minutes ago pbkurd Larz60+ General Codin...
  [solved] re.split issue 4 hours ago paul18fr DeaD_EyE General Codin...
  New to python and coding Yesterday, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... Yesterday, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
Most views
  The best Prog... 578949
  Tutorial Requ... 510387
  Web Scraping ... 441965
  Newbie with P... 385987
  New Users Int... 376979
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+ 12108
buran 8195
snippsat 7388
deanhystad 6909
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Bamboo Today
TomTMH Yesterday
pbkurd Yesterday
Gichardaxora Yesterday
cc123 Yesterday

User Panel Messages

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