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,635
» Latest member: humphrey88
» Forum threads: 38,641
» Forum posts: 175,086

Full Statistics

Online Users
There are currently 420 online users.
» 0 Member(s) | 412 Guest(s)
Bing, Baidu, Google, Facebook, Yandex, Facebook

Latest Threads
Difference and meaning in...
Forum: General Coding Help
Last Post: Larz60+
36 minutes ago
» Replies: 2
» Views: 33
replace or remove text fr...
Forum: General Coding Help
Last Post: snippsat
4 hours ago
» Replies: 12
» Views: 291
While loop is terminating...
Forum: Homework
Last Post: Gribouillis
6 hours ago
» Replies: 1
» Views: 70
locating a pushbutton py ...
Forum: GUI
Last Post: Axel_Erfurt
Yesterday, 07:46 PM
» Replies: 1
» Views: 64
How to put my game loop i...
Forum: Game Development
Last Post: Thatedge
Yesterday, 08:36 AM
» Replies: 10
» Views: 3,103
2D-Cube-Tic-Tac-Toe
Forum: Game Development
Last Post: Thatedge
Yesterday, 08:35 AM
» Replies: 2
» Views: 1,894
Unable to install pygame ...
Forum: Game Development
Last Post: Plyth
Yesterday, 03:54 AM
» Replies: 3
» Views: 2,120
List[] in Python needs so...
Forum: Game Development
Last Post: DeaD_EyE
Jun-27-2025, 01:32 PM
» Replies: 3
» Views: 386
Web scraping confusion
Forum: Web Scraping & Web Development
Last Post: AlluminumFoil
Jun-27-2025, 11:05 AM
» Replies: 4
» Views: 1,887
Problem Converting Tradin...
Forum: General Coding Help
Last Post: wallneradam
Jun-27-2025, 07:29 AM
» Replies: 2
» Views: 2,829

 
  Python3 newbie
Posted by: tony1812 - Jul-26-2017, 01:46 PM - Forum: General Coding Help - Replies (11)

Hi, I just started learning programming in Python3 on my own. I am wondering if someone be so kind to look at my code see if it make sense?
What this..... More

Print this item

  Python Windows CLR
Posted by: cb4798 - Jul-26-2017, 12:58 PM - Forum: General Coding Help - Replies (1)

I am trying to use python .net but when I run the following code I get the following error
 =11pt[font=Calibri,sans-serif]SystemError: dynamic module..... More

Print this item

  Junior Developer - Glasgow
Posted by: Axis Animation - Jul-26-2017, 12:14 PM - Forum: Jobs - No Replies

With studios in Glasgow, Bristol and London, Axis Animation is an award-winning animation studio creating high-end visual content for film, television..... More

Print this item

  How add 2 arrays?
Posted by: Augustin1340 - Jul-26-2017, 11:36 AM - Forum: Homework - Replies (19)

Hello all,

I am a student who learns Python. I should in my exercise create several functions (only) and manipulate several arrays.

 

1) firs..... More

Print this item

  importing libraries
Posted by: u18sc11 - Jul-26-2017, 11:23 AM - Forum: Homework - Replies (3)

I am trying to import libraries with .py extension by creating the following:
import osfiles = os.popen('dir *.py')fileit = iter(files)for file in fi..... More

Print this item

  same issue with him
Posted by: bin381 - Jul-26-2017, 10:07 AM - Forum: General Coding Help - Replies (2)

I make a python extension bar_extension with distutils bar_extension
 need a shared object [..... More

Print this item

  Requests needs cookies for login
Posted by: justasug - Jul-26-2017, 08:30 AM - Forum: General Coding Help - Replies (2)

I am trying to login into my email account through a website and run an action when I get a new email (I can't use IMAP, because it's a paid feature)...... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Difference and meaning in... 36 minutes ago Udbytossen Larz60+ General Codin...
  replace or remove text fr... 4 hours ago Curbie snippsat General Codin...
  While loop is terminating... 6 hours ago jumpsworthnow Gribouillis Homework
  [PyQt] locating a pushbut... Yesterday, 19:46 arbiel Axel_Erfurt GUI
  How to put my game loop i... Yesterday, 08:36 temlotresid6 Thatedge Game Developm...
  2D-Cube-Tic-Tac-Toe Yesterday, 08:35 freethrownucleus Thatedge Game Developm...
  Unable to install pygame ... Yesterday, 03:54 garthE Plyth Game Developm...
  List[] in Python needs so... 06-27, 13:32 Codingdesigner12 DeaD_EyE Game Developm...
  Web scraping confusion 06-27, 11:05 keifin AlluminumFoil Web Scraping ...
  Problem Converting Tradin... 06-27, 07:29 kralxs wallneradam General Codin...
  [PyQt] PyQT5 Thread crash... 06-26, 20:17 Suresh Axel_Erfurt GUI
Most views
  The best Prog... 572362
  Tutorial Requ... 485080
  Web Scraping ... 436894
  Newbie with P... 379730
  Thread remain... 351241
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12068
buran 8173
snippsat 7341
deanhystad 6843
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
humphrey88 Today
Udbytossen Today
tatria Today
Chttebarron2 Today
Olkianen Yesterday

User Panel Messages

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