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,947
» Latest member: Markbel386
» Forum threads: 38,726
» Forum posts: 175,523

Full Statistics

Online Users
There are currently 64 online users.
» 0 Member(s) | 57 Guest(s)
Applebot, Bing, Google, AOL, AOL, Mojeek

Latest Threads
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
4 hours ago
» Replies: 5
» Views: 9,110
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
6 hours ago
» Replies: 0
» Views: 42
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Today, 03:29 AM
» Replies: 2
» Views: 433
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Today, 02:36 AM
» Replies: 0
» Views: 76
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 08:56 PM
» Replies: 9
» Views: 570
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,799
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,116
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,473
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,036
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,782

 
  Curves Intersection
Posted by: silverfish - May-23-2018, 09:52 PM - Forum: Data Science - Replies (1)

Hi everyone :)

There's something I can't figure it out with numpy :
I've plotted 2 curves on the same graph ( numbers of differents particles plo..... More

Print this item

  Loops in GUI
Posted by: NicoGl - May-23-2018, 09:11 PM - Forum: GUI - Replies (4)

Hello everyone,
I have a quick question. We got an assignment by our Computer Science teacher and she gave us this task to complete:
Draw a detailed..... More

Print this item

  Simple Code, "Video System not Initialized"
Posted by: DaxDaTrade - May-23-2018, 07:42 PM - Forum: Game Development - Replies (2)

Just started to get into programming with pygame. Unfortunately, I am constantly getting the following error:

[b]"C:\Programming\pygame.template.py..... More

Print this item

  New Programmer/Need assistance with if statements
Posted by: KayPyth - May-23-2018, 07:22 PM - Forum: General Coding Help - Replies (4)

Hi Everyone---New programmer. I am trying to create a program that helps women locate good products for their hair type. I just got started and I am r..... More

Print this item

  Print Nested List Line by Line
Posted by: anelliaf - May-23-2018, 06:19 PM - Forum: General Coding Help - Replies (5)

Hello,

I have the following nested list:

>>> print(list_mounts)
[['/var', 71], ['/u01', 61], ['/backups', 69]]
I'd like..... More

Print this item

  ThinkPython Exercise 9.3
Posted by: sangurocactus - May-23-2018, 06:06 PM - Forum: General Coding Help - Replies (13)

Hello, I am working on ThinkPython exercise 9.3 which asks us to write a function that determines whether any word contains a list of "forbidden lette..... More

Print this item

  Using USB
Posted by: KenHorse - May-23-2018, 05:45 PM - Forum: General Coding Help - No Replies

So I have a USB to serial converter on /dev/ttyUSB0 and try writing to it but nothing happens:

[python]#!/usr/bin/python


import serial
import..... More

Print this item

  Why does function print require bracket for text?
Posted by: richardm55 - May-23-2018, 05:34 PM - Forum: General Coding Help - Replies (2)

Hello,
I've just started to learn Python from the book "Python from beginning" Peter Norton.
In chapter 1 I learnt about using function print and it..... More

Print this item

  Anaconda / Spyder / VPython
Posted by: mwatson87 - May-23-2018, 04:49 PM - Forum: General Coding Help - Replies (3)

Hi,

Has anyone had experience installing the VPython module in Anaconda and running it within Spyder?

My company laptop has Anaconda and Spyder ..... More

Print this item

  UnboundLocalError: local variable 'a' referenced before assignment
Posted by: fad3r - May-23-2018, 04:21 PM - Forum: Homework - Replies (3)

Hi again,
I am working on more homework. I have ideas of how to solve the problem but I am running into a bug I don't understand

[python]

def not_b..... More

Print this item

  Need some help with merging two scripts
Posted by: Kimzer - May-23-2018, 04:18 PM - Forum: General Coding Help - Replies (5)

Would you be able to assist a noobie here with a small python script?

Editing my question. As the below code worked for what it was intended.

No..... More

Print this item

  for in loop
Posted by: Robert - May-23-2018, 03:57 PM - Forum: General Coding Help - Replies (1)

s = "ball"
r = ""
for item in s:
    r = item.upper() +  r
print(r)
Output will be LLAB, i.e print from the back.
Why is that..... More

Print this item

  plot the mean in a bar diagram
Posted by: sussii - May-23-2018, 03:47 PM - Forum: Homework - Replies (3)

Hi, I need some help with writing a code.
I have a text file where it contains number of decays per second. I want to make a bar diagram of the distr..... More

Print this item

  Standlone Tkinter cxFreeze
Posted by: stho - May-23-2018, 03:44 PM - Forum: General Coding Help - No Replies

Hi,

I would like to make a standalone-exe with Cx-Freeze for a basic Tkinter-GUI ("Hello World"):

[python]import tkinter as tk

class Window(..... More

Print this item

  Print in single line
Posted by: abaciocco - May-23-2018, 03:43 PM - Forum: General Coding Help - Replies (1)

This print in multiple lines

for i in range(1,9):
   print(i)
This print in single line concatenated
[python]
for i in range..... More

Print this item

  How Do I find Index of a character in string?
Posted by: ilcaa72 - May-23-2018, 03:24 PM - Forum: General Coding Help - Replies (5)

how do i find index of each character,

myString = "kitti"
for char in mystring:
    print(index of each letter)

Print this item

  Troubles on how to use Open CV
Posted by: knowledge1st - May-23-2018, 03:00 PM - Forum: Homework - Replies (1)

Hello, new at the forum so if something that i write is wrong, let me know..

First, i made few simple, very simple, codes in python.. but they work..... More

Print this item

  Traceback error
Posted by: tjnichols - May-23-2018, 02:28 PM - Forum: Web Scraping & Web Development - Replies (55)

When I run the following [python]import requests
from bs4 import BeautifulSoup
from pathlib import Path

class GetCompletions:
def __init__(s..... More

Print this item

  Help with PyQt5
Posted by: PVfan - May-23-2018, 01:59 PM - Forum: GUI - Replies (1)

Hi to all,
I am new in Python and i would be very pleased if you would help me.

I have a code in Python (i use spyder(python 3.6)), that read exce..... More

Print this item

  How to group variables & check correlation of group variables wrt single variable
Posted by: SriRajesh - May-23-2018, 01:39 PM - Forum: Data Science - Replies (2)

[python]Var1 Var2 Var3
6 4.6 5
8 5.9 6
14 8.2 8
6 1 2.6
7 2.6 9.3
9 11.2 0.2
4 ..... More

Print this item

  twisted.internet.error.ConnectionLost
Posted by: phob0s - May-23-2018, 12:57 PM - Forum: General Coding Help - No Replies

Hello,

I am beginner in python coding.

I installed python JasminSMS and everything works except that the script to record the messages stops at ..... More

Print this item

  [split] Teacher (thrown in at the deep end - help)
Posted by: Mr90 - May-23-2018, 12:25 PM - Forum: General Coding Help - Replies (2)

One of the kids in my class (who has obviously taken an interest in programming) has come to me with a problem - I've attempted to work out what the i..... More

Print this item

  Getting Started
Posted by: wargasme - May-23-2018, 11:11 AM - Forum: General Coding Help - Replies (5)

Hello guys,

So i'm a complete noob when it comes to programming but i wanted to get started with Python. I've installed python 2.7.15 and when i ty..... More

Print this item

  How to run python script which has dependent python script in another folder?
Posted by: PrateekG - May-23-2018, 10:35 AM - Forum: General Coding Help - Replies (1)

Hi All,

I need your help for following issue-

I have a structured python project where there are 3 directories- A,B,C
Inside these directories ..... More

Print this item

  How to perform predictions on a data in csv file using Flask?
Posted by: manjusavanth - May-23-2018, 09:03 AM - Forum: Web Scraping & Web Development - No Replies

I have built a machine learning classifier model, I was able to create a FLASK api for single request/response prediction of classification model.
..... More

Print this item

  source code is not running in REDHAT 7 linux platform
Posted by: shridhara - May-23-2018, 07:58 AM - Forum: GUI - No Replies

hi all,

source code is already implemented and running in windows7 platform using python3.4 and 3.4 it is succesfully output generated
but whe..... More

Print this item

  Handle giant 2D map
Posted by: MrMahus - May-23-2018, 07:32 AM - Forum: Game Development - Replies (3)

Hi everyone !

I'm posting here to get some help about a "concept" in coding. In fact, i've coding a little code which allows me to display an obje..... More

Print this item

  how to put history=0 in command prompt
Posted by: sylas - May-23-2018, 07:25 AM - Forum: Bar - Replies (16)

Hi all! I have about 100 commands possible in command prompt. Most of them are repeated. "history" alone shows these possible commands. But impossible..... More

Print this item

  FileNotFoundError in newly structured Python project
Posted by: PrateekG - May-23-2018, 06:20 AM - Forum: General Coding Help - No Replies

Hi,

I have restructured my existing python 3.6 project and it's folders look like as the attached file.
Inside the utils folder there is a python ..... More

Print this item

  How can i restrict the number of characters in an input?
Posted by: kevencript - May-23-2018, 05:04 AM - Forum: General Coding Help - Replies (1)

Hello, world!

So, i wanna restrict the number of characters in an input, for exemple:

num1 = int(input("Type your age: ")) #here i want the user can..... More

Print this item

  Basic coding question with Python
Posted by: Than999 - May-23-2018, 04:24 AM - Forum: General Coding Help - Replies (3)

Hi, what is wrong with my code here?

[python]twinkies = 250

if twinkies => 100 and twinkies <= 500:
print('too few or too many')
else:
prin..... More

Print this item

  I need help on a basic coding question
Posted by: Presssure - May-23-2018, 04:10 AM - Forum: Homework - Replies (1)

So i'm using this site called grok and it asked more to code this:

While spring cleaning your bedroom, you find a bunch of receipts for things you ..... More

Print this item

  Help Needed
Posted by: alwillia - May-23-2018, 03:31 AM - Forum: Homework - Replies (4)

Need help for the following:

[python]
numerator = int(input("Enter a numerator: "))
denominator = int(input("Enter denominator: "))

# Use a wh..... More

Print this item

  How to run existing python script parallel using multiprocessing
Posted by: lravikumarvsp - May-23-2018, 03:04 AM - Forum: Data Science - Replies (3)

Hi

I had a python script which will search for directories containing the specific name and then search for the error files in those directories.
..... More

Print this item

  Errors in Python
Posted by: dttomoum - May-23-2018, 12:48 AM - Forum: General Coding Help - Replies (1)

Dear All,
I faced the following issue: i created a code that crashed Spider (annaconda) program and Udacity (learning institute) python platform caus..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Creating a Mindmap progra... 4 hours ago J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 6 hours ago compuman145 compuman145 General Codin...
  A coding beginner needs h... Today, 03:29 Littlefish Littlefish General Codin...
  Is the interpreter that c... Today, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... Yesterday, 20:56 Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
Most views
  The best Prog... 576703
  Tutorial Requ... 498888
  Web Scraping ... 440516
  Newbie with P... 384482
  New Users Int... 368219
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+ 12087
buran 8176
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Markbel386 Today
trntgl Today
susan Today
jatinkumar12 Today
angelhealu504 Today

User Panel Messages

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