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,639
» Latest member: marcustessy
» Forum threads: 38,641
» Forum posts: 175,090

Full Statistics

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

Latest Threads
replace or remove text fr...
Forum: General Coding Help
Last Post: Curbie
10 hours ago
» Replies: 13
» Views: 415
locating a pushbutton py ...
Forum: GUI
Last Post: deanhystad
10 hours ago
» Replies: 2
» Views: 91
Difference and meaning in...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 03:41 PM
» Replies: 4
» Views: 134
While loop is terminating...
Forum: Homework
Last Post: Gribouillis
Yesterday, 06:19 AM
» Replies: 1
» Views: 102
How to put my game loop i...
Forum: Game Development
Last Post: Thatedge
Jun-28-2025, 08:36 AM
» Replies: 10
» Views: 3,121
2D-Cube-Tic-Tac-Toe
Forum: Game Development
Last Post: Thatedge
Jun-28-2025, 08:35 AM
» Replies: 2
» Views: 1,902
Unable to install pygame ...
Forum: Game Development
Last Post: Plyth
Jun-28-2025, 03:54 AM
» Replies: 3
» Views: 2,132
List[] in Python needs so...
Forum: Game Development
Last Post: DeaD_EyE
Jun-27-2025, 01:32 PM
» Replies: 3
» Views: 390
Web scraping confusion
Forum: Web Scraping & Web Development
Last Post: AlluminumFoil
Jun-27-2025, 11:05 AM
» Replies: 4
» Views: 1,914
Problem Converting Tradin...
Forum: General Coding Help
Last Post: wallneradam
Jun-27-2025, 07:29 AM
» Replies: 2
» Views: 2,835

 
  Saving username as first name while adding user in django admin
Posted by: prithvi - Aug-10-2017, 06:50 PM - Forum: Web Scraping & Web Development - No Replies

I am trying to save username as firstname while adding a user from django admin. Currently it saves None in the username field as I have excluded user..... More

Print this item

  Python Tkinter GUI
Posted by: EvilTeliportist - Aug-10-2017, 05:38 PM - Forum: Code sharing - No Replies

Hi. Im trying to make a quick game that should be very simple, but I'm currently struggling. The goal is to have 3 Spinbox's that can't go lower than ..... More

Print this item

  Surprising behavior of SQLite3 "with" query
Posted by: dbman007 - Aug-10-2017, 05:27 PM - Forum: General Coding Help - Replies (3)

My question concerns the behavior of SQLite3 with query.
When a select query has been executed, cursor attribute description pro..... More

Print this item

  How to access each line in for loop and split string
Posted by: SriRajesh - Aug-10-2017, 03:04 PM - Forum: Homework - Replies (2)

I want to read text file and write csv: 
I use the following code,
[python]import glob
import os
import re
list_of_files = glob.glob('D:\Mekala_B..... More

Print this item

  MIDI Inputs
Posted by: NightPython42 - Aug-10-2017, 01:48 PM - Forum: General Coding Help - Replies (3)

I want to work on piano writing, which is pretty much turning a live input into a letter, and I can't figure out how to get a midi input into Python t..... More

Print this item

  Adding libraries to Python 3.6.2 embedded
Posted by: hynek_compelson - Aug-10-2017, 08:30 AM - Forum: General Coding Help - Replies (1)

Hello, I am trying to add pycryptodomex library into Python 3.6.2 embedded but without no success.
Has anyone else encountered such problem?..... More

Print this item

  Image conversion form cartesian to polar and back to cartesian
Posted by: Ashwinraj - Aug-10-2017, 07:41 AM - Forum: Data Science - Replies (2)

I am trying to convert Image from form Cartesian to polar and back to Cartesian but there is loss in the image, please help me to optimize my code

..... More

Print this item

  Grayscale - plot
Posted by: python - Aug-10-2017, 07:19 AM - Forum: General Coding Help - Replies (1)

Hello fellow programmers,

I have a problem and would appreciate any help.

My problem:

I have an array of values from 0 und to max(array). arr..... More

Print this item

  Can't write "\" backlash in IDLE
Posted by: Zherot - Aug-10-2017, 06:32 AM - Forum: General Coding Help - Replies (10)

I can't make it work, i press normally AlyGr+the key on top of Tab and it works but not in IDLE and i tried every combination whatsoever...what it app..... More

Print this item

  print a persian file by thermal printer and python-escpos mnodule
Posted by: gray - Aug-10-2017, 05:12 AM - Forum: General Coding Help - Replies (12)

hello friends...
i want to print a persian file by thermal printer..
i can print an english file esily..but i face the proble while printing persian..... More

Print this item

  Scraping a javascript RSSI indicator
Posted by: jon333 - Aug-10-2017, 03:31 AM - Forum: General Coding Help - Replies (8)

I have a Raspberry Pi connected to a Verizon MiFi LTE modem/router. I am trying to scrape the RSSI signal from the 'welcome page' of the device. No lo..... More

Print this item

  import numbers into a list and print (gui python)
Posted by: kostasalgo - Aug-09-2017, 06:35 PM - Forum: GUI - Replies (5)

How do I import numbers into a list in Python's graphic environment (gui of python) and how to print them through a button


Thanks in advance

Print this item

  [split] Single slash syntax in file path
Posted by: aogata - Aug-09-2017, 01:57 PM - Forum: General Coding Help - Replies (3)

I am having a similar noob problem.

Setup:
I'm calling the python script with arguments from a different program through the command prompt (this ..... More

Print this item

  Assistance with Fibonacci code
Posted by: Colombian1976 - Aug-09-2017, 12:21 PM - Forum: Homework - Replies (3)

hello There,

There is an "logic" error on my code, and I have not figured it out, what it is!!

Code:

[python]
#Fibonacci numbers

x = 1
y..... More

Print this item

  For Loop Help
Posted by: tjmck2 - Aug-09-2017, 11:56 AM - Forum: General Coding Help - Replies (3)

Lets just assume the code below can't be altered. Can someone please explain to me the (last_index, -1, -1): part? I understand for i in range (last..... More

Print this item

  Magic Square Puzzle
Posted by: Harnick - Aug-09-2017, 10:44 AM - Forum: Homework - Replies (1)

my question here
Hi I'm new to python and i have been tasked with creating a magic square puzzle. However the inputs for the magic square puzzle have..... More

Print this item

  [PYQT5 // PY2APP] -- Incompatibility issue
Posted by: Tome - Aug-09-2017, 04:36 AM - Forum: GUI - Replies (8)

Hi again,

I realised that in my last post I perhaps was not clear enough about my question.

I am attempting to create a standalone application f..... More

Print this item

  Filling in missing values
Posted by: melm0 - Aug-08-2017, 08:44 PM - Forum: Data Science - Replies (4)

Hi all,

I'm working with a normalized JSON file and I'm trying to clean the data a bit.
I need to backwards fill the missing values for the name col..... More

Print this item

  Faces of Open Source
Posted by: nilamo - Aug-08-2017, 08:08 PM - Forum: News and Discussions - Replies (3)

http://facesofopensource.com/

I am 0% surprised by what Larry Wall looks like.  I am 100% surprised by ESR.

I don't know how I feel about GvR.  ..... More

Print this item

  Display google recpatcha at the end of the form django-allauth app
Posted by: prithvi - Aug-08-2017, 06:58 PM - Forum: Web Scraping & Web Development - Replies (2)

I am creating a signup form using django(1.10) allauth app. I have installed django-recaptcha app from - https://github.com/praekelt/django-recaptcha..... More

Print this item

  Not Sure how to go about this
Posted by: lavarockman - Aug-08-2017, 06:24 PM - Forum: General Coding Help - Replies (2)

Hello, I'm a beginner when it comes to python and so far I've absolutely loved the langue but i'm to create a script to check all the users on a netwo..... More

Print this item

  SIG_DFL handling
Posted by: rr326 - Aug-08-2017, 05:56 PM - Forum: General Coding Help - No Replies

I have a question on what happens when a signal (eg: SIGTERM) has the default signal handler (SIG_DFL)

Situation: I want to add my own *additional*..... More

Print this item

  My first 'GAME' It is a simple text adventure
Posted by: jackspendiff942003 - Aug-08-2017, 03:42 PM - Forum: Code sharing - Replies (3)

Please by all means edit and modify this code and tell me what you think post links here or email them to me at: [REMOVED EMAIL]


Cut and paste ..... More

Print this item

  How to pass args from GUI to pre-written script.
Posted by: Travolta - Aug-08-2017, 11:29 AM - Forum: GUI - Replies (2)

Hello,

First post. New to Python. From a Java background.

I am trying to create a simple GUI for using existing Python scripts without having t..... More

Print this item

  Django allauth saving custom user profile fields with signup form
Posted by: prithvi - Aug-08-2017, 10:53 AM - Forum: Web Scraping & Web Development - Replies (1)

I am a beginner in Django. I am using Django 1.10 with an allauth app to create a user registration. There are couple of extra fields (phone_number an..... More

Print this item

  Error messages
Posted by: fletch - Aug-08-2017, 10:25 AM - Forum: Homework - Replies (3)

I was wonder whether anyone would be able to explain each line of the following python error message. Thanks

[error]Traceback (most recent call las..... More

Print this item

  Case Sensitivity
Posted by: deivisk - Aug-08-2017, 09:45 AM - Forum: General Coding Help - Replies (4)

Hello, this is my first post. I'm a complete newbie in coding and I ran into a brick wall. I need to make the comparison between two lists case insens..... More

Print this item

  Wrong or missing date format and time in mails
Posted by: sipriusPT - Aug-08-2017, 09:01 AM - Forum: General Coding Help - Replies (3)

In one MacOSX I found an issue with date and time while receiving mails from all my python scripts(in this case 2), where some are being received with..... More

Print this item

  How give an for loop an maximum number, help pleace ?
Posted by: JamieVanCadsand - Aug-08-2017, 09:00 AM - Forum: General Coding Help - Replies (3)

Hey Python Programmers...

I try to learn python and i use 'python 3'. But i try to create an 'for loop'
with an maximum number. But it did't work...... More

Print this item

  Log process
Posted by: besogon - Aug-08-2017, 03:31 AM - Forum: General Coding Help - Replies (1)

Hello,

I have a log that looks something like like this:
[b]Field1=Value1, Field=Value2, Field3=Value3, Field4=Value4
Field1a=Value1a, Field2a=Va..... More

Print this item

  sfscrape fails when repetitively executed
Posted by: pyguy - Aug-08-2017, 01:41 AM - Forum: Networking - Replies (1)

Hey all!
I got to web scraping a site via the cfscrape mod. in a py file.
I am getting 10 responses but even after sleeping per each request a bit, ..... More

Print this item

  single/double quote escapes codebox highlighter
Posted by: metulburr - Aug-08-2017, 01:38 AM - Forum: Board - Replies (3)

someone posted this...

    if s[0] == "'" and s[-1] == "'":
and i remember there was an issue regarding the string of the codebox e..... More

Print this item

  DataFrame Assignment
Posted by: ian - Aug-08-2017, 01:10 AM - Forum: Data Science - Replies (1)

I get a dataframe to df1 and assign it to df2 to keep a copy.
Not sure why but when df1 is changed, df2 is also changed.
Is there a way to save an..... More

Print this item

  which is better?
Posted by: Skaperen - Aug-08-2017, 12:58 AM - Forum: General Coding Help - Replies (5)

which is better?

0.

    if s[0] == "'" and s[-1] == "'":
1.
    if (s[0],s[-1]) == ("'","'"):
2.[python]    i..... More

Print this item

  NameError: name '...........' is not defined
Posted by: new2py - Aug-07-2017, 11:30 PM - Forum: General Coding Help - Replies (13)

Hello I am very new to Python and need help with this script I found online. Every time I run it I get this error in PyCharm

[color=#C0392B]FO..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  replace or remove text fr... 10 hours ago Curbie Curbie General Codin...
  [PyQt] locating a pushbut... 10 hours ago arbiel deanhystad GUI
  Difference and meaning in... Yesterday, 15:41 Udbytossen Gribouillis General Codin...
  While loop is terminating... Yesterday, 06:19 jumpsworthnow Gribouillis Homework
  How to put my game loop i... 06-28, 08:36 temlotresid6 Thatedge Game Developm...
  2D-Cube-Tic-Tac-Toe 06-28, 08:35 freethrownucleus Thatedge Game Developm...
  Unable to install pygame ... 06-28, 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... 572365
  Tutorial Requ... 485107
  Web Scraping ... 436895
  Newbie with P... 379733
  Thread remain... 351242
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 6844
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
marcustessy Yesterday
dmac6809 Yesterday
racheldavis66 Yesterday
ankaoutdoor Yesterday
humphrey88 Yesterday

User Panel Messages

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