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 52 online users.
» 1 Member(s) | 47 Guest(s)
Apple, Google, Bing, kshahzad1985

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

 
  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

  Virus using Python
Posted by: miira - Nov-29-2016, 07:00 PM - Forum: Homework - Replies (7)

Hi guys, I hope everyone is doing well. I have a problem understanding this lab could you please guide me through it thank you! 
For this lab, you wi..... 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... 578703
  Tutorial Requ... 509227
  Web Scraping ... 441850
  Newbie with P... 385802
  New Users Int... 375133
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