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,271
» Latest member: aminrony1999
» Forum threads: 38,787
» Forum posts: 175,855

Full Statistics

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

Latest Threads
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
3 hours ago
» Replies: 4
» Views: 127
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: Tuurbo46
6 hours ago
» Replies: 2
» Views: 115
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
6 hours ago
» Replies: 2
» Views: 100
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 146
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 341
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 60
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 98
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 341
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 189
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 297

 
  List Indices must be Integers?
Posted by: midnitetots12 - Feb-07-2018, 10:19 PM - Forum: General Coding Help - Replies (1)

I'm trying to plot a list of the the outputs as a list with the corresponding time values, for this function with a varied number of iterations. I'm n..... More

Print this item

  Batch job from epoch to human time
Posted by: jheeman - Feb-07-2018, 09:36 PM - Forum: General Coding Help - Replies (6)

Hi everyone, pretty new to python. I am a voice engineer by trade, but am trying to learn, as automation is huge in my field. That being said here i..... More

Print this item

  python modules?
Posted by: Kuron3ko - Feb-07-2018, 09:19 PM - Forum: Homework - Replies (5)

Hey all,

I'm really new to python(I used C/C++ in the past and strongly prefer it). I'm having trouble using "modules". What I got was that they're s..... More

Print this item

  High School coding club
Posted by: willnida - Feb-07-2018, 09:14 PM - Forum: News and Discussions - Replies (7)

Hello! Just recently, a couple of guys at my high school and I were thinking about starting a coding club. We know for sure that we are going to learn..... More

Print this item

  [Selenium] Any Tricks To Block Junk Scripts From Loading?
Posted by: digitalmatic7 - Feb-07-2018, 08:50 PM - Forum: Web Scraping & Web Development - No Replies

When I visit CNN for example, it loads all kinds of junk that makes the load time really high:

[img]https://image.prntscr.com/image/seIvtm_XTfmJKEX..... More

Print this item

  Output explanation
Posted by: AmanTripathi - Feb-07-2018, 07:39 PM - Forum: Homework - Replies (2)

I am unable to understand the output of this program. Can someone explain it to me?

stuff=dict()
print(stuff.get('candy',-1))

Print this item

  the principle of writing program menus for Linux
Posted by: Nikolas - Feb-07-2018, 06:35 PM - Forum: Bar - Replies (1)

Hi there.

I'm doing a little bit in the Blender Game Engine - as long as a hobby.

Studied Python, at the level of BGE. Here are some of my resu..... More

Print this item

  How do I write a line of code into an excel spreadsheet using Python code?
Posted by: Emerogork - Feb-07-2018, 05:54 PM - Forum: Data Science - Replies (2)

My python code writing experience is scarcely a month and and I am now the proud parent of what has become a 500 line program written in python that p..... More

Print this item

  Variables
Posted by: Demini - Feb-07-2018, 05:29 PM - Forum: General Coding Help - Replies (5)

Trying to understand why I don't get the result the books says. (Python Crash Course)
message = "Hello Python world!"
print(message)
message = "Hel..... More

Print this item

  Simple code help needed
Posted by: Harveyyy - Feb-07-2018, 05:21 PM - Forum: General Coding Help - Replies (3)

I'm quite new to Python, and need help with a simple code.
------------------------------------------------------------------------------------
[pyt..... More

Print this item

  I have subclassed complex, but don't understand why it's working
Posted by: NeilUK - Feb-07-2018, 04:27 PM - Forum: General Coding Help - Replies (1)

I'm using python 3.5. I want a class that's essentially a complex number, and behaves as such in arithmetic, but for reasons that I won't go into, I w..... More

Print this item

  Is it possible to access and list all macro names in an excel file?
Posted by: kwfine - Feb-07-2018, 04:21 PM - Forum: General Coding Help - No Replies

Hi all,

I have an excel file with several macro.

Is it possible to list these macro names using python?

I have installed xlrd-1.1.0-py2.py3-n..... More

Print this item

  How to find a specific word in a webpage and How to count it.
Posted by: pratheep - Feb-07-2018, 04:06 PM - Forum: Web Scraping & Web Development - Replies (11)

I am doing a project.
I don't know how to find a given word in a webpage and I want to count the occurrence of the given word.
I need a help in doin..... More

Print this item

  How can I save a class as a module
Posted by: sakawaka - Feb-07-2018, 02:40 PM - Forum: General Coding Help - Replies (2)

Hello pals;

I have been using C++ and just a newbie in python programming, however, it seem quite difficult for me to save my class in python as a ..... More

Print this item

  Rebuilding sklearn/tree package inside anaconda3
Posted by: koukou - Feb-07-2018, 01:50 PM - Forum: General Coding Help - No Replies

Hi,
I look for modifying the _criterion.pyx file inside sklearn/tree. In fact, under this path, there is only _criterion.pyd (compiled f..... More

Print this item

  pdf with entropy shannon read csv
Posted by: Joey21 - Feb-07-2018, 01:45 PM - Forum: Homework - Replies (5)

hi,

i saw the this library scipy.stats.norm.
I am very new in Python , so my question is
how i can read my csv file and implement it in the cod..... More

Print this item

  install pip on windows box / version win 7
Posted by: apollo - Feb-07-2018, 01:28 PM - Forum: General Coding Help - Replies (4)

'm having a hard time setting up python packages.



For instance to install pip,


i think i have to do some steps:


So first, i try to installl..... More

Print this item

  Current time on x axis in matplolib
Posted by: Stumpy_L - Feb-07-2018, 11:38 AM - Forum: Data Science - Replies (2)

I'm monitoring and plotting temperature and pressure and would like to do so over the last 24 hours. I am getting the data from an Arduino sending the..... More

Print this item

  Any HTML2 library
Posted by: wavic - Feb-07-2018, 10:56 AM - Forum: Networking - Replies (2)

Any HTML2 module I can use with Python? As a client side. I wonder if one of the built-ins has such capabilities.

Print this item

  Program: add the digits
Posted by: zenort - Feb-07-2018, 09:48 AM - Forum: Homework - Replies (4)

I have completed two parts of the problem, but I am stuck in the .join () method Wall Wall Wall
I don't know how to add "+"
Can someone ..... More

Print this item

  Even 3.5.4 can not be installed in my Windows 7
Posted by: kwfine - Feb-07-2018, 09:12 AM - Forum: General Coding Help - Replies (2)

Hi all,

I am using Windows 7.
I was trying to install python 3.6.1, but it was not successful.
The popup message told me that I needed to update ..... More

Print this item

  Lookup tables
Posted by: parrytoss - Feb-07-2018, 08:45 AM - Forum: General Coding Help - No Replies

Hi everyone,

I have a huge database of results for thousands of simulations that I have run in Abaqus.

I want to write a lookup table in Python ..... More

Print this item

  How to remove empty line between two print functions
Posted by: BigEasy - Feb-07-2018, 08:33 AM - Forum: General Coding Help - Replies (1)

Hello,

I'm new to python and this is my first post.

I'm trying to write a function that would need me to print a triangle made of "*"s

Here ..... More

Print this item

  this thing i have created for Linux rocks!
Posted by: Skaperen - Feb-07-2018, 08:15 AM - Forum: Bar - Replies (3)

this thing i have created for Linux rocks! at least for me, it does. i use the command line quite heavily. even though i run my laptop in graphical..... More

Print this item

  How to run atom python script on idle press on keyboard shortcut.
Posted by: sonjoypall - Feb-07-2018, 07:30 AM - Forum: General Coding Help - Replies (2)

As python code editor I like Atom. But I am feeling bore to run the script on cmd. Because all the time i have to select the path disk and file. So I ..... More

Print this item

  Syntax Error
Posted by: bonnerj - Feb-07-2018, 04:45 AM - Forum: Homework - Replies (1)

Hello, I am new to programming and am having trouble with a program I am creating. I am using an array to create a tax form with 13 lines. At line 7 a..... More

Print this item

  function state between calls
Posted by: Skaperen - Feb-07-2018, 02:20 AM - Forum: General Coding Help - Replies (5)

when i write a function that needs to keep state (such as a count of the number of times it has been called) what i have been doing is putting a varia..... More

Print this item

  I can not play mp3 in pygame
Posted by: vinicius - Feb-07-2018, 01:21 AM - Forum: Game Development - Replies (4)

import pygame
from pygame import mixer
pygame.init()
mixer.init()
mixer.music.load('21.lnk')
mixer.music.play()

Print this item

  dividing large numbers
Posted by: charlemayn - Feb-07-2018, 12:56 AM - Forum: General Coding Help - Replies (7)

import decimal
d = decimal.Decimal
bignum = d(789723589032748930274982037498230742890347283904728390472389047230984)
a = bignum/(bignum-1) #should..... More

Print this item

  function with radius as a parameter that returns area of a circle
Posted by: taydeal20 - Feb-06-2018, 11:34 PM - Forum: Homework - Replies (4)

Instructions: Write a function named circle_area that accepts the radius of a circle as a parameter (as a number) and returns the area of a circle wit..... More

Print this item

  Selenium chromedriver and click action
Posted by: Gilles95 - Feb-06-2018, 10:07 PM - Forum: Web Scraping & Web Development - Replies (4)

Hello,

I am new to this and I am trying to click on a button with selenium and chromedriver, the button element is as below:

<button class="pagi..... More

Print this item

  I can't multiply within my code
Posted by: TypicalBrummie - Feb-06-2018, 07:50 PM - Forum: Homework - Replies (1)

We were given a task at school which means we have to code a program that calculates the highest possible wage for a worker at a toy company. This pro..... More

Print this item

  Unable to get my code to output
Posted by: fadi - Feb-06-2018, 07:49 PM - Forum: General Coding Help - Replies (3)

Hello

I need help figuring out why the code is not outputting anything (I dont get any error) .
Any suggestions

[python]import math
import random
..... More

Print this item

  Time event
Posted by: xxl1087 - Feb-06-2018, 07:33 PM - Forum: General Coding Help - Replies (5)

I looked everywhere and it look like Chinese for me..
I can't figure how to get a simple time event as following:
if time is between x and y
this h..... More

Print this item

  search file extention in sub directories
Posted by: mr_byte31 - Feb-06-2018, 07:06 PM - Forum: General Coding Help - Replies (1)

Hi All,

I am making a script to find a file with certain extension.
here is my code
[python]
import glob
searchCriteria = myDir + r'\**\*.csv'..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [SOLVED] Access keys and ... 3 hours ago Winfried Winfried General Codin...
  Graph Interpolate Difficu... 6 hours ago Tuurbo46 Tuurbo46 General Codin...
  PermissionError: [Errno 1... 6 hours ago Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579064
  Tutorial Requ... 511108
  Web Scraping ... 442055
  Newbie with P... 386105
  New Users Int... 378306
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 8196
snippsat 7389
deanhystad 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aminrony1999 Today
fobby888 Today
digitalboy346 Today
ben9090o Today
ViktoriaMetodieva Today

User Panel Messages

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