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,341
» Latest member: MatthewRodia
» Forum threads: 38,810
» Forum posts: 175,968

Full Statistics

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

Latest Threads
Larger GUI Program Oragan...
Forum: GUI
Last Post: MilesWeb
1 hour ago
» Replies: 2
» Views: 388
500 Internal Server error...
Forum: Web Scraping & Web Development
Last Post: MilesWeb
1 hour ago
» Replies: 5
» Views: 2,596
division error
Forum: General Coding Help
Last Post: deanhystad
8 hours ago
» Replies: 2
» Views: 169
"with open(os.path.join(a...
Forum: General Coding Help
Last Post: uek67
Yesterday, 01:13 PM
» Replies: 13
» Views: 560
Albert is Hiring: Remote ...
Forum: Jobs
Last Post: prachi01
Yesterday, 10:55 AM
» Replies: 1
» Views: 1,320
Looking for new hosting s...
Forum: Bar
Last Post: DeaD_EyE
Dec-09-2025, 02:30 PM
» Replies: 16
» Views: 11,136
Optimization Software Eng...
Forum: Jobs
Last Post: bicop
Dec-09-2025, 11:51 AM
» Replies: 0
» Views: 86
scipy.optimize.curve_fit ...
Forum: Data Science
Last Post: willflanagan
Dec-08-2025, 10:02 PM
» Replies: 0
» Views: 112
Iterator and/or generator...
Forum: General Coding Help
Last Post: noisefloor
Dec-08-2025, 04:30 PM
» Replies: 8
» Views: 483
Graphics error
Forum: General Coding Help
Last Post: woooee
Dec-08-2025, 04:22 PM
» Replies: 2
» Views: 606

 
  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

  output to canvas widget
Posted by: freakbot - Dec-01-2016, 06:18 AM - Forum: GUI - Replies (2)

First post here on this new forum.

I'm trying to get a windows 'dir' command output to display in a canvas widget. Ultimately I want to built an in..... More

Print this item

  matplotlib timestamp
Posted by: zero_shubh0 - Dec-01-2016, 06:15 AM - Forum: General Coding Help - Replies (2)

I'm not able to attach my code here. 
This is about converting standard date formats to matplotlib's own kind of format (something greg..... More

Print this item

  More of my learning
Posted by: LordHill - Dec-01-2016, 05:37 AM - Forum: Code sharing - Replies (2)

Took a break while I worked a bunch of overtime, but had a rare day off yesterday. Decided to continue my learning. Read a bit about python classes. T..... More

Print this item

  ftplib os.listdir function
Posted by: peterkl - Nov-30-2016, 08:55 PM - Forum: Networking - Replies (1)

Hello everyone,

I'm looking for a method like os.listdir(), but in the ftplib, within a ftp server. I want to list every dir on the ftp server and..... More

Print this item

  Battleship game in python
Posted by: Colpyin - Nov-30-2016, 08:29 PM - Forum: General Coding Help - Replies (1)

Hello, I'm kinda new to python and programming in general, but I would like to code the battleship game.
But I'm currently struggling at implementing..... More

Print this item

  Google analytics for this site
Posted by: snippsat - Nov-30-2016, 08:19 PM - Forum: Board - No Replies

I did install Google analytics 18-11-16.
Here some Dashbord of differert stats.

We see a bump down on 23-11,because we had Unbound guests Dodgy
..... More

Print this item

  Extra line before code
Posted by: snippsat - Nov-30-2016, 06:06 PM - Forum: Board - Replies (1)

metulburr do you know why it now add an extra line(<br>) before syntax code.
Did not to that before,should be equal to output and error tag.

Test...... More

Print this item

  Perforce System Admin
Posted by: Axis Animation - Nov-30-2016, 05:03 PM - Forum: Jobs - No Replies

[Image: DbjIM1L.jpg][b][size=small][font=Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif][color=#993333][font=Verdana, Arial,..... More

Print this item

  Wtf i did wrong?
Posted by: AlexEdy1982 - Nov-30-2016, 04:38 PM - Forum: General Coding Help - Replies (7)

Cand someone please wtf i did wrong on this.Actually wtf i copied wrong on this.I really needed a keylogger that sends the text file + images via emai..... More

Print this item

  Last Pass
Posted by: metulburr - Nov-30-2016, 03:51 PM - Forum: News and Discussions - Replies (4)

The recent hack we had recently is a good reminder to everyone that you should not use the same password for each website. If one site is compromised,..... More

Print this item

  New to Python
Posted by: pmauer456 - Nov-30-2016, 07:25 AM - Forum: General Coding Help - Replies (1)

All,

  I'd really appreciate some help here.  I'm trying to learn Python from a book and in one section they put the function you see below.  So I ..... More

Print this item

  selenium click a span tag
Posted by: metulburr - Nov-30-2016, 07:10 AM - Forum: Web Scraping & Web Development - Replies (1)

I am having trouble clicking a span tag that is a button, but not using button html tag at all.

Most example i see are doing something like
[quote..... More


Attached Files

Thumbnail(s)
   
Print this item

  Sorry, but you can only perform one search every 30 seconds
Posted by: Skaperen - Nov-30-2016, 05:10 AM - Forum: Board - Replies (8)

for real searches, ok, but this should be shorter for links implemented as a search such as My Discussions and Today's Posts.  even better would be to..... More

Print this item

  sort_by_length
Posted by: roadrage - Nov-30-2016, 03:04 AM - Forum: Homework - Replies (8)

"""
Create a function called sort_by_length, which takes a single argument - a
(immutable) sequence of iterables (L).

The function must:
  1. ..... More

Print this item

  import vs. from module import *
Posted by: ggpf000 - Nov-30-2016, 12:48 AM - Forum: General Coding Help - Replies (4)

I defined my own module <folder1>/<module1> and inside I <module1>, defined <function1>.

Now I import using import statement and call function1, it..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Larger GUI Program Oragan... 1 hour ago Tuurbo46 MilesWeb GUI
  500 Internal Server error... 1 hour ago ppowell777 MilesWeb Web Scraping ...
  division error 8 hours ago nathanael deanhystad General Codin...
  "with open(os.path.join(a... Yesterday, 13:13 uek67 uek67 General Codin...
  Albert is Hiring: Remote ... Yesterday, 10:55 AlbertApp prachi01 Jobs
  Looking for new hosting s... 12-09, 14:30 Larz60+ DeaD_EyE Bar
  Optimization Software Eng... 12-09, 11:51 bicop bicop Jobs
  scipy.optimize.curve_fit ... 12-08, 22:02 willflanagan willflanagan Data Science
  Iterator and/or generator... 12-08, 16:30 mogplus8 noisefloor General Codin...
  Graphics error 12-08, 16:22 nathanael woooee General Codin...
  An impressive collection ... 12-06, 06:35 Gribouillis Larz60+ Bar
Most views
  The best Prog... 579916
  Tutorial Requ... 515629
  Web Scraping ... 442560
  Newbie with P... 386790
  New Users Int... 383479
Most reputation
buran 581
snippsat 511
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+ 12117
buran 8197
snippsat 7395
deanhystad 6918
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
MatthewRodia Yesterday
signs2go Yesterday
Iqra Yesterday
prachi01 Yesterday
ericAlfonce Yesterday

User Panel Messages

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