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,281
» Latest member: drakhsin
» Forum threads: 38,792
» Forum posts: 175,870

Full Statistics

Online Users
There are currently 46 online users.
» 0 Member(s) | 38 Guest(s)
Applebot, Bing, Google, Facebook Dev

Latest Threads
data fetching for indian ...
Forum: General Coding Help
Last Post: drakhsin
6 hours ago
» Replies: 0
» Views: 30
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Yesterday, 08:30 PM
» Replies: 0
» Views: 37
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:15 AM
» Replies: 4
» Views: 1,468
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 122
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 48
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,040
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,291
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 340
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 177
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 242

 
  ınput-output HELP!
Posted by: bwdu - Apr-18-2020, 06:43 PM - Forum: General Coding Help - Replies (1)

Hi everybody!
In the code below ı M trying to write a program, that takes an integer n as command-line argument, reads
in n − 1 distinct integers be..... More

Print this item

  invalid syntax on Python 3.8.2
Posted by: REN - Apr-18-2020, 06:04 PM - Forum: News and Discussions - Replies (7)

Hello. My Terminal cannot execute what I write on IDLE.
The input was very simple.
x="hello"
print(x)

What do I have to do on Python 3.8.2 with ..... More

Print this item

  Unable to get current contents of the entry field where the content is the file path
Posted by: pmpinaki - Apr-18-2020, 06:02 PM - Forum: GUI - Replies (1)

My intention , allow user to select a file from the file explorer by clicking a button on Tkinter window application. I handled this button command us..... More

Print this item

  Using ROOT and opening TCanvas
Posted by: jj15g - Apr-18-2020, 05:41 PM - Forum: General Coding Help - Replies (1)

I'm creating a program to make some histograms from a datafile. I'm not sure how to use ROOT for this. This is my code

[python]#! /usr/bin/env pyth..... More

Print this item

  How to get a new line
Posted by: Calli - Apr-18-2020, 05:13 PM - Forum: Web Scraping & Web Development - Replies (2)

After scrapping the website everything works like expected here is the code
[python]
#!/usr/bin/python

import urllib2
from bs4 import BeautifulS..... More

Print this item

  Understand list comprehension and draw
Posted by: PUP280 - Apr-18-2020, 05:07 PM - Forum: General Coding Help - Replies (9)

Hello,

I'm a beginner and I try a lot of things with list comprehension to understand it. Considering that, I don't understand some things.

Firs..... More

Print this item

  Particle Physics and some for loops (ROOT required)
Posted by: jj15g - Apr-18-2020, 05:06 PM - Forum: General Coding Help - No Replies

Hello I'm working with a data file in the following format:

[output]4
1 0 0.000e+00 0.00000e+00 5.00000e+00 5.00000+00
8 1 2.842390e-01 -1.81830..... More

Print this item

  Measurement UI - Browser-based or GUI
Posted by: daneel42 - Apr-18-2020, 04:49 PM - Forum: GUI - No Replies

I need some suggestions and advice on what systems/framework to use to build a measurememt app/program.

sorry for the basic question, but this is m..... More

Print this item

  Throwing an error
Posted by: Nevalle - Apr-18-2020, 03:21 PM - Forum: Homework - Replies (2)

Hey all, This was a past homework assignment that I just wanted to get clarification on in regards to my code.
The program is suppose to roll 2 dice,..... More

Print this item

  TypeError: a bytes-like object is required, not 'str'.
Posted by: jacklee26 - Apr-18-2020, 03:18 PM - Forum: General Coding Help - Replies (4)

Do anyone know how to convert the byte to str. I used below code work on python2 but if I used python3 it will occur Error like this:
[color=#E74C3C]..... More

Print this item

  Extracting Text in a canvas using chain actions
Posted by: law - Apr-18-2020, 01:55 PM - Forum: Web Scraping & Web Development - Replies (3)

I'm Automating a site which has a canvas inside an Iframe. Have been able to navigate through the canvas and click on buttons using chain actions.
[p..... More

Print this item

  Inserting input into Word doc bookmark
Posted by: shappaeye - Apr-18-2020, 01:43 PM - Forum: General Coding Help - Replies (2)

Hey all,

I have a python script which asks for values from the user in a GUI in Windows, when the values are input, I want them to be placed in a b..... More

Print this item

  [split] Tutorial Requests
Posted by: ravulaajith - Apr-18-2020, 01:31 PM - Forum: Homework - Replies (8)

Hi I am new to python programming. I have to submit an assignment to be submitted. I am trying for the coding part for the past one week. I am not at..... More

Print this item

  Help: Dockable widget
Posted by: mart79 - Apr-18-2020, 01:25 PM - Forum: GUI - No Replies

I have a small GUI that has multiple group boxes (see below code).
Group box 1 (Named: Example 1) can be made visible or hidden using the menu.
How..... More

Print this item

  numpy.float64 object is not iterable
Posted by: jcdr91 - Apr-18-2020, 01:18 PM - Forum: Data Science - Replies (1)

Hi all,

I am a newbie in Python, trying out various ways to play around with Python, i am currently using version 3.7, I am trying to tweak a code ..... More

Print this item

  pip install pyinstaller
Posted by: Henalds - Apr-18-2020, 11:33 AM - Forum: General Coding Help - No Replies

I am trying to install Pyinstaller 3.6 using Pip 20.0.2 with Python 3.7.4 in an Anaconda3 environment but it always says it cant find the setuptools d..... More

Print this item

  Class Improvement
Posted by: Gokberk - Apr-18-2020, 09:58 AM - Forum: Code Review - Replies (4)

In this code, I just try to get data from user about animal nutrition, respiratory, excretory and reproductive. Then, I put these animal data class by..... More

Print this item

  What is error: "TypeError: 'module' object is not callable"
Posted by: phutran - Apr-18-2020, 08:37 AM - Forum: Networking - Replies (3)

[python]import getpass
import sys
import telnetlib
HOST = input("Enter device IP: ")
user = input("Enter your telnet user: ")
password = getpass...... More

Print this item

  Delete all contents of a file from the fifth line?
Posted by: PythonNPC - Apr-18-2020, 08:18 AM - Forum: General Coding Help - Replies (1)

Hello,

I want to delete all the contents of the file from under the fifth line.

Is this doable?
I don't want to just print the file on the cons..... More

Print this item

  average aggregate function
Posted by: winya - Apr-18-2020, 06:46 AM - Forum: Data Science - Replies (3)

How to find average aggregate function for two classifier using method in python?

Print this item

  Passing arguments into function, tkinter
Posted by: nanok66 - Apr-18-2020, 06:21 AM - Forum: GUI - Replies (3)

Hey folks,
I've got a very limited understanding of how to pass information through a function. I have a tkinter page with multiple buttons. (Jus..... More

Print this item

  How to assess elapsed time to execute a .exe file or opening a desktop application?
Posted by: Sudershan - Apr-18-2020, 01:59 AM - Forum: General Coding Help - Replies (2)

I used following code but not got any success. It is not providing the elapsed time to open the pdf file. Please help with suitable code. I am using p..... More

Print this item

  i want to create my own file-like object
Posted by: Skaperen - Apr-17-2020, 11:47 PM - Forum: News and Discussions - No Replies

i want to create my own file-like object that behaves by renaming a file to be written to append a unique temporary string to the created name and on ..... More

Print this item

  tkinter How to pass label fiilename to another module?
Posted by: johnjh - Apr-17-2020, 11:34 PM - Forum: GUI - No Replies

This is work fine if I pass entry but I don't understand how to do it in label filename.
this is same example to pass entry to another function https..... More

Print this item

  For loops in python
Posted by: Boinbo - Apr-17-2020, 11:27 PM - Forum: General Coding Help - Replies (3)

Hey guys! So, I am a new person to these forums, and I am learning python right now. Currently, I'm learning about for loops, but I'm not super sure o..... More

Print this item

  fft calculation from csv file
Posted by: mohammedtaha - Apr-17-2020, 10:59 PM - Forum: Data Science - Replies (4)

hello i want to calculate fft of a sinusoid that i get from a csv file, i tried the fft function, but the specter that i found is not the one that i e..... More

Print this item

  create function let_to_num()
Posted by: al_Czervik - Apr-17-2020, 10:19 PM - Forum: General Coding Help - Replies (2)

In my assignment I have to convert a number to letter using a list. I've been able to do this except I'm stuck on the bonus question. When the input i..... More

Print this item

  urlopen error
Posted by: newmoon - Apr-17-2020, 09:29 PM - Forum: Networking - Replies (2)

Hi, Python Web Scrapers,

I wrote a simple code to use urlopen function, but it didn't work.
I don't know what's wrong with my code.

Python 3.8..... More

Print this item

  min() function in iterable index
Posted by: OokaydO - Apr-17-2020, 09:24 PM - Forum: General Coding Help - Replies (4)

Hi,
For a choice of 4 letters (a, b, c, d) for example, a sequence of letters is displayed, arranged as follows:
[output]aaaaaaa
abbbbba
abcccba
..... More

Print this item

  Building SSH tunnel?
Posted by: searching1 - Apr-17-2020, 08:39 PM - Forum: Networking - No Replies

Hi Everyone,

Would like to know if anyone here has a sample of code related to ssh tunnel using pexpect and default libraries only?

Curr..... More

Print this item

  Tkinter - I need to read file excel from GUI app to script file
Posted by: johnjh - Apr-17-2020, 08:04 PM - Forum: GUI - No Replies

I have an app by Tkinter Controll.py this is my code :


[python]
import os
from tkinter import *
from tkinter import..... More

Print this item

  python ast if-elif confusion
Posted by: holyghost - Apr-17-2020, 07:26 PM - Forum: General Coding Help - Replies (3)

Hi,

I'm working with the python ast and have a question regarding difference between how different else conditions are handled. I'm finding that a..... More

Print this item

  installation problem
Posted by: mkgrtn - Apr-17-2020, 07:15 PM - Forum: General Coding Help - Replies (1)

Hello
I was wondering if I can get some help with the following:
I have been using Python 36-32 with Sublime Text 3 for about a year with no..... More

Print this item

  Tkinter - I have problem after import varaible or function from aGUI to script
Posted by: johnjh - Apr-17-2020, 05:20 PM - Forum: GUI - Replies (2)

I have GUI Tkinter code as aGUI.py :

[python]import os
from tkinter import *
from tkinter import ttk

root = Tk()..... More

Print this item

  Pandas is not getting installed.
Posted by: yellareddy - Apr-17-2020, 05:17 PM - Forum: Data Science - Replies (3)

I'm getting below error while installing pandas. please help to fix this issue.

ERROR: Command errored out with exit status 1:
command: 'c:\pro..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data fetching for indian ... 6 hours ago drakhsin drakhsin General Codin...
  Brazil Python Help to aut... Yesterday, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... Yesterday, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
Most views
  The best Prog... 579236
  Tutorial Requ... 512048
  Web Scraping ... 442163
  Newbie with P... 386286
  New Users Int... 379386
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+ 12109
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
drakhsin Today
MileHigh303 Yesterday
ndx101 Yesterday
OtiliaBecker Yesterday
NAGASOWMYAGUNDU 11-20

User Panel Messages

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