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,237
» Latest member: lary_p
» Forum threads: 38,776
» Forum posts: 175,791

Full Statistics

Online Users
There are currently 32 online users.
» 0 Member(s) | 28 Guest(s)
Google, Bing, Apple

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Today, 12:56 AM
» Replies: 4
» Views: 135
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Yesterday, 10:39 AM
» Replies: 3
» Views: 110
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-07-2025, 07:29 PM
» Replies: 0
» Views: 81
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 122
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,210
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,374
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,575
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 197
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,205
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,456

 
  looking 4 py code: commang logger
Posted by: Skaperen - Dec-31-2016, 06:27 AM - Forum: Bar - Replies (2)

i have already implemented one of these in bash.  it's kinda big and awkward (no, it doesn't use awk).  it does use the script command for the termina..... More

Print this item

  How do I get buttons on top of an image?
Posted by: Saif133 - Dec-31-2016, 05:49 AM - Forum: GUI - Replies (4)

I want to have buttons on the top of an image like the pic shows below 
I tried tinkering tkinter again and again to get an output like this but it w..... More

Print this item

  looking 4 py code: output file in a text box
Posted by: Skaperen - Dec-31-2016, 04:33 AM - Forum: Bar - Replies (7)

i am wanting a command to output one (small) file in a text box, much like those relational db tools often do.

edit 1:
it would be a plus t..... More

Print this item

  Dictionary my best option?
Posted by: birdieman - Dec-31-2016, 01:20 AM - Forum: General Coding Help - Replies (8)

I am still a beginner and would like to know the best way to approach my task -- whether to structure my data table as a list or dictionary or somethi..... More

Print this item

  Atom a quick review
Posted by: snippsat - Dec-30-2016, 09:41 PM - Forum: News and Discussions - Replies (1)

So this is about Atom,a hackable Think modern free text editor.
It can run most languages out there,
has a strong fo..... More

Print this item

  Binary Clock
Posted by: sparkz_alot - Dec-30-2016, 08:07 PM - Forum: Code sharing - Replies (13)

So I started what I thought would be a pretty simple project, but through perseverance was able to turn it into something complicated.  It's rather lo..... More

Print this item

  Can't Use Python 3.6 On PC (Windows8.1/64-bit)
Posted by: Saif133 - Dec-30-2016, 03:49 PM - Forum: General Coding Help - Replies (7)

  • Recently installed Windows 8.1 -Used 64 bit installer present on the python site

  • [size=small]Getting "The Program ..... More

Print this item

  first learned python
Posted by: metulburr - Dec-30-2016, 01:46 PM - Forum: Bar - Replies (12)

I cant believe its been 5 years since i first learned python. It feels like just awhile ago. I remember posting on facebook, mad that it didnt save th..... More


Attached Files

Thumbnail(s)
   
Print this item

  urls to get ip
Posted by: Skaperen - Dec-30-2016, 09:08 AM - Forum: Bar - Replies (22)

since i have been working on a module/command to get the user's current public IP address, as the world sees it, and web queries seem to be the way to..... More

Print this item

  looking 4 py code: json compactor
Posted by: Skaperen - Dec-30-2016, 08:23 AM - Forum: Bar - Replies (3)

i am looking for (will eventually code it if not found) code to take a string in JSON format so the result is th shortest possible string with the sam..... More

Print this item

  looking 4 py code: run-length compression
Posted by: Skaperen - Dec-30-2016, 08:23 AM - Forum: Bar - Replies (2)

i am looking for (will eventually code it if not found) code to do simple run-length compression.

Print this item

  The int that appears an odd number of times.
Posted by: MeeranRizvi - Dec-30-2016, 05:47 AM - Forum: Homework - Replies (6)

Hello Guys,

Here i am having a array

array=[1,2,3,2,4,2,4,3,5,5,1]
I just need to find out which number that appears an ..... More

Print this item

  setuptools setup problem
Posted by: TomGeorge - Dec-29-2016, 09:31 PM - Forum: General Coding Help - Replies (7)

I am using python3.4 on debian jessie  After the following enties
[python]from setuptools import setup

setup(
   name='vseach',
   version='1.0'..... More

Print this item

  Senior brain F..T
Posted by: Larz60+ - Dec-29-2016, 08:57 PM - Forum: Bar - Replies (5)

Hey,

what is the name of the python that allows text and code to intermingle?
I was involved in this conversation earlier, but can't recall the de..... More

Print this item

  plotting (using numpy) - scaling of x axis
Posted by: Tabagari - Dec-29-2016, 07:57 PM - Forum: General Coding Help - Replies (2)

Hey there,

I'm new to python and the answer to my question might be really easy to find out but I admit I don't really know what to look for. I tri..... More

Print this item

  How can I use GNU readline when the value of sys.stdin has been changed?
Posted by: thePhysicist8 - Dec-29-2016, 04:39 PM - Forum: General Coding Help - Replies (6)

I'm using Python 3.5.2 on Linux.

I'm trying to get my program to take input from a pipe (i.e. find ~/docs | main.py) and later take ..... More

Print this item

  How to compressing and decompressing a list to a .csv file? Python
Posted by: n4meless - Dec-29-2016, 03:17 PM - Forum: Homework - Replies (4)

[color=#242729][size=small][font=Arial,]Hello I was wondering if anyone can help me with this task, I've made an attempt but unsure how to complete, H..... More

Print this item

  Cannot successfully install NumPy
Posted by: aniketmone2017 - Dec-29-2016, 11:51 AM - Forum: General Coding Help - Replies (3)

Hi,

[size=medium][font=Arial]I downloaded & properly installed JetBrains PyCharm (pycharm-community-2016.3) ..... More

Print this item

  Print the index of the vowels in a string
Posted by: MeeranRizvi - Dec-29-2016, 08:37 AM - Forum: Homework - Replies (4)

Hello guys,

Here i need to print the index of the vowels in a string

Here is my code
[python]
li=['a','e','i','o','u']
word='Rizvi'
for i in..... More

Print this item

  urlib2 issues
Posted by: Skaperen - Dec-29-2016, 07:03 AM - Forum: Web Scraping & Web Development - Replies (13)

is urllib2 a good choice for getting website contents? it is used in that code i posted regarding catchin IOError failing. it gets ..... More

Print this item

  exception not caught in my filetopystr.py
Posted by: Skaperen - Dec-29-2016, 06:07 AM - Forum: General Coding Help - Replies (8)

i have the call to main() wrapped to catch IOError (line 156 in the code below) so the output can be stopped in a POSIX/Unix/Linux comma..... More

Print this item

  read/print from file
Posted by: mcmxl22 - Dec-29-2016, 03:03 AM - Forum: General Coding Help - Replies (8)

I am trying to print a file based on this tutorial, (basic)files, and some other suggestions I fo..... More

Print this item

  Writing many variables to a file
Posted by: birdieman - Dec-28-2016, 10:09 PM - Forum: General Coding Help - Replies (3)

I am still a beginner to Python and have the following code to write about 14 variables to a file:
[python]


f.write('{} {} {} {} {} {} {} {} {} ..... More

Print this item

  Humble Bundle Game development offer
Posted by: Larz60+ - Dec-28-2016, 05:44 PM - Forum: News and Discussions - Replies (19)

Hey -

Humble Bundle has a year end game offer - $10 for the following
game ..... More

Print this item

  Car dashboard with TKinter
Posted by: TMJJ - Dec-28-2016, 03:06 PM - Forum: GUI - Replies (1)

Hi,

I want to program a car dashboard in python which will be shown on a touchscreen connected to a raspberry pi. 
I will be able to read speed, r..... More

Print this item

  Bokeh - dynamic update widget.Select values
Posted by: sixteenornumber - Dec-28-2016, 02:15 PM - Forum: GUI - No Replies

I'm using a Bokeh Select widget, from bokeh.models.widgets import Select which is essentially a dropdown on a web page. eg: ..... More

Print this item

  Sorting File
Posted by: iainstott - Dec-28-2016, 12:53 PM - Forum: General Coding Help - Replies (2)

Hi guys, hope everyone had a good xmas. 
I'm currently working on a script to sort an m3u file into a specific channel order. It's working to a degre..... More

Print this item

  Mouse.get_pressed() Overlapping Buttons
Posted by: KHendrikson - Dec-28-2016, 09:04 AM - Forum: Game Development - Replies (5)

Hi there.

I'm having trouble creating various menus with Pygame, since some of the menu buttons, although on different menu screens, share the same..... More

Print this item

  Wiindows 10 is Linux?
Posted by: wavic - Dec-28-2016, 07:15 AM - Forum: Bar - Replies (2)

Have you guys seen this? I'll not be surprised if it's true  Big Grin

Print this item

  modulo and order of operations
Posted by: freakbot - Dec-28-2016, 04:29 AM - Forum: General Coding Help - Replies (4)

I'm using 2.7.X
Working with the following:

print 100 - 25 * 3 % 4
When i run this i get 97 as the answer.

It seems like it I s..... More

Print this item

  empty lines
Posted by: Skaperen - Dec-28-2016, 03:17 AM - Forum: Board - Replies (10)

i am periodically and recently frequently seeing empty lines added to my posts. they are usually added to inserted code, but i have also seen them in ..... More

Print this item

  Python 3.5.2-bit install SNAFU
Posted by: Orthoducks - Dec-28-2016, 01:00 AM - Forum: General Coding Help - Replies (7)

My current "production" version of Python is the 64-bit version of release 2.7 under Windows 7. I'm trying to install the 64-bit version of release 3...... More

Print this item

  Change type of elements in a list by column
Posted by: tkj80 - Dec-28-2016, 12:04 AM - Forum: General Coding Help - Replies (7)

Hi,

say I have the following list:

myList = [['john', '1', '2:00pm'], ['becky', '2', '3:15pm'], ['tom', '3', '3:20pm']]

the type of every ele..... More

Print this item

  calling an object variable in a dictionary
Posted by: sunhear - Dec-27-2016, 09:50 PM - Forum: General Coding Help - Replies (3)

my code in python 2.7 is:
[python]
class char(object):
    'chactors'
 
    #Create instances of object 
    def __init__(self,name,d):
       ..... More

Print this item

  printing to a printer vs the screen
Posted by: birdieman - Dec-27-2016, 05:33 PM - Forum: General Coding Help - Replies (4)

As a beginner, I have searched this forum (though I may not be doing it right) and the internet to find out how to print to my printer vs a print comm..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... Today, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... Yesterday, 10:39 yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... 11-07, 19:29 tsgiannis tsgiannis GUI
  [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...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578713
  Tutorial Requ... 509304
  Web Scraping ... 441858
  Newbie with P... 385814
  New Users Int... 375210
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
lary_p Today
Cristiano Yesterday
Alfredd Yesterday
clayote Yesterday
yutaozhou 11-07

User Panel Messages

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