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,932
» Latest member: XenonBlack
» Forum threads: 38,721
» Forum posts: 175,503

Full Statistics

Online Users
There are currently 47 online users.
» 2 Member(s) | 39 Guest(s)
Bing, Google, AOL, Mojeek, Apple, Larz60+, CaptainNewb

Latest Threads
Too much space between gr...
Forum: GUI
Last Post: deanhystad
1 hour ago
» Replies: 3
» Views: 888
How Reliable Is Assignmen...
Forum: News and Discussions
Last Post: tobey12
10 hours ago
» Replies: 0
» Views: 56
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Today, 07:07 AM
» Replies: 1
» Views: 354
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,477
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,532
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 406
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 128
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,912
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,164
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 849

 
  Count variations
Posted by: JP_ROMANO - Jun-13-2017, 08:23 PM - Forum: Data Science - Replies (11)

Hi all... will admit right up front that Python has been an horrible nightmare for me. I can't seem to get anything to work, can't figure out the syn..... More

Print this item

  Anyone use a tablet?
Posted by: nilamo - Jun-13-2017, 07:28 PM - Forum: Bar - Replies (15)

I'm thinking of getting a tablet sometime soon. Does anyone have/use one, and how well does Python run on it?
From the little bit of research I've d..... More

Print this item

  Figure with Python
Posted by: maria - Jun-13-2017, 05:43 PM - Forum: General Coding Help - Replies (2)

Hi,

I am completely new to Python. I never used it before but it would be nice to learn.
So I am planning to build a figure as attached in the fig..... More

Print this item

  Python wsgi example: problem with javascript
Posted by: imonike - Jun-13-2017, 10:44 AM - Forum: Web Scraping & Web Development - Replies (12)

Hello all,
          Please I am having a problem modifying wsgi example. The original example is as follows:

[python]import cgi

form = b'''
<..... More

Print this item

  convert html to pdf in django site
Posted by: shahpy - Jun-13-2017, 08:10 AM - Forum: Web Scraping & Web Development - Replies (4)

hello

i'm creating a site with django.

i want to let my user to have resume in pdf format from there profile.

i think i have to have templa..... More

Print this item

  Box Sizer inside of panel managed by wx.lib.agw.aui
Posted by: Larz60+ - Jun-13-2017, 07:24 AM - Forum: GUI - Replies (1)

Hello,

I have been playing with AUI in wxpython phoenix.
I have managed to get a nice window with a menu, and three fully resizable
(one panel an..... More


Attached Files

Thumbnail(s)
   
Print this item

  program wanted: clean up pyc files
Posted by: Skaperen - Jun-13-2017, 06:08 AM - Forum: Bar - Replies (6)

i would like to find a program/script (in python) that scans for .pyc files and lists or removes them if the .py file for them exists and is readable...... More

Print this item

  Separating a string into evenly sized elements in a list
Posted by: kennybassett - Jun-13-2017, 05:39 AM - Forum: General Coding Help - Replies (9)

Hey everyone! I'm very new to python, and this is really stumping me.

So let's say I have a list containing every character that someone could type..... More

Print this item

  Using an Array in a While Loop
Posted by: JakeWitten - Jun-13-2017, 01:28 AM - Forum: Homework - Replies (22)

I'm trying to model the solar system, with the gravitational effects of each planet interacting with every other planet (including the Sun). So far I..... More

Print this item

  Encoding issue while running Sysinternals Autorunsc via Python subprocess
Posted by: JChris - Jun-13-2017, 12:01 AM - Forum: General Coding Help - No Replies

I have a Python 3.6.0 script where I run autorunsc v13.71 (https://technet.microsoft.com/en-us/sysi...63902.aspx) on the system (x86 or x86..... More

Print this item

  Noob needs help with easy fix
Posted by: PandaLeague - Jun-12-2017, 08:56 PM - Forum: General Coding Help - Replies (1)

My code is not working, any fixes?

[python]import pygame
from pygame.locals import *
import sys
import random
from os import path
snd_dir = pa..... More

Print this item

  trying out subprocess in python
Posted by: sblu23 - Jun-12-2017, 07:47 PM - Forum: General Coding Help - Replies (3)

Folks,
I'm trying to checkout the sub-process functionality of Python and am having some trouble, specifically on the subprocess accepting stdin...
..... More

Print this item

  py2app ValueError
Posted by: harusin - Jun-12-2017, 07:30 PM - Forum: General Coding Help - Replies (1)

Hello,

i have issue with app on OSX, gui in tkinter and app created with py2app. When i try to run application it won't and i get error.
[error]
..... More

Print this item

  how to detect \x in string so it can be removed
Posted by: azimmermann - Jun-12-2017, 06:36 PM - Forum: General Coding Help - Replies (5)

I have some garbled data that has random \x values in the string. These should be skipped for the import to work correctly
I am trying to write code ..... More

Print this item

  Rasp Pi: "lp: not allowed to print" when using a python script
Posted by: montypython76 - Jun-12-2017, 03:25 PM - Forum: General Coding Help - Replies (1)

Hi there,

I have an issue printing a textfile with a python script. The script is simple:

[python]import os

os.system('lp "testdatei.txt"')[/python..... More

Print this item

  Pulling and comparing CSV data
Posted by: b0bnchuck - Jun-12-2017, 02:14 PM - Forum: General Coding Help - Replies (3)

Need a script that will take a CSV file inputted by user (in the form of filepath with filename), another directory path containing files inputted by ..... More

Print this item

  trying an online challenge
Posted by: tozqo - Jun-12-2017, 11:38 AM - Forum: Homework - Replies (8)

I recently started learning Python. I have watched several YouTube vids, read some documentation, and experimented on my own. I'm currently trying to ..... More

Print this item

  given 2 base 20 numbers write a program to subtract second from the first and return
Posted by: dp_tisha - Jun-12-2017, 05:37 AM - Forum: Homework - Replies (2)

Assume a base 20 number system which uses symbols 0-9 to represent values zero to nine and charectera A-J to represent values ten to nineteenth.

As..... More

Print this item

  More than or less than
Posted by: Splodge_123 - Jun-11-2017, 07:31 PM - Forum: Homework - Replies (2)

Hi,


I am relatively new to python and was wondering if someone could tell me what the python syntax is for 'more than' and 'less than'. I have tr..... More

Print this item

  Plotting Graph
Posted by: jacky19971997 - Jun-11-2017, 02:54 PM - Forum: Data Science - No Replies

Hello,

I'm trying to plot data which i receive from a serial com. It plots the data in a figure in 3 graphs.
I'm using the drawnow, but i can't fi..... More

Print this item

  Repeating a block of code
Posted by: owdcoder - Jun-11-2017, 02:52 PM - Forum: General Coding Help - Replies (8)

Is there a command which will repeat a block of code a set number of time. eg 10.times do:

my code here

Print this item

  Sqlite permissions problem.
Posted by: feat7 - Jun-11-2017, 02:10 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello there!
I just started writing in python. I am facing some issue regarding permissions to SQLite.
This is my repo [inline]github.com/feat7/medi..... More

Print this item

  Use Select_analysis in a loop
Posted by: babakkasraie - Jun-11-2017, 10:32 AM - Forum: General Coding Help - Replies (4)

How can I use select_analysis in a loop?
I need to select polygons one by one and create separate shapefiles from them.
I tried the following code..... More

Print this item

  Selected radio button in push button in Tkinter
Posted by: prashantfunde91 - Jun-11-2017, 08:15 AM - Forum: GUI - Replies (1)

my question here

my code here
Hello everyone i am learning about Python GUI stuff,

I have to use 4 radio buttons and a push bu..... More

Print this item

  how to enter a pause in the middle of a file
Posted by: sylas - Jun-11-2017, 06:14 AM - Forum: General Coding Help - Replies (2)

Hi all. With C++ I stop running for a pause with cin.get(), I tell to the user "Press ENTER to continue". What is the equivalent with python ??

[py..... More

Print this item

  split a grid into its tiles with tried codes
Posted by: babakkasraie - Jun-11-2017, 04:35 AM - Forum: General Coding Help - Replies (2)

Hello

I have a grid shapefile that contains 10 polygon squares.

I need to select each tile (which is a row in the attribute table) and make a s..... More

Print this item

  Back end issues
Posted by: brianmluo - Jun-11-2017, 03:05 AM - Forum: Homework - Replies (3)

Im doing a front and back end project which will be run on apache 2.4.7
So far however, my backend, when requested by the front end, returns an error..... More

Print this item

  len(bridge_knight) = 94 characters...
Posted by: RodNintendeaux - Jun-10-2017, 08:58 PM - Forum: General Coding Help - Replies (5)

bridge_knight = "I seek the bravest and the finest knights in the land who will join me in my court at Camelot."
When I run len(brid..... More

Print this item

  "my_value".index() inquiry...
Posted by: RodNintendeaux - Jun-10-2017, 06:48 PM - Forum: General Coding Help - Replies (6)

So I am learning this .index() thingy and know how to use it for a single character in a string, but I am running into errors trying to attempt to ind..... More

Print this item

  Not sure what I'm supposed to be doing here.
Posted by: ukr_nate - Jun-10-2017, 04:39 PM - Forum: Homework - Replies (5)

Howdy. I'm taking a class on Python in college, and I've come across a problem where I don't know what I'm supposed to be trying to do. I understand t..... More

Print this item

  Else statement
Posted by: snafu - Jun-10-2017, 04:01 PM - Forum: General Coding Help - Replies (2)

I'm new to python and i'm trying to code for the first. I'm trying to follow the Else statement following this youtube video:
https : //www  .youtube...... More

Print this item

  Is there a better way
Posted by: Able98 - Jun-10-2017, 03:36 PM - Forum: General Coding Help - Replies (2)

Is there a better way of doing this?

f = open(somename.dat)
print ("{0}" .format(f.name) + ".txt")
output is "somename.dat..... More

Print this item

  Data csv file into different text files with Python
Posted by: Bambi - Jun-10-2017, 03:27 PM - Forum: General Coding Help - Replies (1)

I'm a beginner in programming, but for a Dutch text categorization experiment I want to turn every instance (row) of a csv file into separate .txt fil..... More

Print this item

  install cups on python3
Posted by: gray - Jun-10-2017, 08:24 AM - Forum: GUI - Replies (2)

hello friends
i installed cups...i wanted to install it on python3 but it was installed on python2
i used this link for downloading cups: [u..... More

Print this item

  accessing postgresql
Posted by: Skaperen - Jun-10-2017, 05:13 AM - Forum: News and Discussions - Replies (8)

if you use postgresql from python: what is your favorite way to access postgresql in python?

i am looking to see which is more popular here.

the..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] Too much space ... 1 hour ago RonR deanhystad GUI
  How Reliable Is Assignmen... 10 hours ago tobey12 tobey12 News and Disc...
  Another app idea - intera... Today, 07:07 decuser Lenowell News and Disc...
  403 Error Yesterday, 20:58 CaptainNewb snippsat Web Scraping ...
  real community Yesterday, 20:16 decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575828
  Tutorial Requ... 497124
  Web Scraping ... 439836
  Newbie with P... 383540
  New Users Int... 365456
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+ 12087
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
XenonBlack Today
tobey12 Today
Lenowell Today
luisshulez6883 Yesterday
KennedyRichadGuerra Yesterday

User Panel Messages

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