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,251
» Latest member: ftk456
» Forum threads: 38,780
» Forum posts: 175,822

Full Statistics

Online Users
There are currently 45 online users.
» 1 Member(s) | 40 Guest(s)
Bing, Google, Mojeek, Internet Archive, kshahzad1985

Latest Threads
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
3 hours ago
» Replies: 2
» Views: 49
New to python and coding
Forum: Homework
Last Post: jefsummers
10 hours ago
» Replies: 4
» Views: 116
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Today, 10:11 AM
» Replies: 6
» Views: 204
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 326
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 287
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 119
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,625
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 217
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 204
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,423

 
  Please explain me step by step.
Posted by: ITMani - Jul-26-2017, 07:45 AM - Forum: Homework - Replies (1)

[python]temp = [23,45,2,-2,0]

def f(b):
n1 , n2 = b[0],b[0]
for m in b:
if (m >n1):
n1 = m
if (m < n2):
..... More

Print this item

  Building Standalone desktop GUI app with wxpython
Posted by: manoj_nike15 - Jul-26-2017, 03:16 AM - Forum: Web Scraping & Web Development - Replies (1)

I have created a python script using Mechanize and BeautifulSoup modules. The script tries login to a website wih credentials and url in the script an..... More

Print this item

  format spec %b is documented but does not work
Posted by: Skaperen - Jul-26-2017, 02:15 AM - Forum: News and Discussions - Replies (13)

the format spec %b is documented but does not work:

[output]lt1/forums /home/forums 1> py2
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5..... More

Print this item

  float.hex() is one bit short
Posted by: Skaperen - Jul-26-2017, 01:23 AM - Forum: General Coding Help - Replies (4)

the float.hex() method produces output that shows 52 bits of precision, yet the float type as implemented on x86 (both 32 bit and 64 bit systems) has ..... More

Print this item

  Make my colorful name spiral on the screen
Posted by: RedSkeleton007 - Jul-26-2017, 01:22 AM - Forum: General Coding Help - Replies (3)

my question here
In my book, "Teach Your Kids To Code" by Bryson Payne, I'm trying some sample code in the book that's supposed to ask the user to in..... More

Print this item

  What am I doing wrong
Posted by: boxedtheropy - Jul-25-2017, 10:30 PM - Forum: General Coding Help - Replies (6)

Hello Everyone,

I am trying my hand at coding, this is my first time attempting to write any form of code. I'm alittle confused, when I run this co..... More

Print this item

  New python learner
Posted by: tony1812 - Jul-25-2017, 02:32 PM - Forum: General Coding Help - Replies (1)

Hello, I jst started learnPython. Have some questions. I have a code like this to create a UI

[python]
from tkinter import Tk, BOTH
from tkinter...... More

Print this item

  CKEditor / Rin Editor
Posted by: metulburr - Jul-25-2017, 02:11 PM - Forum: Board - Replies (100)

testing in a different editor in attempt to fix some bugs.

0
 1
  2
   3
    4

EDIT:
It appears to have fixed the issue with removing 1 spa..... More

Print this item

  Problem with pygame not switching the mouse image
Posted by: Mondaythe1st - Jul-25-2017, 01:26 PM - Forum: GUI - Replies (6)

So I've made a little thing to change my mouse's icon. It happens once in a blue moon, so I know it works. But it doesn't work 100% of the time.... wh..... More

Print this item

  How do I fetch values from db to Select Options using Flask?
Posted by: progShubham - Jul-25-2017, 01:10 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi Folks,

I am creating a web app and I am creating a edit page. I want to fetch data in Select > Option html tag with pre selected value fr..... More

Print this item

  Where lxml for Python 3.6.2 for windows 10 ?
Posted by: Fran_3 - Jul-25-2017, 12:19 PM - Forum: Web Scraping & Web Development - Replies (8)

New to Python and have it installed on Windows 10 along with Beautiful Soup.

Tried to run tutorial code from...

https://pythonprogramming.net/in..... More

Print this item

  how to get the highest monthly average temperature?
Posted by: nikhilkumar - Jul-25-2017, 12:15 PM - Forum: Homework - Replies (2)

my question here
Create a program that reads from a file to display city name and average temperature in Celsius

use !curl to download https://raw..... More

Print this item

  Need Help: Sort of Binary numbers based on 1's present
Posted by: abinashj - Jul-25-2017, 11:33 AM - Forum: General Coding Help - Replies (5)

Question:
1. Find the Binary numbers from the given list of Numbers .
2. sort on ascending order based on the no of 1's present
3. if no of 1's are..... More

Print this item

  Open excel file using Python
Posted by: cioer23 - Jul-25-2017, 09:55 AM - Forum: Data Science - Replies (8)

HI all! I am new in Python coding and I have a problem in the below:

[python]object = win32com.client.Dispatch('Excel.Application')
object.visible..... More

Print this item

  No curly braces in python?
Posted by: RedSkeleton007 - Jul-25-2017, 07:14 AM - Forum: General Coding Help - Replies (9)

Hi everyone. I'm brand new to python. I'm used to the Java programming language, which has opening and closing curly braces marking exactly where the ..... More

Print this item

  New wxpython version available now
Posted by: Larz60+ - Jul-25-2017, 05:31 AM - Forum: News and Discussions - No Replies

New wxpython 4.0.0b1 released July 22, 2017.

Lots of new features and bug fixes

Full list of changes here: https://wxpython.org/ And while at it..... More

Print this item

  Using a variable to replace an integer? (Except it isn't working!)
Posted by: s1monsays - Jul-25-2017, 03:01 AM - Forum: General Coding Help - Replies (15)

So I'm trying to use the yweather module, but replacing the way it goes about getting the woeid with a system of variables so that I can A. use it whe..... More

Print this item

  removing elements from a list that are in another list
Posted by: Skaperen - Jul-25-2017, 01:35 AM - Forum: General Coding Help - Replies (2)

i have a big list and another list.  i'd like find an expression which [b]yields a new list which has all the elements of the big list except any that..... More

Print this item

  setup()
Posted by: hare50 - Jul-25-2017, 12:53 AM - Forum: General Coding Help - Replies (9)

what is the command  to turn a setup,py file into a zipped module?
I have used

C:\> py -3 setup sdist
sdist is tagged as unknown

Print this item

  Arrange lines in python
Posted by: pythonlover - Jul-24-2017, 10:57 PM - Forum: General Coding Help - Replies (11)

Hello Python Experts,
I was trying to arrange a file in python. If someone can help, that would be great.

My file:

[ Heading 1]
Line 1
Line 2..... More

Print this item

  Python3 installation and venp error
Posted by: sunilgt - Jul-24-2017, 09:20 PM - Forum: General Coding Help - Replies (1)

my question here

I am new to python and trying to install python3 on linux server (2.6.32-696.1.1.el6.x86_64).
The VM already has python 2.6 installe..... More

Print this item

  Can't connect to websocket
Posted by: laas - Jul-24-2017, 07:51 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello everyone,

I've spent some time now trying to connect to this websocket and I tried at least five different socket libraries trying to ..... More

Print this item

  [SOLVED]Installing Phoenix in python3 on Linux
Posted by: Barrowman - Jul-24-2017, 07:42 PM - Forum: GUI - Replies (2)

Hi,
I started to look at wxpython when I first wanted a gui for python. I got the impression it needed a lot of typing to do the simplest of things b..... More

Print this item

  Python/Tkinter button color changing
Posted by: Crawford3 - Jul-24-2017, 06:39 PM - Forum: General Coding Help - Replies (7)

I need a bit of help here.  This program(below) works fine but I would like it if when a button was "depressed" its background color would change.  Th..... More

Print this item

  For Loop, over even index
Posted by: shaynehansen - Jul-24-2017, 06:09 PM - Forum: General Coding Help - Replies (2)

I've created a code to combine pages of a pdf. The code will combine every two pages together. The issue is when the index is odd, it will not displa..... More

Print this item

  Python Code Generator
Posted by: KatherineHov - Jul-24-2017, 05:58 PM - Forum: General Coding Help - Replies (11)

I'm new to coding, but I've taken on a project to write a python code that generates plating for PCR set up.

At my lab we use a machine called OpenTr..... More

Print this item

  Barrowman PM response on wxpython
Posted by: Larz60+ - Jul-24-2017, 05:17 PM - Forum: GUI - No Replies

Barrowman

See wxpython phoenix gallery here: https://wxpython.org/Phoenix/docs/html/gallery.html

[quote]
Hi,
I started to look at wxpython whe..... More

Print this item

  FITS 2D into FITS cube
Posted by: Daim - Jul-24-2017, 03:18 PM - Forum: General Coding Help - Replies (1)

hello,

I am very new to python. I need to "compile" a series of 2D FITS file into a FITS cube. is that possible using python? thank you so much

Print this item

  quick joystick GUI
Posted by: AceScottie - Jul-24-2017, 03:12 PM - Forum: GUI - Replies (6)

Hello. Im looking for a really easy joystick that i can control with a mouse.
I have been looking on google and they are all either frameworks, wrap..... More

Print this item

  run two tasks concurrently
Posted by: tony1812 - Jul-24-2017, 02:58 PM - Forum: General Coding Help - Replies (1)

Hello, I just got a Pi, that what motivated me to learn Python. I am a absolute newbies when it come to python programming,  I joint this forum.

I am..... More

Print this item

  Best way to blink an output every 500 milliseconds?
Posted by: dbsoundman - Jul-24-2017, 01:33 PM - Forum: General Coding Help - Replies (2)

Hi all, interesting problem in Python... I'm working on a project that I will eventually run on a Raspberry Pi, so I'm utilizing Python to manipulate ..... More

Print this item

  Alernating the two items in a list
Posted by: juniorcoder - Jul-24-2017, 11:03 AM - Forum: General Coding Help - Replies (1)

Hello everybody ,

I am trying to make a list by alternating two values but I am getting error. Basically my list should be like if it starts with 2 ..... More

Print this item

  Thousand Separator Entry Widget Cursor Pos Trouble
Posted by: papatubies - Jul-24-2017, 10:14 AM - Forum: GUI - Replies (4)

how to fix cursor pos?

[python]
def atPos(atX=0,atY=0):
   frame = Frame(root)
   frame.place(x=atX,y=atY)
   return frame

class MyEntry:
 ..... More

Print this item

  Syntax error in if line
Posted by: daniel - Jul-24-2017, 07:22 AM - Forum: General Coding Help - Replies (5)

hello, I am very new to coding in general and python is my first. I am trying to figure out what is wrong with this, but I can't. I always get syntax ..... More

Print this item

  basemap problem
Posted by: Roman - Jul-24-2017, 07:13 AM - Forum: Data Science - Replies (2)

hallo,
could me by anybody solve my problem why draw long line on map see image[Image: zv1zp69kdz8nqr1m32kn.jpg]
m..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  why is the image not show... 3 hours ago sarbogast deanhystad General Codin...
  New to python and coding 10 hours ago lary_p jefsummers Homework
  Help with Serial.write in... Today, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
Most views
  The best Prog... 578867
  Tutorial Requ... 509990
  Web Scraping ... 441926
  Newbie with P... 385936
  New Users Int... 376423
Most reputation
buran 581
snippsat 510
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+ 12107
buran 8195
snippsat 7388
deanhystad 6908
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
ftk456 Today
sarbogast Today
bmurray Today
kai_cow2710 Today
Kacper Yesterday

User Panel Messages

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