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,306
» Latest member: ifdainstitute7
» Forum threads: 38,798
» Forum posts: 175,911

Full Statistics

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

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
1 hour ago
» Replies: 8
» Views: 200
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
6 hours ago
» Replies: 3
» Views: 11,094
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 10:44 AM
» Replies: 4
» Views: 180
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 04:44 AM
» Replies: 8
» Views: 702
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,820
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 172
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 148
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 238
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,224
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 341

 
  Isn't anyone using HomeAssistant.io here?
Posted by: pcsailor - Nov-06-2018, 05:52 AM - Forum: Bar - Replies (6)

Hi,

I've been slowly learning about Home Assistant and looking ..... More

Print this item

  I'm really happy to be working with Python
Posted by: pcsailor - Nov-06-2018, 05:43 AM - Forum: Bar - Replies (13)

Hi,

I just want to say, I'm really happy to be working with Python. There aren't enough hours in my day for all that I want to do and learn with P..... More

Print this item

  unit test roll die
Posted by: saladgg - Nov-06-2018, 04:41 AM - Forum: General Coding Help - Replies (5)

I am beginner at tests. I am trying to do a unit test for a roll die program.
I have tried many options and failed.

Here is the code:
[python]fro..... More

Print this item

  c++ for python
Posted by: dexter - Nov-06-2018, 01:39 AM - Forum: Homework - Replies (4)

Hello guys,

I'm new to python and am trying to rewrite a c++ code to python.

In the script in c++ has the code:
[python]for (i = 0; i < t; i++)..... More

Print this item

  windows update
Posted by: EmilySenechal - Nov-06-2018, 01:30 AM - Forum: General Coding Help - Replies (5)

My laptop did a windows update the other day. Now my powershell won't notice the path to pyton. Has anyone else had this problem or knows how to fix i..... More

Print this item

  numpy dtype anomaly
Posted by: bluefrog - Nov-05-2018, 09:09 PM - Forum: Data Science - Replies (4)

I'm attempting to load 2 arrays from 2 columns read from a file . The file is delimited and I'm using numpy's loadtxt() function to load the arrays, l..... More

Print this item

  How do I truncate a variable i Python
Posted by: anasa - Nov-05-2018, 06:44 PM - Forum: Homework - Replies (5)

Hi,
I am new to this forum and need some help to my school project.
How can I truncate a variable?

Print this item

  GUIZERO andnfrom threading import Thread import pyttsx3 engine = pyttsx3.inithreading
Posted by: subhankar2028 - Nov-05-2018, 06:26 PM - Forum: GUI - No Replies

[python]from threading import Thread
import pyttsx3
engine = pyttsx3.init()
from guizero import App, TextBox, PushButton, Text, alerts,Slider
from..... More

Print this item

  Messenger Library for MVC-like Patterns
Posted by: CanadaGuy - Nov-05-2018, 04:00 PM - Forum: General Coding Help - Replies (2)

I'm new to Python, and while I've done a fair bit of programming in general, the bulk has been highly unstructured and almost entirely for my own purp..... More

Print this item

  Numpy library working out cosine.
Posted by: 6pathsMadara - Nov-05-2018, 03:27 PM - Forum: Data Science - Replies (1)

[python]
import numpy as np

a = np.array([1, 2])
b = np.array([2, 1])

dot = 0

cosangle = a.dot(b) / (np.linalg.norm(a) * np.linalg.norm(b))..... More

Print this item

  Equation Solver
Posted by: cur - Nov-05-2018, 03:04 PM - Forum: Homework - Replies (1)

Hello every one.
is there any library that able to calculate integral interval of below formula (T2) for given Pratio, Nc, T1, Cp air, Cp H20, Xh20, ..... More

Print this item

  Zip Keyword in For loop
Posted by: 6pathsMadara - Nov-05-2018, 02:12 PM - Forum: Data Science - Replies (2)

[python]
import numpy as np

a = np.array([1, 2])
b = np.array([2, 1])

dot = 0

for e, f in zip(a, b):
dot = dot + e*f
print(dot)
[/py..... More

Print this item

  My Pygame Project's Problem **huh**
Posted by: osmanb06 - Nov-05-2018, 02:07 PM - Forum: Game Development - Replies (2)

Hi everyone,
I have a problem on my project.Firstly,I am sharing my project code:

[python]import pygame
import random
import math

pygame.init()

WID..... More

Print this item

  Ordering a list of dict
Posted by: giu88 - Nov-05-2018, 01:48 PM - Forum: General Coding Help - Replies (2)

Hello everybody,

I have a list of dictionaries i need to perform some actions on. Following the sample code:

[python]
j = json.loads(value)
#..... More

Print this item

  Error loading MySQLdb module.
Posted by: pythonsmurf - Nov-05-2018, 01:23 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi all,

Apologies, i am new to python and django, this might be a simple question.

I *had* a perfectly working environment using Django and MyS..... More

Print this item

  Extend the scale
Posted by: Krszt - Nov-05-2018, 12:58 PM - Forum: General Coding Help - Replies (1)

Hello,

I am using matplotlib to make a scatter-plot, here is the code:
[python]if os.path.isfile("example.txt"):
days_KECS, intensity_KECS = ..... More

Print this item

  determine if an number is in a list
Posted by: Dbeah - Nov-05-2018, 12:43 PM - Forum: General Coding Help - Replies (7)

what should i use for the elif statement to get number not in the list

[python]
import random

def rollBall():

system = [0,9,20,24,25,35..... More

Print this item

  Default gif for wx.adv.AnimationCtrl?
Posted by: buran - Nov-05-2018, 10:58 AM - Forum: GUI - No Replies

I am playing with different controls in wxPython Phoenix and I am looking at the example of wx.adv.AnimationCtrl
In the demo, they supply ws.adv.Anim..... More

Print this item

  Concatenate multiple csv files
Posted by: Oscarca - Nov-05-2018, 10:02 AM - Forum: Data Science - Replies (1)

Hello python gurus,

I am trying to concatenate multiple data frames but when I run the application it gives me this error:
KeyError: 'Level Date must..... More

Print this item

  Is this possible in Python? Auto-Send-to-printer on script run?
Posted by: pcsailor - Nov-05-2018, 09:41 AM - Forum: General Coding Help - Replies (8)

Hello,

Is this possible in Python?

I'm completing a project and as a last step for some non-technical coworkers, I want to automatically send ..... More

Print this item

  Counting the number of files related to particular format
Posted by: ambush - Nov-05-2018, 03:10 AM - Forum: General Coding Help - Replies (3)

In a folder there are different file formats such as jpeg,jpg,pdf and psd. Following program can count the files in a particular format.If the folde..... More

Print this item

  Please help with Create Custom class Robot():
Posted by: TheRealOne - Nov-05-2018, 01:18 AM - Forum: Homework - Replies (5)

Hello,
The below is the homework assignment we have been assigned and due at midnight. If anyone is able to assist with a solution that would be grea..... More

Print this item

  Guessing Game with .WAV Files - Python Coding
Posted by: NonEntity - Nov-04-2018, 11:23 PM - Forum: General Coding Help - Replies (8)

I've been working on a project but it appears I've gotten a tad... Stuck. I don't know how to code the guessing part. The random music playing is okay..... More

Print this item

  'list' object has no attribute 'reshape'
Posted by: SamSoftwareLtd - Nov-04-2018, 10:03 PM - Forum: Data Science - Replies (1)

Hi All,

I've just joined this forum, also new to Python, with background in other languages.

I've been trying a small piece of code below using ..... More

Print this item

  Why can't I print numbers in Python?
Posted by: skrivver99 - Nov-04-2018, 09:29 PM - Forum: General Coding Help - Replies (2)

I am using Python 3.5 with IDLE for Python 3.5.

Whenever I try to print numbers, I have to use quotation marks like I was printing script. Whenever..... More

Print this item

  Expression Creator (Code for Answer)
Posted by: SheeppOSU - Nov-04-2018, 09:13 PM - Forum: Homework - Replies (1)

I made an expression creator. I only need one more line to fill in which is line 48. I would appreciate it if someone could give me code for line 48 a..... More

Print this item

  Help with blitting and events
Posted by: elxleon42 - Nov-04-2018, 09:04 PM - Forum: Game Development - Replies (1)

So I have an assignment that is giving me some trouble. A lot of the code is given by the professor and we have to go in and complete the assignment. ..... More

Print this item

  Arduino Uno connected to PI 0 W - Sensor Data MQTT
Posted by: runboy - Nov-04-2018, 08:10 PM - Forum: General Coding Help - Replies (4)

Anybody has a reference to a good example of how to best transfer sensor data from Arduino Uno to Raspberry Pi over the USB Cable?

I can figure out..... More

Print this item

  Python count
Posted by: mohan7490 - Nov-04-2018, 06:28 PM - Forum: Homework - Replies (3)

Can somebody help me with the below problem. I want to convert the comma delimited values into count of products for each customer
Cust Prod
A Can, ..... More

Print this item

  How to create custom error bars in matplotlib.pyplot?
Posted by: wlsa - Nov-04-2018, 06:22 PM - Forum: Homework - Replies (1)

I have created a list of average monthly temperatures and the high and low temperatures for each month. I am being asked to create a bar graph for eac..... More

Print this item

  selneium JS bypass
Posted by: metulburr - Nov-04-2018, 05:05 PM - Forum: Web Scraping & Web Development - Replies (15)

I have a program that is a couple years old. When ran it loops through a bunch of accounts and clips all coupons on each account. Recently, on some ac..... More

Print this item

  determine if an number is in a list
Posted by: Dbeah - Nov-04-2018, 04:13 PM - Forum: General Coding Help - Replies (1)

hi, am new at python trying to learn
is there away for me to know if its in the list?

[python]
import random

def rollBall():

system = ..... More

Print this item

  Validating credit card
Posted by: frequency - Nov-04-2018, 01:03 PM - Forum: General Coding Help - Replies (8)

Hello,
I have been trying to make a credit card validator but i keep getting an error. I have created a special fuction that removes the empty spaces..... More

Print this item

  Remove special character from list
Posted by: vestkok - Nov-04-2018, 11:59 AM - Forum: Homework - Replies (3)

Hi guys, if I would to put ' symbol in the symbols, it is obvious that I won't be getting the desire outcome.

I would like to preserve the ' symbol o..... More

Print this item

  Error ' Attribute error: 'str' object has no attribute 'items'' in pyinstaller
Posted by: manhnt - Nov-04-2018, 11:21 AM - Forum: General Coding Help - Replies (2)

I tried to convert a .py file format to a .exe file by using PyInstaller.It seems not to work with this error: [quote]' Attribute error: 'str' object ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 1 hour ago Lou snippsat General Codin...
  Python Online Compiler 6 hours ago alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... Yesterday, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... Yesterday, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 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... 579484
  Tutorial Requ... 512736
  Web Scraping ... 442352
  Newbie with P... 386394
  New Users Int... 381670
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 7393
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
ifdainstitute7 Today
MOHAMMAD_mk Today
virvainfotech Today
IFDA123 Yesterday
TimTom420 11-27

User Panel Messages

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