Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,719
» Latest member: Batucada
» Forum threads: 37,435
» Forum posts: 170,091

Full Statistics

Online Users
There are currently 369 online users.
» 2 Member(s) | 359 Guest(s)
Facebook, Yandex, Google, Baidu, Applebot, AOL, snippsat, Axel_Erfurt

Latest Threads
Calculating Average with ...
Forum: General Coding Help
Last Post: snippsat
6 minutes ago
» Replies: 5
» Views: 267
How can you prevent Qt fr...
Forum: GUI
Last Post: Axel_Erfurt
12 minutes ago
» Replies: 1
» Views: 30
How to generate double ar...
Forum: Homework
Last Post: Safinazsalem
2 hours ago
» Replies: 0
» Views: 30
How to make a double loop...
Forum: Data Science
Last Post: Safinazsalem
5 hours ago
» Replies: 0
» Views: 60
Keep getting "SyntaxError...
Forum: General Coding Help
Last Post: Larz60+
8 hours ago
» Replies: 1
» Views: 106
converting an int to byte...
Forum: News and Discussions
Last Post: oilumiun12
10 hours ago
» Replies: 4
» Views: 1,185
DF.groupby(col).min works...
Forum: General Coding Help
Last Post: roryelila68
Today, 03:25 AM
» Replies: 4
» Views: 569
Multi-Threaded Camera Fee...
Forum: General Coding Help
Last Post: Khajababa69
Yesterday, 09:44 PM
» Replies: 0
» Views: 111
[HELP] The Application of...
Forum: Data Science
Last Post: MistyhV1
Yesterday, 02:22 PM
» Replies: 0
» Views: 77
Visualizing musician char...
Forum: Data Science
Last Post: Pedroski55
Yesterday, 05:50 AM
» Replies: 3
» Views: 218

 
  How to get & delete details from each input by clicking a button
Posted by: Vicolas - Jan-30-2019, 08:28 PM - Forum: GUI - Replies (6)

[python]
from tkinter import *
import Pmw
root = Tk()
root.title('EntryField')
var = StringVar()
for i in ['First Name:','Surname','Sex:','Age:'..... More

Print this item

  error mod = num % 2
Posted by: achondrite - Jan-30-2019, 08:15 PM - Forum: General Coding Help - Replies (2)

I try to print out odd and even number but I get error message at line 2 mod = num % 2
Here is the code
[python]
num = input ("Enter a number:")
m..... More

Print this item

  Radial lines using turtle help
Posted by: jakeq12345 - Jan-30-2019, 07:45 PM - Forum: Homework - Replies (1)

[python]def draw_line(t, x, y, angle, length):
t.up()
t.setx(x)
t.sety(y)
t.seth(angle)
t.pd()
t.fd(length)
t.up()[..... More

Print this item

  AttributeError: 'Ball' object has no attribute 'hit_paddle'
Posted by: meza1123 - Jan-30-2019, 07:02 PM - Forum: General Coding Help - Replies (1)

Beginner here. I can't figure out where I went wrong. Can someone help me?

[error]Python 3.6.3 (v3.6.3:2c5fed8, Oct 3 2017, 17:26:49) [MSC v.190..... More

Print this item

  Discord Bot - If Person Mentions Role
Posted by: badmuchachob - Jan-30-2019, 06:39 PM - Forum: General Coding Help - No Replies

Didn't really know where to put this.

I want to make it so if someone mentions a role and types @Fight Hufflepuff, the bot will respond.
Here's my co..... More

Print this item

  Python reliability?
Posted by: OttoBit - Jan-30-2019, 06:14 PM - Forum: General Coding Help - Replies (2)

Hello everyone.
I just wrote (well, I would say copy and paste for the most part) a few lines of code as follow in order to test efficiency:
[python..... More

Print this item

  help with list
Posted by: sonedap - Jan-30-2019, 04:18 PM - Forum: Homework - Replies (22)

[python]
input("give number a")
a= int(input())
input("give number b")
b=int(input())
luck = list()
for i in range(0,b):
luck[i] = a**b
pri..... More

Print this item

  Help with while loop creating an infinite loop.
Posted by: FWendeburg - Jan-30-2019, 04:13 PM - Forum: Homework - Replies (3)

Hi, i have a problem with this python code that should not create an infinite loop. This code should take one item from one list, print a message usin..... More

Print this item

  How to rename Network Interface name
Posted by: aniyanetworks - Jan-30-2019, 03:56 PM - Forum: General Coding Help - Replies (7)

Hello Everyone,
I have a Batch script which is working fine, but I want to achieve the same in the python3.7 script.
Please help.
[icode]netsh inte..... More

Print this item

  help on udp response analysis
Posted by: 4u2fast - Jan-30-2019, 02:39 PM - Forum: Networking - Replies (1)

Hi,

i'm new on python and need some help on best practise for the below:

I have a device working with ESP32 with a Gui for Android but i need to..... More

Print this item

  Mail sending Python - What it's wrong?
Posted by: airwawekz - Jan-30-2019, 02:11 PM - Forum: General Coding Help - Replies (1)

Hello guys, can someone help me?

What it's wrong in my code?

[python]
import pandas as pd
import smtplib
from email.mime.text import MIMEText..... More

Print this item

  Delete a post
Posted by: gehrenfeld - Jan-30-2019, 12:44 PM - Forum: Board - Replies (2)

How do I dlete a post or show that was solved?

Print this item

  Read data of Wireless Modem in Byte Format
Posted by: barry76 - Jan-30-2019, 12:38 PM - Forum: General Coding Help - Replies (2)

Hi, I have been asking a question about Xbee modem, Earlier I have connected the Arduino with Xbee module called as a ..... More

Print this item

  A problem with defining variables
Posted by: meru120 - Jan-30-2019, 11:46 AM - Forum: General Coding Help - Replies (5)

I'm trying to create a function that accepts two numbers and returns the product or the number zero if the result is negative.
I wrote the following ..... More

Print this item

  Group studio for London based Programmers
Posted by: Roo - Jan-30-2019, 11:37 AM - Forum: News and Discussions - Replies (1)

Hi everybody,
I'm very new in this amazing world and I was wondering if anyone is interested in having some group sessions to study, check some scrip..... More

Print this item

  Help With While Loop and Append
Posted by: laprus - Jan-30-2019, 11:02 AM - Forum: Homework - Replies (13)

Hi everyone. I am using python for coding an algorithm and I'm struggling with usage of while and append.

the part of code is:
[python]print('isis..... More

Print this item

  How to deploy flask on wamp
Posted by: Prince_Bhatia - Jan-30-2019, 10:17 AM - Forum: Web Scraping & Web Development - Replies (1)

hi,

I have a python project written in flask using python3.6. Now i have a team of 4-5 people who are going to use it, how can i deploy my python f..... More

Print this item

  cefpython3. JS and Python connection
Posted by: ioprst - Jan-30-2019, 09:04 AM - Forum: General Coding Help - No Replies

Python 3.4. GUI - wxPython.
It is necessary to calculate the size of the text in pixels declared in the SVG document.
[python]
<svg viewBox="0 0 {w..... More

Print this item

  name not defined error
Posted by: jolinchewjb - Jan-30-2019, 08:31 AM - Forum: General Coding Help - Replies (1)

in below program, i try to zip the files under 1139 directory.

[python]import os
import datetime
import zipfile

def zipt(folder):
folder = o..... More

Print this item

  JSON Parsing
Posted by: PythonLearner007 - Jan-30-2019, 02:12 AM - Forum: General Coding Help - Replies (3)

I have a situation where i need to parse a JSON into relation tables. the JSON comprise of dictionaries, list with 4 -5 level nested. also, have a..... More

Print this item

  run executable in separate process thread
Posted by: shift838 - Jan-30-2019, 02:00 AM - Forum: GUI - Replies (1)

I want to be able to call and run an executable in a separate thread so when running it the Python GUI application does not freeze up.

I'm not sure..... More

Print this item

  Help with arrays assignment
Posted by: hyg71886 - Jan-29-2019, 11:33 PM - Forum: Homework - Replies (15)

Good evening. I am new to coding and python this is my fourth week in class. The assignment was

Statistics on football games are often displayed as t..... More

Print this item

  how do I take an input and put it in a function?
Posted by: mitmit293 - Jan-29-2019, 09:12 PM - Forum: General Coding Help - Replies (4)

[python]
from functool import lru_cache

@lru_cache()
def fibonacci(n):
if n == 1:
return 1
elif n == 2:
return 1
elif n > 2:
return..... More

Print this item

  Missing required dependencies when using pyinstaller
Posted by: Ghonim - Jan-29-2019, 08:41 PM - Forum: General Coding Help - Replies (15)

I built a small script using python 3.7.2 on windows 10 64bit.
The script was using pandas library just to create a new xlsx file with some data.
Th..... More

Print this item

  Newbie prob
Posted by: Snakecharmer - Jan-29-2019, 08:24 PM - Forum: General Coding Help - Replies (3)

Hi,
I just installed PyQt4 on a Raspi and I'm totally new to both Python and Qt. I'm trying to do a Hello World - just an empty window should pop up...... More

Print this item

  using py32, just need py64 LIBS for now, how to install?
Posted by: davecotter - Jan-29-2019, 08:23 PM - Forum: General Coding Help - Replies (1)

i have a current project which must continue to be maintained, it is 32bit

so i have Python 32bit installed and am using it in my build system (i'm..... More

Print this item

  [python]FileNotFoundError...System cannot find the path specified
Posted by: creichle - Jan-29-2019, 07:58 PM - Forum: General Coding Help - Replies (1)

I am new to programming and am trying to run some code. I am getting the following error:

[python]FileNotFoundError: [WinError3] The system canno..... More

Print this item

  get the number in the line in text file
Posted by: lateublegende - Jan-29-2019, 05:42 PM - Forum: General Coding Help - Replies (2)

I need your help (again)
I try to get the number who is stock in the line I need to get. this number can be up to three digits (like ###) and I need ..... More

Print this item

  read complex file with both pandas and not
Posted by: Diedro - Jan-29-2019, 04:07 PM - Forum: Data Science - Replies (1)

Dear all,

I have this complex file:

# ID ,116
# Localita  ,SB16
# Lon/Lat ,11.138574,46.886774
# Quota ,1839
..... More

Print this item

  using vars from one file to match lines in another
Posted by: gt76_noobster - Jan-29-2019, 02:50 PM - Forum: General Coding Help - Replies (3)

Hello all,

I have a problem where I have two very long lists and I need to use variables (ip addresses) to match lines in another.
fileseen is th..... More

Print this item

  Https + REST Call + licence + gnutls
Posted by: imo - Jan-29-2019, 02:02 PM - Forum: General Coding Help - No Replies

Hi!

I am looking for a python3 lib for HTTPS REST call but that could be distributted following the LGPL lic.

AFAIK, Requests relies on OpenSSL ..... More

Print this item

  Error: module 'urllib' has no attribute 'urlopen'
Posted by: mitmit293 - Jan-29-2019, 01:52 PM - Forum: Web Scraping & Web Development - Replies (2)

Error: module 'urllib' has no attribute 'urlopen'


What is it then?

(beginner)

Print this item

  TKinter Slider widget
Posted by: Jemeronimo - Jan-29-2019, 01:28 PM - Forum: GUI - Replies (1)

Hey guys! For school I'm making a program in Tkinter with some Sliders. My code is far from nice but I'm doing this all by myself so don't be too hard..... More

Print this item

  assignment: not an operator nor expression, but x=y=z=3 works fine?
Posted by: jefdaels - Jan-29-2019, 01:26 PM - Forum: General Coding Help - Replies (1)

Hi,
When I read the Python reference (Assignment statements), t..... More

Print this item

  getting [Errno 13] Permission denied:
Posted by: gobinath - Jan-29-2019, 12:53 PM - Forum: General Coding Help - Replies (1)

[python]from azure.storage.blob import BlockBlobService
from azure.storage.blob import PublicAccess
import os

def run_sample():
try:

..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Calculating Average with ... 6 minutes ago mikasa snippsat General Codin...
  [PyQt] How can you preven... 12 minutes ago Batucada Axel_Erfurt GUI
  How to generate double ar... 2 hours ago Safinazsalem Safinazsalem Homework
  How to make a double loop... 5 hours ago Safinazsalem Safinazsalem Data Science
  Keep getting "SyntaxError... 8 hours ago Pedroski55 Larz60+ General Codin...
  converting an int to byte... 10 hours ago Skaperen oilumiun12 News and Disc...
  DF.groupby(col).min works... Today, 03:25 samgardner5 roryelila68 General Codin...
  Multi-Threaded Camera Fee... Yesterday, 21:44 Khajababa69 Khajababa69 General Codin...
  [HELP] The Application of... Yesterday, 14:22 MistyhV1 MistyhV1 Data Science
  Visualizing musician char... Yesterday, 05:50 Drone4four Pedroski55 Data Science
  how to: explicitly select... Yesterday, 03:01 sawtooth500 sawtooth500 General Codin...
Most views
  The best Prog... 433521
  Web Scraping ... 320249
  Tutorial Requ... 309729
  Newbie with P... 262461
  Thread remain... 247154
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11876
buran 8090
snippsat 7097
deanhystad 6232
metulburr 5150
Top referrers
Googlepro 20
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Batucada Today
Safinazsalem Today
hohla Today
vinutabellur Today
oilumiun12 Today

User Panel Messages

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