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,397
» Latest member: MaxTranslate
» Forum threads: 38,823
» Forum posts: 176,026

Full Statistics

Online Users
There are currently 33 online users.
» 2 Member(s) | 26 Guest(s)
Applebot, Bing, Google, AOL, jogl, snippsat

Latest Threads
Opencv findContours Q
Forum: General Coding Help
Last Post: jogl
10 minutes ago
» Replies: 0
» Views: 11
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Today, 09:12 AM
» Replies: 1
» Views: 4,586
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Today, 08:37 AM
» Replies: 4
» Views: 167
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Today, 07:27 AM
» Replies: 7
» Views: 3,593
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 141
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 287
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,101
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,953
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 174
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 106

 
  getting current filename of a text editor file for printing file name?
Posted by: hsunteik - Dec-24-2016, 10:26 AM - Forum: General Coding Help - Replies (3)

from sys import *

def open_file(filename)
      print(filename)

def run():
     open_file(?)
what should i write int..... More

Print this item

  must the if statement in the following tutorial be nested?
Posted by: hsunteik - Dec-24-2016, 10:15 AM - Forum: General Coding Help - Replies (3)

in this tutorial series on creating a programming language:
https://www.youtube.com/watch?v=pWAxiKdJF0c  (the first episode in the video tutorial ser..... More

Print this item

  how to treat two token as one token(lexer)?
Posted by: hsunteik - Dec-24-2016, 09:53 AM - Forum: General Coding Help - Replies (1)

lets say i have two type of token (the # token and the = token)
when each token is found the position variable will increase by one,but when theres s..... More

Print this item

  init vs_init_ while defining method/function?
Posted by: hsunteik - Dec-24-2016, 08:20 AM - Forum: General Coding Help - Replies (1)

while defining method,what is the difference in
this:

def init(...........):

      ................................
 
..... More

Print this item

  another project - this one is a function
Posted by: Skaperen - Dec-24-2016, 06:49 AM - Forum: Bar - No Replies

i will name this pcall() or pipeline() or callpipe() or something along those lines.

it will use one positional argument, a list of lists, where ea..... More

Print this item

  another project
Posted by: Skaperen - Dec-24-2016, 04:28 AM - Forum: Bar - Replies (3)

i don't have a clue if this is a small project or a large project.  i suspect it is a massively huge monstrosity.

i want to create a stack oriented..... More

Print this item

  Unable to open files without file extension
Posted by: pstarrett - Dec-24-2016, 03:03 AM - Forum: General Coding Help - Replies (3)

I am working with the Enron emails and they do not have a file extension. I can get the first set of code to work but I cannot in the second (see erro..... More

Print this item

  First line of File gets deleted when reading file
Posted by: lrxM - Dec-23-2016, 04:53 PM - Forum: General Coding Help - Replies (2)

Hi everyone,

im quite new to python, especially to reading and writing files. 
I now wrote a script which was intended to read a "csv utf-8" file,..... More

Print this item

  TypeError: request for something already fulfilled?
Posted by: merlem - Dec-23-2016, 12:47 PM - Forum: GUI - Replies (11)

When using wxpython, I frequently get TypeErrors about something that is - as far as I can see - already fulfilled.
Examples:


[python]
# -*- co..... More

Print this item

  Python 3.6 Released
Posted by: snippsat - Dec-23-2016, 11:56 AM - Forum: News and Discussions - Replies (9)

This is a big release,with 16 new PEP(Python Enhancement Proposals) and ordered dictionary python 
..... More

Print this item

  Python Developer Availalble
Posted by: manikandan - Dec-23-2016, 11:35 AM - Forum: Jobs - No Replies

We have Python Sr. developers/ Junior developers readily available to get started on the project. 

[color=#000000]info @ opt..... More

Print this item

  how do i repeat???
Posted by: Darbandiman123 - Dec-23-2016, 08:48 AM - Forum: General Coding Help - Replies (2)

i have some coding that i would like to repeat here is the coding how do i do it??? it is for a calculator and i want to repeat the last bit ("main()"..... More

Print this item

  Access online database from python
Posted by: d4py - Dec-23-2016, 04:01 AM - Forum: General Coding Help - Replies (5)

Hi,
I am learning python at the moment (codeacademy & learn python android app & a couple of different books) and am also making little programs as I..... More

Print this item

  Christmas Window
Posted by: snippsat - Dec-23-2016, 12:14 AM - Forum: Bar - Replies (5)

Tried to make a window with a little Christmas spirit.
Tool 3DS-Max(render Corona) and PS.
(Click on image to enlarge).  
[img]http://imageshack.co..... More

Print this item

  coding doesent work???
Posted by: Darbandiman123 - Dec-22-2016, 06:45 PM - Forum: General Coding Help - Replies (2)

hey all i am using python 3.3.3 in idle (i know its outdated) but i am trying to make a siple if statment however it wont work and says invalid syntax..... More

Print this item

  REAL-TIME SUPERVISOR
Posted by: Axis Animation - Dec-22-2016, 05:26 PM - Forum: Jobs - No Replies

REAL-TIME SUPERVISOR
[Image: huzcN5Y.png]

[color=#ff66..... More

Print this item

  Extrapolation
Posted by: bananen - Dec-22-2016, 04:51 PM - Forum: Data Science - Replies (1)

Hi!

I have two lists of data that I have done a linear fit on, and I would like to extrapolate this linearly but I don't really know how. I have at..... More

Print this item

  Formatting $
Posted by: birdieman - Dec-22-2016, 03:07 PM - Forum: General Coding Help - Replies (18)

Using this formatting code:

[size=small][color=#008080]print('${:>10,.0f}'.format(xyz))[/siz..... More

Print this item

  Multi threaded Timer Class
Posted by: Larz60+ - Dec-22-2016, 12:29 PM - Forum: Code sharing - No Replies

Moved from python-forum.org

Here is a timer class that can set to run simultaneous timers and kick off events upon completion.
a timer can be set ..... More

Print this item

  Stopping scheduler with condition
Posted by: j.crater - Dec-22-2016, 08:08 AM - Forum: General Coding Help - Replies (17)

Hello,
I need to execute some code repeatedly with a fixed interval. I scraped this piece of code online:

[python]
class PeriodicScheduler(object):
 ..... More

Print this item

  startproject - django 1.9.6
Posted by: lewashby - Dec-22-2016, 01:08 AM - Forum: Web Scraping & Web Development - Replies (4)

Linux Mint

I'm following a book on Django and it has this -> https://hellowebapp.com/setup/ accompanying website. Take a look below at what I'm getti..... More

Print this item

  Using python for text replacement
Posted by: omar - Dec-22-2016, 12:44 AM - Forum: General Coding Help - Replies (1)

I want to make many ready made text be available.

So if I type #hello for example, I could have this replaced with one line or many paragraphs of t..... More

Print this item

  Thoughts on how to approach a project
Posted by: birdieman - Dec-21-2016, 11:09 PM - Forum: Data Science - Replies (13)

I am a moderately experienced VBA coder, and have only begun learning Python (second post on this forum) because I would like to take on a new project..... More

Print this item

  Google rank; One more to go
Posted by: metulburr - Dec-21-2016, 10:53 PM - Forum: Board - Replies (42)

Now to bypass our old forum  Smile

http://lmgtfy.com/?q=python+forum


Attached Files

Thumbnail(s)
   
Print this item

  Problem with NTLM to download data
Posted by: azahar - Dec-21-2016, 09:17 PM - Forum: General Coding Help - Replies (1)

Hello,

I am new in python and after two days of research I am stuck on a little issue with API and NTLM package for Anaconda. I want to grab data f..... More

Print this item

  Need alittle hlpl with an image scraper.
Posted by: Blue Dog - Dec-21-2016, 07:09 PM - Forum: Web Scraping & Web Development - Replies (8)

Hello one and all,
I am back with , I hope is a small problem. I found this image scraper that looks just what I been looking for. I been working on ..... More

Print this item

  Meaning of some term?
Posted by: hsunteik - Dec-21-2016, 03:06 PM - Forum: General Coding Help - Replies (2)

What is attribute grammar and backend generator?
Please answer as detailed as possible. Big Grin


Is it better to create lexer and parser with..... More

Print this item

  What is best framework to develop webservice in Django?
Posted by: hari3710 - Dec-21-2016, 07:03 AM - Forum: General Coding Help - Replies (3)

Hi All,
I want to develop the web services in Django.
Which is the best framework to develop the web service?

Django REST Framework or Piston?

Print this item

  Porting a MATLAB program into Python?
Posted by: xpress_embedo - Dec-21-2016, 06:44 AM - Forum: General Coding Help - Replies (1)

Hello! Everyone,
I am new to Python and i have to port a program written in MATLAB into Python, this program uses plot and that's why i had installed..... More

Print this item

  concat two list based on array
Posted by: MeeranRizvi - Dec-21-2016, 06:31 AM - Forum: Homework - Replies (9)

Here is my input

a=[1,2,3,4]
b=[5,6,7,8]
I need the output like this:
Output:
[1,5,2,6,3,7,4,8]
How to do t..... More

Print this item

  best python specialization to career at home with?
Posted by: meems - Dec-21-2016, 02:04 AM - Forum: Bar - No Replies

hihi,

I've been learning python for about a month, and I'm starting to feel confident about self sufficient learning. i.e. I'm capable learning most ..... More

Print this item

  Loop a list of usernames from a xlsx file
Posted by: mcarthur2086 - Dec-20-2016, 11:32 PM - Forum: General Coding Help - Replies (1)

G'day All.

I'm working on a .py that will scrape tweets from twitter and write them to a csv file: Full disclosure, i got the majority of the scrip..... More

Print this item

  IPython
Posted by: wavic - Dec-20-2016, 08:46 PM - Forum: News and Discussions - Replies (3)

Where to start.... 
I have used IPython a lot. But mostly like the regular Python interpreter and the most valuable feature for me was the autocomplet..... More

Print this item

  New old news tiniest transistor ever and not in silicon
Posted by: Larz60+ - Dec-20-2016, 08:02 PM - Forum: News and Discussions - Replies (2)

New gallium arsenide transistor may change the microchip  industry
http://news.mit.edu/2012/tiny-compound-s...allenge-si..... More

Print this item

  Dictionary Help
Posted by: sajley - Dec-20-2016, 07:39 PM - Forum: General Coding Help - Replies (5)

hi guys  

mydict = {'transform':[4,52,6.3] , 'rotation':[77,89,12] , 'scale':[44,55,96]}
[python]

mydict['scale']
[..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Opencv findContours Q 10 minutes ago jogl jogl General Codin...
  Struggles I Faced While E... Today, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... Today, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Today, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
Most views
  The best Prog... 580408
  Tutorial Requ... 519490
  Web Scraping ... 442781
  Newbie with P... 386982
  New Users Int... 386496
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 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
MaxTranslate Today
pizofreude Today
RockHound_Z12 Today
braillescribe Yesterday
aurelio12282025 Yesterday

User Panel Messages

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