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,969
» Latest member: samuelshlzeo7159
» Forum threads: 38,730
» Forum posts: 175,551

Full Statistics

Online Users
There are currently 43 online users.
» 0 Member(s) | 37 Guest(s)
Google, Bing, Mojeek, AOL, Google Image, AOL

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: Pedroski55
4 hours ago
» Replies: 7
» Views: 373
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Yesterday, 06:39 PM
» Replies: 7
» Views: 2,801
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 663
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,200
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,763
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Sep-27-2025, 03:54 AM
» Replies: 3
» Views: 656
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,152
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,132
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,423
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,973

 
  Function for the Normal Loss Function L(z)
Posted by: Smelly - Jan-31-2019, 02:54 PM - Forum: Data Science - Replies (1)

I am pretty new to Python and my algorithm is working with the Normal loss function L(z)

L(z)=ϕ(z)−z(1−Φ(z))

I have "z" as an input and need "L(..... More

Print this item

  Something So Basic It is Embarrassing
Posted by: Newsome - Jan-31-2019, 02:36 PM - Forum: General Coding Help - Replies (6)

I am a brand new learner of python.

I created a text file named 'hello.py' and the content of the file is print('Hello'). It resides on my hard dr..... More

Print this item

  Extracting strings from an application
Posted by: jpringle1 - Jan-31-2019, 02:09 PM - Forum: General Coding Help - Replies (5)

I need a bit of handholding to get me started on a project i need to do for work (non-programming work, but if i can do this it will help me a lot).
..... More

Print this item

  If-Print statements on the same line
Posted by: ClassicalSoul - Jan-31-2019, 02:07 PM - Forum: General Coding Help - Replies (1)

How do you suggest I make it so that the two print statements are on the same line?

[python]ph = float(input('Enter ph:'))
if ph < 7.0
print(..... More

Print this item

  Default pip adress
Posted by: xxp2 - Jan-31-2019, 01:28 PM - Forum: General Coding Help - Replies (3)

hi everyone .. I try to change pip default proxy adress but i can't ..
How i can do that.. Thank you .

Print this item

  Python: if 'X' in 'Y' but with two similar strings as 'X'
Posted by: DreamingInsanity - Jan-31-2019, 09:32 AM - Forum: General Coding Help - Replies (6)

The title makes this really confusing. Hopefully it isn't.

In the title I used 'X' and 'Y'. 'X' is a string url: ..... More

Print this item

  Newbie to CS and Python, 2 questions
Posted by: johneven - Jan-31-2019, 07:16 AM - Forum: Homework - Replies (2)

Hello, I'm a newbie to CS and Python (i.e., 2 weeks)and have been doing fairly well so far, but I've been having trouble with the following questions...... More

Print this item

  HTTP Headers as constants in stdlib
Posted by: kirans - Jan-31-2019, 06:12 AM - Forum: Web Scraping & Web Development - Replies (9)

Hello everyone,
While working with HTTP headers in python, am usually faced with the situation of setting or requesting for some common header inform..... More

Print this item

  Python Read/Write serial
Posted by: dlizimmerman - Jan-31-2019, 03:12 AM - Forum: General Coding Help - No Replies

Learning to read/write serial using back to back USB to serial boards (X-cross TX & RX) started writing to a port and monitoring the other using Putty..... More

Print this item

  Connect a Teradata DB to Python
Posted by: OscarBoots - Jan-30-2019, 10:39 PM - Forum: General Coding Help - Replies (10)

Hi Forum,
I have 2 issues.
I want to do some work on some datasets that are in a Teradata DB so
1. I am trying to connect to it & run queries.
2...... More

Print this item

  Trying to include an If statement in my While Loop
Posted by: junkankit - Jan-30-2019, 10:22 PM - Forum: General Coding Help - Replies (3)

Hi,

I am trying to change some code from the following :
[python]# pizza

def pizza():
print("What toppings would you like on your pizza?..... More

Print this item

  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 (7)

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 4 hours ago tester_V Pedroski55 General Codin...
  Select Python comment (#)... Yesterday, 18:39 SpongeB0B tester_V General Codin...
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... 09-27, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
Most views
  The best Prog... 577288
  Tutorial Requ... 500442
  Web Scraping ... 440964
  Newbie with P... 384997
  New Users Int... 369395
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+ 12089
buran 8176
snippsat 7369
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
samuelshlzeo7159 Today
Seu12Jorge Yesterday
seomelbourneaustralia Yesterday
Jacobjoift Yesterday
zalexstolzeoz5360 Yesterday

User Panel Messages

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