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,628
» Latest member: GarretFerguson
» Forum threads: 38,637
» Forum posts: 175,063

Full Statistics

Online Users
There are currently 392 online users.
» 1 Member(s) | 385 Guest(s)
Bing, Baidu, Google, Yandex, Applebot, GarretFerguson

Latest Threads
List[] in Python needs so...
Forum: Game Development
Last Post: DeaD_EyE
9 hours ago
» Replies: 3
» Views: 370
Web scraping confusion
Forum: Web Scraping & Web Development
Last Post: AlluminumFoil
Today, 11:05 AM
» Replies: 4
» Views: 1,852
Problem Converting Tradin...
Forum: General Coding Help
Last Post: wallneradam
Today, 07:29 AM
» Replies: 2
» Views: 2,770
2D-Cube-Tic-Tac-Toe
Forum: Game Development
Last Post: barrelmarble
Today, 07:25 AM
» Replies: 1
» Views: 1,866
PyQT5 Thread crashes afte...
Forum: GUI
Last Post: Axel_Erfurt
Yesterday, 08:17 PM
» Replies: 2
» Views: 3,068
Unable to install pygame ...
Forum: Game Development
Last Post: Thatedge
Yesterday, 08:09 AM
» Replies: 2
» Views: 2,085
can't use pyrepl: bad mag...
Forum: News and Discussions
Last Post: Plyth
Yesterday, 05:53 AM
» Replies: 2
» Views: 244
Setting AST node lineno c...
Forum: General Coding Help
Last Post: voidtrance
Jun-24-2025, 02:10 PM
» Replies: 5
» Views: 502
[SOLVED] Let user search ...
Forum: GUI
Last Post: deanhystad
Jun-24-2025, 02:04 PM
» Replies: 3
» Views: 203
color names
Forum: General Coding Help
Last Post: DeaD_EyE
Jun-24-2025, 08:10 AM
» Replies: 9
» Views: 199,400

 
  octal instead of hex
Posted by: Skaperen - Jun-05-2017, 03:25 AM - Forum: General Coding Help - Replies (4)

i can convert binary characters to a literal text form with ascii() (repr() in py2) but it converts most characters to a hexadecimal escape form like ..... More

Print this item

  Stream Cipher Encryption and Decryption
Posted by: Iskuss - Jun-05-2017, 03:15 AM - Forum: Code sharing - Replies (3)

Encryption (Python 2.7)
[python]
def main():

   message = raw_input("Enter a message without spaces or punctuation. ")

   message = list(messa..... More

Print this item

  Simple averaging program
Posted by: Iskuss - Jun-05-2017, 03:07 AM - Forum: Code sharing - Replies (5)

Probably the most convoluted way to find the average of a set of numbers in Python but here it is.

[python]
amount = int(input("Enter number of it..... More

Print this item

  requests digest auth with netrc
Posted by: fstefanov - Jun-05-2017, 12:43 AM - Forum: Networking - Replies (1)

Hello,
According to the documentation for requests:

netrc Authentication

If no authentication method is given with the auth argument, Requests ..... More

Print this item

  Use kivy app to call a php website to change the state of a gpio pin on rasperbery pi
Posted by: Battillo - Jun-04-2017, 09:46 PM - Forum: General Coding Help - Replies (1)

I need help I am trying to control a gpio pin on rasperbery pi with a kivy app on my phone. I have the website working example.com allows me to push o..... More

Print this item

  Python : NameError: name 'total_wait' is not defined
Posted by: carla - Jun-04-2017, 05:27 PM - Forum: Data Science - Replies (3)

I'm trying to plot the results, but I get this error:

Error:
NameError: name 'total_wait' is not defined.
I am able to print the result b..... More

Print this item

  Saving and loading many records
Posted by: Steve2017 - Jun-04-2017, 11:45 AM - Forum: General Coding Help - Replies (3)

Hi guys

I am currently trying to get my python program to save and load from one text file

Basically i am creating a student record program whi..... More

Print this item

  input defines variable but it's not defined
Posted by: tozqo - Jun-04-2017, 11:40 AM - Forum: General Coding Help - Replies (5)

I am just starting to learn python, and trying out a basic "calculator" from a couple YouTube videos. I have spent the last few hours trying to figure..... More

Print this item

  Multi-client server
Posted by: Saga - Jun-04-2017, 10:24 AM - Forum: General Coding Help - Replies (2)

I'm trying to change this code to be multi-user.. I read a little bit about using select function instead of using threads but I can't understand how ..... More

Print this item

  Threading timer crashes my App
Posted by: panoss - Jun-03-2017, 08:30 AM - Forum: General Coding Help - Replies (4)

I want to make an app that will use timer.
A button will set the timer at my pc 's time plus one minute.
The problem is that it crashes.
Run the fo..... More

Print this item

  error while inserting values into a table from form in flask in postgreSQL
Posted by: sahilsiddharth - Jun-03-2017, 07:55 AM - Forum: General Coding Help - Replies (3)

my question here
forms.py---
[python]class SignUpForm(Form):
first_name = StringField('First name', validators=[DataRequired("Please enter your fir..... More

Print this item

Photo only foreign key id retrive when i pass model instance to form but i want other field
Posted by: x64 - Jun-03-2017, 05:58 AM - Forum: Web Scraping & Web Development - No Replies

hi,
i am new in django, i have a problem with instance when pass it in form. Because my instance has 10 field including 3 foreign key field.
when i ..... More

Print this item

  importing module from specific file
Posted by: Skaperen - Jun-03-2017, 02:53 AM - Forum: General Coding Help - Replies (4)

i wanted to import a module from a specific file that may be in a subdirectory maybe even many levels deep. the current directory will always be at s..... More

Print this item

  Senior Software Engineer at TravelPerk
Posted by: djangojobs.net - Jun-03-2017, 01:18 AM - Forum: Jobs - No Replies

See more and Apply through djangojobs.net
https://djangojobs.net/jobs/690/s[url=https://python-forum.io/thread-3562.html]..... More

Print this item

  Learning Python with pip, cmder and/or virtualenv...
Posted by: RodNintendeaux - Jun-02-2017, 10:46 PM - Forum: Web Scraping & Web Development - Replies (8)

I hear a lot of people say, "I am a quick study!" And that is great, Dr. Strange is better for it, but me, I am not one. I could, if pushed, be a bit ..... More

Print this item

  How to plot legend for a colormap?
Posted by: Felipe - Jun-02-2017, 10:00 PM - Forum: Data Science - Replies (1)

Hi guys,

I wrote a function that plot rectangles filled with colors defined by a colormap. Here's a part of the function:

[python]
import matpl..... More

Print this item

  Python in Linux environment on RPI
Posted by: kendias - Jun-02-2017, 09:03 PM - Forum: General Coding Help - Replies (22)

my question here
I am trying to run a python script in Linux environment. It is Python 2.7.9 and the script is in folder /home/pi. I use the command f..... More

Print this item

  while loop help needed
Posted by: thorny5 - Jun-02-2017, 07:00 PM - Forum: Homework - Replies (2)

I am very new to Python (and any programming language for that matter) and have a 2 part assignment I am struggling with. Below are the instructions a..... More

Print this item

  unix for the beginning mage (bash basic)
Posted by: metulburr - Jun-02-2017, 06:32 PM - Forum: News and Discussions - Replies (1)

http://unixmages.com/ufbm.pdf

Print this item

  Issue in launching spyder that was installed using pip install on Python 3.6.1
Posted by: python300 - Jun-02-2017, 05:56 PM - Forum: General Coding Help - Replies (6)

I have windows-7 64 bit machine and Python3.6.1(32-bit) installed on it. I wanted to try spyder as IDE for python. I don't have Anaconda or anything l..... More

Print this item

  Problem with changing label text on button press
Posted by: xk2006x - Jun-02-2017, 11:33 AM - Forum: GUI - Replies (1)

Hi,

I'm trying to change the label text on button press, but I get an error:

Error:
App object has no attribute saved_length1
In the G..... More

Print this item

  read multiple .xlsx files and text files in a directory
Posted by: BNB - Jun-02-2017, 11:14 AM - Forum: Data Science - Replies (11)

I have a list of .xlsx files (names 1.xlsx, 2.xlsx etc), each with several worksheet, in a directory. I need to insert data from its corresponding te..... More

Print this item

  pyphs run error
Posted by: pournamy - Jun-02-2017, 09:00 AM - Forum: General Coding Help - Replies (6)

my question here
I recently installed pyphs package in python.
When I run the script, it shows import error: No module named phs


[python]# indu..... More

Print this item

  pyflakes vs flake8
Posted by: broutray - Jun-02-2017, 06:57 AM - Forum: General Coding Help - Replies (3)

pyflakes vs flake8 - which one is used to warn python script errors ?

Print this item

  selenium bypass javascript popup box
Posted by: metulburr - Jun-02-2017, 03:29 AM - Forum: Web Scraping & Web Development - Replies (6)

I am trying to list out my facebook membership groups using selenium, but i cant without bypassing this javascript box. The
   
attemp..... More

Print this item

  Weird Python tags syntax coloring bug
Posted by: micseydel - Jun-01-2017, 08:58 PM - Forum: Board - Replies (4)

Take a look at this:

filename != "" and foldername != ""
Note that the close string appears to be interpreted as an open.

Saw it..... More

Print this item

  Help with tkinter Button and Label interaction issues ...
Posted by: sealyons - Jun-01-2017, 06:58 PM - Forum: GUI - No Replies

I'm new to tkinter (running on python 3.5) and I'm having some issues that I'm hoping I can get some help with.  Here's my code (really simple at this..... More

Print this item

  Simple Digimon Game - Suggestions Welcome
Posted by: prog92 - Jun-01-2017, 05:07 PM - Forum: Game Development - Replies (2)

I'm new to this forum, but I'm hoping this is the correct place to post something like this. I'm currently working on a game that I believe is unique ..... More

Print this item

  facebook scraping
Posted by: metulburr - Jun-01-2017, 04:53 PM - Forum: Web Scraping & Web Development - Replies (3)

I would like to scrape 100 or so facebook groups (from which my true account is in) to obtain specific data. Ive done this with other sites a lot via ..... More

Print this item

  computing the factorial of N
Posted by: foolsgold27 - Jun-01-2017, 02:19 PM - Forum: Homework - Replies (12)

Write A program for computing the factorial of N example (10!) where N! = (1*2*3*4*5*6*7*8*9*10),
(USING PYTHON)
FLOWCHART:
START
READ N
M=1, F=1..... More

Print this item

  Write data into existing Excel (xlsx) file with multiple sheets
Posted by: BNB - Jun-01-2017, 12:10 PM - Forum: Data Science - Replies (1)

I have an excel (xlsx) file with 11 worksheets and I need to insert the contents of a text file from Row 3 onwards in Sheet 2 named 'Filtered'. Curren..... More

Print this item

  Trouble finding Python code
Posted by: Larz60+ - Jun-01-2017, 11:12 AM - Forum: General Coding Help - Replies (5)

I used to be pretty good at grep, (on Linux), but I
am having some difficulty using it on windows 7 with the
grep built into cmder.

[python]grep ..... More

Print this item

  GPS & UTC time conversion?
Posted by: jackbk - Jun-01-2017, 09:26 AM - Forum: General Coding Help - Replies (7)

Hello,

I have 2 questions as below. Have you ever met them or had any experience for my questions?

1. How can we convert from GPS timestamp to U..... More

Print this item

  New To Python need to develop windows Desktop Database Apps
Posted by: r_ghamrawi - Jun-01-2017, 07:46 AM - Forum: GUI - Replies (4)

I have a solid background in Microsoft Access Desktop Database Apps development and I need to switch my work to Python.
I learned the language and in..... More

Print this item

  mod-wsgi
Posted by: Skaperen - Jun-01-2017, 04:59 AM - Forum: News and Discussions - Replies (2)

mod-wsgi is up and working on my web server while other stuff remains up, so i can make a smooth transition.  here is my first WSGI URL: http://linuxh..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  List[] in Python needs so... 9 hours ago Codingdesigner12 DeaD_EyE Game Developm...
  Web scraping confusion Today, 11:05 keifin AlluminumFoil Web Scraping ...
  Problem Converting Tradin... Today, 07:29 kralxs wallneradam General Codin...
  2D-Cube-Tic-Tac-Toe Today, 07:25 freethrownucleus barrelmarble Game Developm...
  [PyQt] PyQT5 Thread crash... Yesterday, 20:17 Suresh Axel_Erfurt GUI
  Unable to install pygame ... Yesterday, 08:09 garthE Thatedge Game Developm...
  can't use pyrepl: bad mag... Yesterday, 05:53 eliastw85 Plyth News and Disc...
  Setting AST node lineno c... 06-24, 14:10 voidtrance voidtrance General Codin...
  [WxPython] [SOLVED] Let u... 06-24, 14:04 Winfried deanhystad GUI
  color names 06-24, 08:10 jimrinaldo DeaD_EyE General Codin...
  Python Install Mager Help 06-24, 04:43 bowens1983 DeaD_EyE News and Disc...
Most views
  The best Prog... 572353
  Tutorial Requ... 485034
  Web Scraping ... 436880
  Newbie with P... 379719
  Thread remain... 351240
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+ 12067
buran 8173
snippsat 7340
deanhystad 6840
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
GarretFerguson Today
TheJeffah Today
ChauHaiCim9904 Today
barrelmarble Today
wallneradam Today

User Panel Messages

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