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,963
» Latest member: chaoh1911
» Forum threads: 38,729
» Forum posts: 175,541

Full Statistics

Online Users
There are currently 48 online users.
» 0 Member(s) | 38 Guest(s)
Bing, Applebot, Google, AOL, Twitter, AOL

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
1 hour ago
» Replies: 4
» Views: 1,880
My First App
Forum: Code Review
Last Post: carlbidwell
9 hours ago
» Replies: 8
» Views: 8,478
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Today, 03:54 AM
» Replies: 3
» Views: 372
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Yesterday, 05:13 PM
» Replies: 4
» Views: 817
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 869
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 5,126
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,759
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,795
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 393
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 663

 
  double pendulum help. (matplotlib)
Posted by: FramedLink - Nov-06-2018, 01:49 PM - Forum: Data Science - Replies (1)

code location:
https://matplotlib.org/examples/animatio...mated.html

[python]
"""
===========================
The double pend..... More

Print this item

  PDF to CSV, can't get the module "miner text generator"
Posted by: BeatJuice - Nov-06-2018, 09:08 AM - Forum: Data Science - Replies (3)

Hey guys!

I hope you can help me with this little code I need. I want to export a pdf as a csv file. I found this code, but it can't seem to find ..... More

Print this item

  Mixed string,Integer input variable issue
Posted by: maderdash - Nov-06-2018, 08:51 AM - Forum: General Coding Help - Replies (2)

The issue I am having is that when I input a number [1-3] It is accepted but I can not get it to be viewed as a variable.
So it will print "Line_2" b..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... 1 hour ago arbiel Gribouillis General Codin...
  My First App 9 hours ago BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Today, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... Yesterday, 17:13 RonR noisefloor GUI
  Is the interpreter that c... Yesterday, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... Yesterday, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... Yesterday, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... Yesterday, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Yesterday, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
Most views
  The best Prog... 577150
  Tutorial Requ... 500064
  Web Scraping ... 440860
  Newbie with P... 384865
  New Users Int... 369095
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+ 12088
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
chaoh1911 Today
KaydenJonah098 Today
carlbidwell Today
llarkin6 Yesterday
Xuitar Yesterday

User Panel Messages

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