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,921
» Latest member: RonR
» Forum threads: 38,719
» Forum posts: 175,489

Full Statistics

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

Latest Threads
Too much space between gr...
Forum: GUI
Last Post: deanhystad
1 hour ago
» Replies: 1
» Views: 83
New to Python and Pygame
Forum: Game Development
Last Post: deanhystad
2 hours ago
» Replies: 6
» Views: 1,377
data input while debuggin...
Forum: General Coding Help
Last Post: Pedroski55
4 hours ago
» Replies: 1
» Views: 112
Select Python comment (#)...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 01:34 PM
» Replies: 5
» Views: 431
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
Yesterday, 06:11 AM
» Replies: 5
» Views: 1,208
New to the field
Forum: News and Discussions
Last Post: Polybunny
Yesterday, 01:31 AM
» Replies: 0
» Views: 128
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Stowersw
Sep-12-2025, 03:23 PM
» Replies: 4
» Views: 2,318
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-12-2025, 11:09 AM
» Replies: 2
» Views: 926
Web Scrapper to find prov...
Forum: General Coding Help
Last Post: Olivia
Sep-12-2025, 08:36 AM
» Replies: 1
» Views: 2,202
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-11-2025, 08:39 PM
» Replies: 6
» Views: 1,605

 
  list_reduction
Posted by: roadrage - Dec-05-2016, 05:30 PM - Forum: Homework - Replies (3)

"""
Write a function called list_reduction, that takes a single argument - a list
of strings, L. The function must:
  1. Transform the list, *in ..... More

Print this item

  setting evironment of Linux using python
Posted by: kgkhan - Dec-05-2016, 05:17 PM - Forum: General Coding Help - Replies (2)

Hi I am trying to convert a shell script to python. In shell script they are setting the Environment I don't know how to do that using the python here..... More

Print this item

  where to find advanced level guides
Posted by: Skaperen - Dec-05-2016, 07:43 AM - Forum: General Coding Help - Replies (3)

i am looking for advanced level guides to python for subprocess piping.

i want to be able to read data from a subprocess so this involves pipes whe..... More

Print this item

  How to get from linux command line to an array
Posted by: timfox123 - Dec-04-2016, 11:51 PM - Forum: General Coding Help - Replies (4)

Hello, I am a totally newby.

I am trying to convert from Linux Bash to python. 

I need the output of Linux commands to be stored in a Python arr..... More

Print this item

  Identifying Efficiency
Posted by: micseydel - Dec-04-2016, 11:46 PM - Forum: Bar - Replies (9)


I interviewed a candidate recently for a software engineering position who had a master's degree from UCLA with a 3.8 GPA and a 3.9 GPA in under..... More

Print this item

  Help with classes
Posted by: J125 - Dec-04-2016, 05:04 PM - Forum: General Coding Help - Replies (9)

Hi All,

I'm sure this forum is littered with Learn Python the Hard Way questions... here's another on exercise 43: learnpythonthehardway.org/book/e..... More

Print this item

  faster socket with multiprocessing.Pipe
Posted by: sixteenornumber - Dec-04-2016, 02:58 PM - Forum: General Coding Help - Replies (2)

I have a socket receiving a TCP stream that WAS getting bottle necked with some of the processing.  I fixed the problem by giving the socket it's own ..... More

Print this item

  Need apointer to python project deployment
Posted by: PickyBiker - Dec-04-2016, 02:53 PM - Forum: General Coding Help - Replies (2)

Can someone point me to a resource (book or link) to learn about python project deployment? 

I am using raspberry pi and I have some simple program..... More

Print this item

  rock,paper,scissors
Posted by: Jei - Dec-04-2016, 02:13 PM - Forum: Homework - Replies (11)

I need to make this classic game.
my problem is that i dont know how to compare them to each other.
Doh
maybe something like this?
[python]if ..... More

Print this item

  Luhn algorithm
Posted by: Skaperen - Dec-04-2016, 05:56 AM - Forum: General Coding Help - Replies (3)

has anyone here implemented the Luhn algorithm in Python, preferably Python 3 ?

Print this item

  Advent of Code 2016
Posted by: snippsat - Dec-03-2016, 10:27 PM - Forum: News and Discussions - Replies (4)

If someone has to much spare time before Christmas Snowman
Advent of Code 2016

Print this item

  Watson IOT Released by IBM
Posted by: Larz60+ - Dec-03-2016, 09:49 PM - Forum: News and Discussions - No Replies

This is interesting (In my Humble Opinion), IBM has released Watson for Raspberry Pi (and other MCU') free (sort of)
see: http://www.ibm.com/internet..... More

Print this item

  Fractional Exponent Question
Posted by: Flexico - Dec-03-2016, 08:07 PM - Forum: General Coding Help - Replies (2)

This response had me confused for a while:
[code]>>> (-6)**(1/3)
(0.9085602964160701+1.5736725951324722j)
>>> abs(_)
1.8171205928321397
>>> (-_)*..... More

Print this item

  loop trouble
Posted by: Jei - Dec-03-2016, 03:38 PM - Forum: Homework - Replies (3)

The problem here is that after i type "quit" it still asks one last time "write something"  before it quits Think

[python]keepgoing = True

..... More

Print this item

  pywinauto timings timout error
Posted by: stonetr33 - Dec-03-2016, 10:50 AM - Forum: General Coding Help - Replies (4)

I switch between several keyboard layouts and have made super primitive scripts with pywinauto to TAB and ENTER until the desired layout is added or r..... More

Print this item

  Beginning in Qt
Posted by: NetCancer - Dec-03-2016, 07:00 AM - Forum: GUI - Replies (2)

Hello people,

I recently started trying to code GUIs in Python. I already have prior expericence with the language, bit it is limited to console co..... More

Print this item

  preferred?: multiple assignment
Posted by: Skaperen - Dec-03-2016, 03:18 AM - Forum: General Coding Help - Replies (6)

which would be preferred for assigning x to 6 variables:

a,b,c,d,e,f=x,x,x,x,x
vs.

a=b=c=d=e=f=x
and is ther..... More

Print this item

  a 'simple' program, hard as .... to understand
Posted by: meems - Dec-02-2016, 11:51 PM - Forum: General Coding Help - Replies (3)

Hi, I'm learning python and I went thru some code that was under the title 'simple python programs' and found this.

[python]BOARD_SIZE = 8

def u..... More

Print this item

  What is wrong with the code?
Posted by: dullboy - Dec-02-2016, 06:18 PM - Forum: General Coding Help - Replies (3)

Here is the code,
[code]
class A():
   target = open("test.log", "a")

   def test(self):
       print "test"
       target.write("test\n")
  ..... More

Print this item

  Image not found error
Posted by: simiugor - Dec-02-2016, 05:14 PM - Forum: Game Development - Replies (8)

Hey guys,
I'm beginner in Python 3.5 and Pygame. With help of YouTube tutorials I'm trying to code my first very basic "game". I am using Mac OS and e..... More

Print this item

  f2py recovering variables from Fortran module
Posted by: marius - Dec-02-2016, 03:52 PM - Forum: General Coding Help - No Replies

[color=#242729][size=small][font=Arial,]My endgame is to have take a number of different Fortran scripts that I've written and interface them via Pyth..... More

Print this item

  images unviewable as guest
Posted by: Larz60+ - Dec-02-2016, 01:50 PM - Forum: Board - Replies (10)

If a user is not logged in, the user allowed to view tutorials,
which is good, but not able to view images (expanded) associated
with same.

This,..... More

Print this item

  Pipeline Technical Director
Posted by: Axis Animation - Dec-02-2016, 11:06 AM - Forum: Jobs - No Replies

[size=x-small][font=Arial, Helvetica, sans-serif][b][font=Arial, Helvetica, sans-serif]
[color=#444444][Image: yqnWuNF.jpg][/col..... More

Print this item

  combined posts, reply, bad edit
Posted by: Skaperen - Dec-02-2016, 08:02 AM - Forum: Board - Replies (2)

there is that feature where if you make a 2nd post/reply to the same thread, these get combined with a long (wide) horizontal rule between them

a r..... More

Print this item

  Pay what you want - Humble Unix Book Bundle O'Reilly
Posted by: Larz60+ - Dec-02-2016, 07:02 AM - Forum: News and Discussions - Replies (1)

Hello,

O'Reilly offers 50 books worth $500 - Pay what you want - Contribution

There are some really good titles ..... More

Print this item

  pythonroom Siblings Task
Posted by: Rhysimus - Dec-01-2016, 11:47 PM - Forum: Homework - Replies (6)

Hello everyone, I'm currently having trouble doing a task on the website 'pythonroom' in the 'Branching' lesson. For those who don't know what pythonr..... More

Print this item

  loop in system command fails
Posted by: roadrage - Dec-01-2016, 10:27 PM - Forum: Homework - Replies (1)

Create a function called filter_passwd. The fucntion must take the following
arguments:
  - A string, representing the path to a file using the /e..... More

Print this item

  How to timestamp a Python program, your thoughts?
Posted by: Orthoducks - Dec-01-2016, 10:24 PM - Forum: General Coding Help - Replies (2)

I want my Python programs to display a timestamp when they run. It doesn't have to be precise, but it should reflect the date (at least) when the prog..... More

Print this item

  Python almost as verbose as Java
Posted by: Ofnuts - Dec-01-2016, 10:06 PM - Forum: Bar - Replies (5)

At least according to these guys.

Print this item

  My first go at Python hasn't gone well
Posted by: whythedevilnot - Dec-01-2016, 10:00 PM - Forum: General Coding Help - Replies (6)

I've only just started fiddling with python and I've been trying to write a script that asks a random times table question. It doesn't do what I expec..... More

Print this item

  function to write the contents of a webpage into a new file
Posted by: roadrage - Dec-01-2016, 08:37 PM - Forum: Homework - Replies (4)

"""
Create a function called wget, which takes a single argument -
a fully qualified URL (e.g. https://www.yahoo.com/).

The function must:
  1..... More

Print this item

  Pip install error for cx_Oracle
Posted by: kdamundson - Dec-01-2016, 06:20 PM - Forum: General Coding Help - Replies (2)

Python3.3, running pip and pip3.3 both produce the same result. This build is under the E: drive. Here is the error:

[output]>pip install cx_Oracle..... More

Print this item

  Decimal problem
Posted by: hmillsar - Dec-01-2016, 05:40 PM - Forum: General Coding Help - Replies (2)

Hello forum. I am currently writing a program to determine the roots of a cubic equation. However I have come across some trouble with my script.
[py..... More

Print this item

  script closed before i can see the error that occurs?
Posted by: wrestlemy69 - Dec-01-2016, 05:19 PM - Forum: General Coding Help - Replies (9)

I am a newbie!!!!!!!!!!!! This code is pieces of other peoples code.
First a run down of what it does. Basically its a batch renamer.

Print this item

  Programs can be improved
Posted by: FouFOOM - Dec-01-2016, 04:55 PM - Forum: Code sharing - Replies (2)

Hi, my name is fabien.
I'm in highschool.
I started python language yesterday.
I want to know if the programs can be improved.
I try to do my best..... 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
  New to Python and Pygame 2 hours ago JMcM deanhystad Game Developm...
  data input while debuggin... 4 hours ago fred1232 Pedroski55 General Codin...
  Select Python comment (#)... Yesterday, 13:34 SpongeB0B snippsat General Codin...
  I'm trying to make a piec... Yesterday, 06:11 Alislugacool MilesWeb General Codin...
  New to the field Yesterday, 01:31 Polybunny Polybunny News and Disc...
  Seeking feedback: dynamic... 09-12, 15:23 Bona2000 Stowersw General Codin...
  Python and excel vba codi... 09-12, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... 09-12, 08:36 physalis2099 Olivia General Codin...
  403 Error 09-11, 20:39 CaptainNewb snippsat Web Scraping ...
  pip fails to install PyGO... 09-11, 10:50 voidtrance Larz60+ General Codin...
Most views
  The best Prog... 575463
  Tutorial Requ... 496354
  Web Scraping ... 439570
  Newbie with P... 383170
  New Users Int... 364022
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+ 12086
buran 8174
snippsat 7366
deanhystad 6892
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
RonR Yesterday
SofiaAnatolie Yesterday
Erikventura Yesterday
aidajnrz7704 Yesterday
Jillscitt 09-12

User Panel Messages

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